OSDN Git Service

android-x86/build.git
8 years agoSupport x86+arm multilib build.
Ying Wang [Thu, 17 Mar 2016 02:53:19 +0000 (19:53 -0700)]
Support x86+arm multilib build.

Support TARGET_2ND_ARCH as the binary translation arch.
See target/board/generic_x86_arm/BoardConfig.mk and
target/product/aosp_x86_arm.mk as example for the setup.

In BoardConfig, use the TARGET_2ND_ARCH/etc. variables to set up the
binary translation arch;
Set "TARGET_TRANSLATE_2ND_ARCH := true" to tell the build system it's
not a typical 64-bit multilib configuration.
In product makefile, use "PRODUCT_PACKAGES += libfoo_<2nd_arch>" to
install the TARGET_2ND_ARCH libraries. This also pulls in any dependency
libraries.
By default we don't install any TARGET_2ND_ARCH modules, unless it's
pulled in by PRODUCT_PACKAGES.

Bug: 27526885
Change-Id: I0578e9c80da0532d2fa886a8fcdb140bbc703009

8 years agoMerge "Handle symlinked OUT_DIRs (again)" am: fe09018
Dan Willemsen [Thu, 24 Mar 2016 21:14:24 +0000 (21:14 +0000)]
Merge "Handle symlinked OUT_DIRs (again)" am: fe09018
am: b101826

* commit 'b101826b15e53f5af2132c5dd5bd9e59a294edc9':
  Handle symlinked OUT_DIRs (again)

8 years agoMerge "Handle symlinked OUT_DIRs (again)"
Dan Willemsen [Thu, 24 Mar 2016 21:08:54 +0000 (21:08 +0000)]
Merge "Handle symlinked OUT_DIRs (again)"
am: fe09018

* commit 'fe09018b39920715607a19a0807863c95e0b8372':
  Handle symlinked OUT_DIRs (again)

8 years agoMerge "Handle symlinked OUT_DIRs (again)"
Dan Willemsen [Thu, 24 Mar 2016 20:38:08 +0000 (20:38 +0000)]
Merge "Handle symlinked OUT_DIRs (again)"

8 years agoMerge "Add phony target javac-check." am: 49b524c
Ying Wang [Thu, 24 Mar 2016 18:42:05 +0000 (18:42 +0000)]
Merge "Add phony target javac-check." am: 49b524c
am: f3920d0

* commit 'f3920d0aacd60ceeb3fa62331869272ecfa6bd1b':
  Add phony target javac-check.

8 years agoMerge "Add phony target javac-check."
Ying Wang [Thu, 24 Mar 2016 18:39:12 +0000 (18:39 +0000)]
Merge "Add phony target javac-check."
am: 49b524c

* commit '49b524cb4a6d74b3fee49a728714d74202ce76f0':
  Add phony target javac-check.

8 years agoMerge "Fix bug in APK entry alignment." into nyc-dev am: 6bc1d30
Alex Klyubin [Thu, 24 Mar 2016 18:36:46 +0000 (18:36 +0000)]
Merge "Fix bug in APK entry alignment." into nyc-dev am: 6bc1d30
am: 8a2dc05

* commit '8a2dc05921bf6f48a221415d351d3990f996994e':
  Fix bug in APK entry alignment.

8 years agoMerge "Fix bug in APK entry alignment." into nyc-dev
Alex Klyubin [Thu, 24 Mar 2016 18:33:55 +0000 (18:33 +0000)]
Merge "Fix bug in APK entry alignment." into nyc-dev
am: 6bc1d30

* commit '6bc1d30396539ba132c2ead41945f913cc5ffef6':
  Fix bug in APK entry alignment.

8 years agoMerge "Add phony target javac-check."
Ying Wang [Thu, 24 Mar 2016 18:30:56 +0000 (18:30 +0000)]
Merge "Add phony target javac-check."

8 years agoMerge "Fix bug in APK entry alignment." into nyc-dev
Alex Klyubin [Thu, 24 Mar 2016 18:26:53 +0000 (18:26 +0000)]
Merge "Fix bug in APK entry alignment." into nyc-dev

8 years agoAdd phony target javac-check.
Ying Wang [Thu, 24 Mar 2016 18:00:30 +0000 (11:00 -0700)]
Add phony target javac-check.

javac-check covers all classes.jars that are compiled with javac
instead of jack. This target is required by tools that still need java
class files as input.

Bug: 26705771
Change-Id: I6896b9a6026a2a0dae6145d1ef5a839756aa3458

8 years agoMerge "Adjust the size limit for splitting large files" into mnc-dr-dev am: 7d55185...
Tianjie Xu [Thu, 24 Mar 2016 17:29:32 +0000 (17:29 +0000)]
Merge "Adjust the size limit for splitting large files" into mnc-dr-dev am: 7d55185 am: 2c355a1 am: 8c6a2a6 am: c4b9d00
am: 080111f

* commit '080111f1584cb1c73c865f25ce6303e3708a4cac':
  Adjust the size limit for splitting large files

8 years agoMerge "Adjust the size limit for splitting large files" into mnc-dr-dev am: 7d55185...
Tianjie Xu [Thu, 24 Mar 2016 17:26:58 +0000 (17:26 +0000)]
Merge "Adjust the size limit for splitting large files" into mnc-dr-dev am: 7d55185 am: 2c355a1 am: 8c6a2a6
am: c4b9d00

* commit 'c4b9d009b74603c82ae11dacc7f9530834f61fdf':
  Adjust the size limit for splitting large files

8 years agoMerge "Adjust the size limit for splitting large files" into mnc-dr-dev am: 7d55185...
Tianjie Xu [Thu, 24 Mar 2016 17:24:33 +0000 (17:24 +0000)]
Merge "Adjust the size limit for splitting large files" into mnc-dr-dev am: 7d55185 am: 2c355a1
am: 8c6a2a6

* commit '8c6a2a601260b7433f792ebc2529e2d90e9cdae9':
  Adjust the size limit for splitting large files

8 years agoMerge "Adjust the size limit for splitting large files" into mnc-dr-dev am: 7d55185
Tianjie Xu [Thu, 24 Mar 2016 17:22:07 +0000 (17:22 +0000)]
Merge "Adjust the size limit for splitting large files" into mnc-dr-dev am: 7d55185
am: 2c355a1

* commit '2c355a15bed912df7c77e9738d03d84f5a200194':
  Adjust the size limit for splitting large files

8 years agoMerge "Adjust the size limit for splitting large files" into mnc-dr-dev
Tianjie Xu [Thu, 24 Mar 2016 17:19:42 +0000 (17:19 +0000)]
Merge "Adjust the size limit for splitting large files" into mnc-dr-dev
am: 7d55185

* commit '7d551850ddea337b2b35938012e0d13a38c6af65':
  Adjust the size limit for splitting large files

8 years agoMerge "Adjust the size limit for splitting large files" into mnc-dr-dev
Tao Bao [Thu, 24 Mar 2016 17:12:00 +0000 (17:12 +0000)]
Merge "Adjust the size limit for splitting large files" into mnc-dr-dev

8 years agoBuild: Provide default values for dexopt settings am: 0647bcb
Andreas Gampe [Thu, 24 Mar 2016 02:09:16 +0000 (02:09 +0000)]
Build: Provide default values for dexopt settings am: 0647bcb
am: c506741

* commit 'c5067415e4384f86ab4a49682620db497e82ed7f':
  Build: Provide default values for dexopt settings

8 years agoBuild: Provide default values for dexopt settings
Andreas Gampe [Thu, 24 Mar 2016 02:07:15 +0000 (02:07 +0000)]
Build: Provide default values for dexopt settings
am: 0647bcb

* commit '0647bcb8e5a768f162c144b185e896b8e50f4685':
  Build: Provide default values for dexopt settings

8 years agoMerge "Add support for multiple flavors of the NDK gtest." am: cdc8f21
Dan Albert [Thu, 24 Mar 2016 01:36:53 +0000 (01:36 +0000)]
Merge "Add support for multiple flavors of the NDK gtest." am: cdc8f21
am: 45d7f57

* commit '45d7f57e0906c36a0a203abf9c051babe8a7fe89':
  Add support for multiple flavors of the NDK gtest.

8 years agoMerge "Using stlport_static or c++_static requires libdl." am: 2d3d14b
Dan Albert [Thu, 24 Mar 2016 01:36:53 +0000 (01:36 +0000)]
Merge "Using stlport_static or c++_static requires libdl." am: 2d3d14b
am: 565f161

* commit '565f161363555daddd70c5826d11c52902940d3b':
  Using stlport_static or c++_static requires libdl.

8 years agoMerge "Add support for multiple flavors of the NDK gtest."
Dan Albert [Thu, 24 Mar 2016 01:34:37 +0000 (01:34 +0000)]
Merge "Add support for multiple flavors of the NDK gtest."
am: cdc8f21

* commit 'cdc8f211804405e981ac0475150254fe7b493f62':
  Add support for multiple flavors of the NDK gtest.

8 years agoMerge "Using stlport_static or c++_static requires libdl."
Dan Albert [Thu, 24 Mar 2016 01:34:37 +0000 (01:34 +0000)]
Merge "Using stlport_static or c++_static requires libdl."
am: 2d3d14b

* commit '2d3d14b69bfc4e0c85ebc3266b22bf57e94adf64':
  Using stlport_static or c++_static requires libdl.

8 years agoMerge "Add support for multiple flavors of the NDK gtest."
Dan Albert [Thu, 24 Mar 2016 01:26:09 +0000 (01:26 +0000)]
Merge "Add support for multiple flavors of the NDK gtest."

8 years agoMerge "Using stlport_static or c++_static requires libdl."
Dan Albert [Thu, 24 Mar 2016 01:26:09 +0000 (01:26 +0000)]
Merge "Using stlport_static or c++_static requires libdl."

8 years agoFix bug in APK entry alignment.
Alex Klyubin [Wed, 23 Mar 2016 20:05:27 +0000 (13:05 -0700)]
Fix bug in APK entry alignment.

APK entry alignment logic assumes that input entries have zero-length
comment and extra fields. When the assumption is broken, the logic
silently breaks alignment of output entries. This happens, for
example, when the APK to be signed is already aligned and thus may
contain entries with non-empty extra fields.

Given that APKs are not supposed to use comment and extra fields for
anything useful and given that this signer already discards comment
and extra fields of compressed entries, this change makes the signer
discard comment and extra fields of STORED input entries as well.
This unbreaks the existing alignment logic.

Bug: 27814973

(cherry picked from commit 37a0ecd32935685151f0cfb5a5466e6e360a0b8f)

Change-Id: If2e0df6d3298e9736ef175bb0d9a05d450164c9f

8 years agoMerge "Fix bug in APK entry alignment." am: 7f4eade
Alex Klyubin [Thu, 24 Mar 2016 01:07:15 +0000 (01:07 +0000)]
Merge "Fix bug in APK entry alignment." am: 7f4eade
am: 74a03e5

* commit '74a03e50080edaaf5e6e4f229c97f3a3698cb889':
  Fix bug in APK entry alignment.

8 years agoMerge "Fix bug in APK entry alignment."
Alex Klyubin [Thu, 24 Mar 2016 01:05:11 +0000 (01:05 +0000)]
Merge "Fix bug in APK entry alignment."
am: 7f4eade

* commit '7f4eadef7ed93c3cd2c68fcd4991142d075da2dd':
  Fix bug in APK entry alignment.

8 years agoMerge "Fix bug in APK entry alignment."
Alex Klyubin [Thu, 24 Mar 2016 00:59:01 +0000 (00:59 +0000)]
Merge "Fix bug in APK entry alignment."

8 years agoAdjust the size limit for splitting large files
Tianjie Xu [Thu, 14 Jan 2016 00:14:10 +0000 (16:14 -0800)]
Adjust the size limit for splitting large files

Modify the number of max blocks per transfer to reduce splitting of
large files during patch generation. This will reduce the size of
final incremental OTA updater package. In specific, the size limit
for each file to transfer is set to 1/8 cachesize instead of a fix
number.

Bug: 26472126

Change-Id: Iffb135e378c4c7a91640f2fc4c40e9e93d1fe4bb
(cherry picked from commit bb86e1d9c298940a11da0a3d47ed40f7b709194d)

8 years agoMerge "Remove ALL_PREBUILT, all users have been removed" am: cfb5545
Dan Willemsen [Wed, 23 Mar 2016 23:21:40 +0000 (23:21 +0000)]
Merge "Remove ALL_PREBUILT, all users have been removed" am: cfb5545
am: 1e061d7

* commit '1e061d789ad9761086c3923f5ff6e6bdb8cf5738':
  Remove ALL_PREBUILT, all users have been removed

8 years agoMerge "Remove ALL_PREBUILT, all users have been removed"
Dan Willemsen [Wed, 23 Mar 2016 23:19:27 +0000 (23:19 +0000)]
Merge "Remove ALL_PREBUILT, all users have been removed"
am: cfb5545

* commit 'cfb554566447b31cd045a5b67b960018418fe874':
  Remove ALL_PREBUILT, all users have been removed

8 years agoMerge "Remove ALL_PREBUILT, all users have been removed"
Dan Willemsen [Wed, 23 Mar 2016 23:12:46 +0000 (23:12 +0000)]
Merge "Remove ALL_PREBUILT, all users have been removed"

8 years agoMerge "Phony target covers all multilib variants." am: 165c707
Ying Wang [Wed, 23 Mar 2016 23:12:41 +0000 (23:12 +0000)]
Merge "Phony target  covers all multilib variants." am: 165c707
am: 9d13d6a

* commit '9d13d6a7e940391eb700d1498b5d85702d36ab75':
  Phony target $(LOCAL_MODULE) covers all multilib variants.

8 years agoMerge "Phony target covers all multilib variants."
Ying Wang [Wed, 23 Mar 2016 23:10:26 +0000 (23:10 +0000)]
Merge "Phony target  covers all multilib variants."
am: 165c707

* commit '165c70713ac9099833df7fd6e6ba5c5620a84a9e':
  Phony target $(LOCAL_MODULE) covers all multilib variants.

8 years agoMerge "Phony target $(LOCAL_MODULE) covers all multilib variants."
Ying Wang [Wed, 23 Mar 2016 23:04:54 +0000 (23:04 +0000)]
Merge "Phony target $(LOCAL_MODULE) covers all multilib variants."

8 years agoBuild: Provide default values for dexopt settings
Andreas Gampe [Wed, 23 Mar 2016 02:44:24 +0000 (19:44 -0700)]
Build: Provide default values for dexopt settings

Provide default values for system properties used by the package
manager.

Bug: 27689078
Change-Id: Iedab0c0b1da6c905658546df7992f77fd6b55da1

8 years agoRemove ALL_PREBUILT, all users have been removed
Dan Willemsen [Wed, 23 Mar 2016 21:14:35 +0000 (14:14 -0700)]
Remove ALL_PREBUILT, all users have been removed

Change-Id: I37154506ef419e7a68ce7e2d864624d2ae53206f

8 years agoAdd support for multiple flavors of the NDK gtest.
Dan Albert [Wed, 23 Mar 2016 00:19:03 +0000 (17:19 -0700)]
Add support for multiple flavors of the NDK gtest.

Since gtest depends on the STL, we need one version for each STL.

Bug: http://b/27801981
Change-Id: Id1a5571b043e2513d0184a9ab45a473dd545da84

8 years agoFix bug in APK entry alignment.
Alex Klyubin [Wed, 23 Mar 2016 20:05:27 +0000 (13:05 -0700)]
Fix bug in APK entry alignment.

APK entry alignment logic assumes that input entries have zero-length
comment and extra fields. When the assumption is broken, the logic
silently breaks alignment of output entries. This happens, for
example, when the APK to be signed is already aligned and thus may
contain entries with non-empty extra fields.

Given that APKs are not supposed to use comment and extra fields for
anything useful and given that this signer already discards comment
and extra fields of compressed entries, this change makes the signer
discard comment and extra fields of STORED input entries as well.
This unbreaks the existing alignment logic.

Bug: 27814973
Change-Id: I8242b037e21ba7bcf45d0fe2afc8bfc47f1ec314

8 years agoPhony target $(LOCAL_MODULE) covers all multilib variants.
Ying Wang [Wed, 23 Mar 2016 18:02:03 +0000 (11:02 -0700)]
Phony target $(LOCAL_MODULE) covers all multilib variants.

Bug: 27760875
Change-Id: Ie59e2c36964fa736b17fb4185563c08a8cb75b80

8 years agoMerge "Create empty .a on Darwin when there is no obj file." am: 37aa85e
Ying Wang [Wed, 23 Mar 2016 17:00:02 +0000 (17:00 +0000)]
Merge "Create empty .a on Darwin when there is no obj file." am: 37aa85e
am: 7dee362

* commit '7dee3625e0a993fd07a54004525614c43461935b':
  Create empty .a on Darwin when there is no obj file.

8 years agoMerge "Create empty .a on Darwin when there is no obj file."
Ying Wang [Wed, 23 Mar 2016 16:56:20 +0000 (16:56 +0000)]
Merge "Create empty .a on Darwin when there is no obj file."
am: 37aa85e

* commit '37aa85e8bb0d86cae946d85a27b6ded593c425b7':
  Create empty .a on Darwin when there is no obj file.

8 years agoMerge "Create empty .a on Darwin when there is no obj file."
Ying Wang [Wed, 23 Mar 2016 16:37:34 +0000 (16:37 +0000)]
Merge "Create empty .a on Darwin when there is no obj file."

8 years agoHandle symlinked OUT_DIRs (again)
Dan Willemsen [Tue, 22 Mar 2016 21:44:17 +0000 (14:44 -0700)]
Handle symlinked OUT_DIRs (again)

My previous attempt at properly handling symlinked OUT_DIRs only worked
if the symlink was to a different directory, not one in the same
directory.

This time, make sure that both make and soong use the same
representation of the output directory by passing BUILDDIR to
bootstrap.bash. Soong has been updated to pick whether to use a relative
or absolute path back to the source tree depending on what makes sense.
If the BUILDDIR or the path back to the source tree change, re-run the
bootstrap.

Also, move the $OUT_DIR/Android.mk and $OUT_DIR/CleanSpec.mk generation
to before Kati runs. In the case that $TOP/out was symlinked to
$TOP/out.angler:

 1) Soong generates out.angler/soong/Android.mk
 2) Kati's find generator produces in-memory tree of the filesystem
 3) $(shell ) creates out.angler/Android.mk
 4) The emulated findleaves Android.mk search finds
    out.angler/soong/Android.mk since the in-memory tree is never updated.

This doesn't happen in the normal case, because we pass --prune=$OUT_DIR
to findleaves.

Change-Id: Ib0fdae2e80f75ddcf33a3c8c5ea0978f5308b437

8 years agoCreate empty .a on Darwin when there is no obj file.
Ying Wang [Wed, 23 Mar 2016 01:23:13 +0000 (18:23 -0700)]
Create empty .a on Darwin when there is no obj file.

On Darwin ar would fail if there is no object file to add.
We work around by adding a dummy.o to the .a and then deleting it.

Bug: 27800477
Change-Id: I68bbebea2726058c25863d7026a645a520d05167

8 years agoUpdate Security String to 2016-05-01 in preparation for May 2016 Security OTA am...
Zach Jang [Wed, 23 Mar 2016 01:18:13 +0000 (01:18 +0000)]
Update Security String to 2016-05-01 in preparation for May 2016 Security OTA am: 175b780 am: 274e483 am: 08d9bea am: 6bbd684 am: f32d07d am: 0cf7987 am: ae7c301 am: 901590a
am: 6621151

* commit '66211517cbe9693216a5792825fc5eec38ccbb08':
  Update Security String to 2016-05-01 in preparation for May 2016 Security OTA

8 years agoUpdate Security String to 2016-05-01 in preparation for May 2016 Security OTA am...
Zach Jang [Wed, 23 Mar 2016 01:14:09 +0000 (01:14 +0000)]
Update Security String to 2016-05-01 in preparation for May 2016 Security OTA am: 175b780 am: 274e483 am: 08d9bea am: 6bbd684 am: f32d07d am: 0cf7987 am: ae7c301
am: 901590a

* commit '901590ae2aea651be1f5cc972674a3ba8d8ee430':
  Update Security String to 2016-05-01 in preparation for May 2016 Security OTA

8 years agoUpdate Security String to 2016-05-01 in preparation for May 2016 Security OTA am...
Zach Jang [Wed, 23 Mar 2016 01:10:42 +0000 (01:10 +0000)]
Update Security String to 2016-05-01 in preparation for May 2016 Security OTA am: 175b780 am: 274e483 am: 08d9bea am: 6bbd684 am: f32d07d am: 0cf7987
am: ae7c301

* commit 'ae7c3010265171b2c215c5a30049320ba50265a7':
  Update Security String to 2016-05-01 in preparation for May 2016 Security OTA

8 years agoUpdate Security String to 2016-05-01 in preparation for May 2016 Security OTA am...
Zach Jang [Wed, 23 Mar 2016 01:07:14 +0000 (01:07 +0000)]
Update Security String to 2016-05-01 in preparation for May 2016 Security OTA am: 175b780 am: 274e483 am: 08d9bea am: 6bbd684 am: f32d07d
am: 0cf7987

* commit '0cf7987b7e96d2178fbb028e36992ffb1b589b38':
  Update Security String to 2016-05-01 in preparation for May 2016 Security OTA

8 years agoMerge "Dump table of warning counts before all warnings." am: 6d41f7e
Chih-Hung Hsieh [Wed, 23 Mar 2016 01:04:22 +0000 (01:04 +0000)]
Merge "Dump table of warning counts before all warnings." am: 6d41f7e
am: af5606e

* commit 'af5606e50db25547732667ce13b1f494e9849101':
  Dump table of warning counts before all warnings.

8 years agoMerge "Add more patterns, dump sorted unique warnings." am: 52ab1bc
Chih-Hung Hsieh [Wed, 23 Mar 2016 01:04:22 +0000 (01:04 +0000)]
Merge "Add more patterns, dump sorted unique warnings." am: 52ab1bc
am: eb293f6

* commit 'eb293f654eb4e0cbfbf07d6179babdb1f26929dc':
  Add more patterns, dump sorted unique warnings.

8 years agoUpdate Security String to 2016-05-01 in preparation for May 2016 Security OTA am...
Zach Jang [Wed, 23 Mar 2016 01:03:47 +0000 (01:03 +0000)]
Update Security String to 2016-05-01 in preparation for May 2016 Security OTA am: 175b780 am: 274e483 am: 08d9bea am: 6bbd684
am: f32d07d

* commit 'f32d07dd9328401525e333a34464a1d1f363e524':
  Update Security String to 2016-05-01 in preparation for May 2016 Security OTA

8 years agoMerge "Dump table of warning counts before all warnings."
Chih-Hung Hsieh [Wed, 23 Mar 2016 01:00:51 +0000 (01:00 +0000)]
Merge "Dump table of warning counts before all warnings."
am: 6d41f7e

* commit '6d41f7e1233da88714edaf3f21f88ff8023558f4':
  Dump table of warning counts before all warnings.

8 years agoMerge "Add more patterns, dump sorted unique warnings."
Chih-Hung Hsieh [Wed, 23 Mar 2016 01:00:51 +0000 (01:00 +0000)]
Merge "Add more patterns, dump sorted unique warnings."
am: 52ab1bc

* commit '52ab1bc17989f933ff4a73df82eeb1654d36d26d':
  Add more patterns, dump sorted unique warnings.

8 years agoUpdate Security String to 2016-05-01 in preparation for May 2016 Security OTA am...
Zach Jang [Wed, 23 Mar 2016 01:00:15 +0000 (01:00 +0000)]
Update Security String to 2016-05-01 in preparation for May 2016 Security OTA am: 175b780 am: 274e483 am: 08d9bea
am: 6bbd684

* commit '6bbd684464a1307f074e6c173a9147d6e2a626f1':
  Update Security String to 2016-05-01 in preparation for May 2016 Security OTA

8 years agoUpdate Security String to 2016-05-01 in preparation for May 2016 Security OTA am...
Zach Jang [Wed, 23 Mar 2016 00:56:45 +0000 (00:56 +0000)]
Update Security String to 2016-05-01 in preparation for May 2016 Security OTA am: 175b780 am: 274e483
am: 08d9bea

* commit '08d9bea41096f7c055cf67860a07436da6712b01':
  Update Security String to 2016-05-01 in preparation for May 2016 Security OTA

8 years agoUpdate Security String to 2016-05-01 in preparation for May 2016 Security OTA am...
Zach Jang [Wed, 23 Mar 2016 00:53:20 +0000 (00:53 +0000)]
Update Security String to 2016-05-01 in preparation for May 2016 Security OTA am: 175b780
am: 274e483

* commit '274e48378f92c711d28876380f34e263159cb81b':
  Update Security String to 2016-05-01 in preparation for May 2016 Security OTA

8 years agoUpdate Security String to 2016-05-01 in preparation for May 2016 Security OTA
Zach Jang [Wed, 23 Mar 2016 00:49:48 +0000 (00:49 +0000)]
Update Security String to 2016-05-01 in preparation for May 2016 Security OTA
am: 175b780

* commit '175b7800f484edceee404abf21973859d5793c0d':
  Update Security String to 2016-05-01 in preparation for May 2016 Security OTA

8 years agoUsing stlport_static or c++_static requires libdl.
Dan Albert [Thu, 10 Mar 2016 23:17:09 +0000 (15:17 -0800)]
Using stlport_static or c++_static requires libdl.

Why? For one, libgcc's unwinder makes use of `dl_iterate_phdr`. Also,
libgabi++ (the home grown C++ RT we use for stlport) uses
`dlopen` for liblog when reporting fatal errors. The LLVM unwinder
which is used by libc++ also uses libdl.

Requiring a dependency on libdl seems less objectionable than
requiring one on liblog. We could always change libgabi++ to  use
syslog instead, but that will only reach logcat for newer devices
(possibly L+, definitely M+).

Requiring libdl seems like the best option here, especially given
that libgcc needs it anyway.

Change-Id: I4acfaf38145c39fc15a76fbb282a46786e5322f1

8 years agoremove the \'refonly\' templates. no longer needed, as the standard templates now...
smain@google.com [Tue, 22 Mar 2016 23:20:52 +0000 (23:20 +0000)]
remove the \'refonly\' templates. no longer needed, as the standard templates now have conditions to handle the reference only design. bug: 27667787 am: 6405ed9
am: 1a2e207

* commit '1a2e2076bf8e16f38e3a845dc69925d00bca3955':
  remove the 'refonly' templates. no longer needed, as the standard templates now have conditions to handle the reference only design. bug: 27667787

8 years agoadd the \'reference only\' header design as a condition to the normal templates....
smain@google.com [Tue, 22 Mar 2016 23:20:52 +0000 (23:20 +0000)]
add the \'reference only\' header design as a condition to the normal templates. also add override for implementation to the to-root link path. bug: 27667787 am: 9a12a2f
am: fc9c6f2

* commit 'fc9c6f2859ba1c520930c1478238e00c243762d3':
  add the 'reference only' header design as a condition to the normal templates. also add override for implementation to the to-root link path. bug: 27667787

8 years agoremove the \'refonly\' templates. no longer needed, as the standard templates now...
smain@google.com [Tue, 22 Mar 2016 23:17:30 +0000 (23:17 +0000)]
remove the \'refonly\' templates. no longer needed, as the standard templates now have conditions to handle the reference only design. bug: 27667787
am: 6405ed9

* commit '6405ed9d512dd07066e76d6db1cab4f73aa3c702':
  remove the 'refonly' templates. no longer needed, as the standard templates now have conditions to handle the reference only design. bug: 27667787

8 years agoadd the \'reference only\' header design as a condition to the normal templates....
smain@google.com [Tue, 22 Mar 2016 23:17:30 +0000 (23:17 +0000)]
add the \'reference only\' header design as a condition to the normal templates. also add override for implementation to the to-root link path. bug: 27667787
am: 9a12a2f

* commit '9a12a2f82fa74db6a32e7e99e33d1fc106a4db0c':
  add the 'reference only' header design as a condition to the normal templates. also add override for implementation to the to-root link path. bug: 27667787

8 years agoremove the 'refonly' templates.
smain@google.com [Tue, 22 Mar 2016 22:31:19 +0000 (15:31 -0700)]
remove the 'refonly' templates.
no longer needed, as the standard templates now have conditions to handle the reference only design.
bug: 27667787

Change-Id: I7c627ad4cace0bb1c77c494b3052eca3c9609a5c

8 years agoadd the 'reference only' header design as a condition to the normal templates.
smain@google.com [Tue, 22 Mar 2016 20:37:59 +0000 (13:37 -0700)]
add the 'reference only' header design as a condition to the normal templates.
also add override for implementation to the to-root link path.
bug: 27667787

Change-Id: I79892ddb7c5053d5325afcd50016c726b34e1361

8 years agoMerge "Dump table of warning counts before all warnings."
Chih-hung Hsieh [Tue, 22 Mar 2016 18:37:24 +0000 (18:37 +0000)]
Merge "Dump table of warning counts before all warnings."

8 years agoDump table of warning counts before all warnings.
Chih-Hung Hsieh [Mon, 21 Mar 2016 21:11:03 +0000 (14:11 -0700)]
Dump table of warning counts before all warnings.

* The table of warning counts has links to each warning pattern section,
  which has a new anchor.
* Each warning pattern section has a new link to the 'top' of the table
  of warning counts.
* Background color of unknown warnings is changed to more visible light blue.

BUG: 27698849
Change-Id: Ia3d4a8511bd42f44f6a47afcb9c3889f6d62b9f2

8 years agoMerge "Add more patterns, dump sorted unique warnings."
Chih-hung Hsieh [Tue, 22 Mar 2016 17:33:19 +0000 (17:33 +0000)]
Merge "Add more patterns, dump sorted unique warnings."

8 years agoAdd more patterns, dump sorted unique warnings.
Chih-Hung Hsieh [Mon, 21 Mar 2016 18:28:30 +0000 (11:28 -0700)]
Add more patterns, dump sorted unique warnings.

* Sort and remove duplicated warning messages.
* Recognize more warning message patterns from new clang compiler.

BUG: http://b/27698849

Change-Id: Iebbe8600353269d8c2d49ef9d97a72be1d978a24

8 years agoMerge "Remove references to deleted dhcpcd" into nyc-dev am: 8111146
Pierre Imai [Tue, 22 Mar 2016 03:00:40 +0000 (03:00 +0000)]
Merge "Remove references to deleted dhcpcd" into nyc-dev am: 8111146
am: 77ad015

* commit '77ad015d5261870ffc66c957aa4afd73e7ee5106':
  Remove references to deleted dhcpcd

8 years agoMerge "Remove references to deleted dhcpcd" into nyc-dev
Pierre Imai [Tue, 22 Mar 2016 02:57:54 +0000 (02:57 +0000)]
Merge "Remove references to deleted dhcpcd" into nyc-dev
am: 8111146

* commit '8111146ea3ef05fece0305df9c4247c40acbd93b':
  Remove references to deleted dhcpcd

8 years agoMerge "Remove references to deleted dhcpcd" into nyc-dev
Pierre Imai [Tue, 22 Mar 2016 02:49:32 +0000 (02:49 +0000)]
Merge "Remove references to deleted dhcpcd" into nyc-dev

8 years agoUpdate Security String to 2016-04-02 in preparation for April 2016 Security OTA v2...
Zach Jang [Tue, 22 Mar 2016 01:58:08 +0000 (01:58 +0000)]
Update Security String to 2016-04-02 in preparation for April 2016 Security OTA v2 - kernel updates with patches for CVE-2015-1805 am: 2b71be5 am: df28b90 am: b90d094 am: fa24625 am: d7bf980 am: 87582a8 am: 880e914 am: 6faa48a
am: a6b5a1d

* commit 'a6b5a1da025fa4c366dd66336bec0c80fef645a7':
  Update Security String to 2016-04-02 in preparation for April 2016 Security OTA v2 - kernel updates with patches for CVE-2015-1805

8 years agoUpdate Security String to 2016-04-02 in preparation for April 2016 Security OTA v2...
Zach Jang [Tue, 22 Mar 2016 01:55:31 +0000 (01:55 +0000)]
Update Security String to 2016-04-02 in preparation for April 2016 Security OTA v2 - kernel updates with patches for CVE-2015-1805 am: 2b71be5 am: df28b90 am: b90d094 am: fa24625 am: d7bf980 am: 87582a8 am: 880e914
am: 6faa48a

* commit '6faa48a0b525d32d78f1f43a1dfd9e4c02104e42':
  Update Security String to 2016-04-02 in preparation for April 2016 Security OTA v2 - kernel updates with patches for CVE-2015-1805

8 years agoUpdate Security String to 2016-04-02 in preparation for April 2016 Security OTA v2...
Zach Jang [Tue, 22 Mar 2016 01:03:01 +0000 (01:03 +0000)]
Update Security String to 2016-04-02 in preparation for April 2016 Security OTA v2 - kernel updates with patches for CVE-2015-1805 am: 2b71be5 am: df28b90 am: b90d094 am: fa24625 am: d7bf980 am: 87582a8
am: 880e914

* commit '880e914ec6b8ce053ad5b766a2907afaf0c79673':
  Update Security String to 2016-04-02 in preparation for April 2016 Security OTA v2 - kernel updates with patches for CVE-2015-1805

8 years agoUpdate Security String to 2016-04-02 in preparation for April 2016 Security OTA v2...
Zach Jang [Tue, 22 Mar 2016 00:59:40 +0000 (00:59 +0000)]
Update Security String to 2016-04-02 in preparation for April 2016 Security OTA v2 - kernel updates with patches for CVE-2015-1805 am: 2b71be5 am: df28b90 am: b90d094 am: fa24625 am: d7bf980
am: 87582a8

* commit '87582a8758970cc1178c9c63a7e5f8d97b02aa5d':
  Update Security String to 2016-04-02 in preparation for April 2016 Security OTA v2 - kernel updates with patches for CVE-2015-1805

8 years agoUpdate Security String to 2016-04-02 in preparation for April 2016 Security OTA v2...
Zach Jang [Tue, 22 Mar 2016 00:56:58 +0000 (00:56 +0000)]
Update Security String to 2016-04-02 in preparation for April 2016 Security OTA v2 - kernel updates with patches for CVE-2015-1805 am: 2b71be5 am: df28b90 am: b90d094 am: fa24625
am: d7bf980

* commit 'd7bf9800f4f5fdc83b2ffb163207025459b26b36':
  Update Security String to 2016-04-02 in preparation for April 2016 Security OTA v2 - kernel updates with patches for CVE-2015-1805

8 years agoUpdate Security String to 2016-04-02 in preparation for April 2016 Security OTA v2...
Zach Jang [Tue, 22 Mar 2016 00:54:07 +0000 (00:54 +0000)]
Update Security String to 2016-04-02 in preparation for April 2016 Security OTA v2 - kernel updates with patches for CVE-2015-1805 am: 2b71be5 am: df28b90 am: b90d094
am: fa24625

* commit 'fa2462551694090da0d0c941d805165c2e2f6dc2':
  Update Security String to 2016-04-02 in preparation for April 2016 Security OTA v2 - kernel updates with patches for CVE-2015-1805

8 years agoUpdate Security String to 2016-04-02 in preparation for April 2016 Security OTA v2...
Zach Jang [Tue, 22 Mar 2016 00:51:24 +0000 (00:51 +0000)]
Update Security String to 2016-04-02 in preparation for April 2016 Security OTA v2 - kernel updates with patches for CVE-2015-1805 am: 2b71be5 am: df28b90
am: b90d094

* commit 'b90d09439a5901f78e9eae332f163cdc1ff98f49':
  Update Security String to 2016-04-02 in preparation for April 2016 Security OTA v2 - kernel updates with patches for CVE-2015-1805

8 years agoUpdate Security String to 2016-04-02 in preparation for April 2016 Security OTA v2...
Zach Jang [Tue, 22 Mar 2016 00:48:45 +0000 (00:48 +0000)]
Update Security String to 2016-04-02 in preparation for April 2016 Security OTA v2 - kernel updates with patches for CVE-2015-1805 am: 2b71be5
am: df28b90

* commit 'df28b90a7c45a02c4ba9896ad89f745a48fac7df':
  Update Security String to 2016-04-02 in preparation for April 2016 Security OTA v2 - kernel updates with patches for CVE-2015-1805

8 years agoUpdate Security String to 2016-04-02 in preparation for April 2016 Security OTA v2...
Zach Jang [Tue, 22 Mar 2016 00:45:26 +0000 (00:45 +0000)]
Update Security String to 2016-04-02 in preparation for April 2016 Security OTA v2 - kernel updates with patches for CVE-2015-1805
am: 2b71be5

* commit '2b71be536b6de0d16d0ae3224d1b00c41bec467e':
  Update Security String to 2016-04-02 in preparation for April 2016 Security OTA v2 - kernel updates with patches for CVE-2015-1805

8 years agoUpdate Security String to 2016-05-01 in preparation for May 2016 Security OTA
Zach Jang [Tue, 22 Mar 2016 00:42:55 +0000 (17:42 -0700)]
Update Security String to 2016-05-01 in preparation for May 2016 Security OTA

b/27724973

Change-Id: I572123586730e45b304f352c8b0fd6371ff5788b

8 years agoMerge "Remove support for device libstdc++ as stl" am: 5b5929a
Colin Cross [Mon, 21 Mar 2016 23:00:51 +0000 (23:00 +0000)]
Merge "Remove support for device libstdc++ as stl" am: 5b5929a
am: b808ea5

* commit 'b808ea5827302f84de61124d288c6c2c3f3dc463':
  Remove support for device libstdc++ as stl

8 years agoMerge "Remove support for device libstdc++ as stl"
Colin Cross [Mon, 21 Mar 2016 22:55:37 +0000 (22:55 +0000)]
Merge "Remove support for device libstdc++ as stl"
am: 5b5929a

* commit '5b5929aa42fcc5f9f44a5f9111b163e1275ef95e':
  Remove support for device libstdc++ as stl

8 years agoMerge "Remove support for device libstdc++ as stl"
Colin Cross [Mon, 21 Mar 2016 22:38:00 +0000 (22:38 +0000)]
Merge "Remove support for device libstdc++ as stl"

8 years agoMerge "Always run Soong" am: a800b9a
Dan Willemsen [Mon, 21 Mar 2016 21:23:37 +0000 (21:23 +0000)]
Merge "Always run Soong" am: a800b9a
am: 313bba6

* commit '313bba657689c79658e7b0b617edfee89c16538b':
  Always run Soong

8 years agoMerge "Always run Soong"
Dan Willemsen [Mon, 21 Mar 2016 21:21:02 +0000 (21:21 +0000)]
Merge "Always run Soong"
am: a800b9a

* commit 'a800b9a83a9f855a53723880f2d71fa107ea1028':
  Always run Soong

8 years agoMerge "Always run Soong"
Dan Willemsen [Mon, 21 Mar 2016 21:09:40 +0000 (21:09 +0000)]
Merge "Always run Soong"

8 years agoSwitch to clang-2690385 am: 83bebe3
Pirama Arumuga Nainar [Mon, 21 Mar 2016 19:42:41 +0000 (19:42 +0000)]
Switch to clang-2690385 am: 83bebe3
am: 9a35f64

* commit '9a35f645c8671e35cac174b2e1920f11e43bf8a9':
  Switch to clang-2690385

8 years agoUpdate RenderScript build rules for rebase to LLVM r256229 am: 27b18f5
Pirama Arumuga Nainar [Mon, 21 Mar 2016 19:42:41 +0000 (19:42 +0000)]
Update RenderScript build rules for rebase to LLVM r256229 am: 27b18f5
am: 81c8f9b

* commit '81c8f9bf0c95a44a7b7d039b9db5b8109200d7fb':
  Update RenderScript build rules for rebase to LLVM r256229

8 years agoSwitch to clang-2690385
Pirama Arumuga Nainar [Mon, 21 Mar 2016 19:40:05 +0000 (19:40 +0000)]
Switch to clang-2690385
am: 83bebe3

* commit '83bebe3fc5352e204967ed64b5f5ddb9e70162fd':
  Switch to clang-2690385

8 years agoUpdate RenderScript build rules for rebase to LLVM r256229
Pirama Arumuga Nainar [Mon, 21 Mar 2016 19:40:05 +0000 (19:40 +0000)]
Update RenderScript build rules for rebase to LLVM r256229
am: 27b18f5

* commit '27b18f5c950d3c4d16f26bd693df29912b76b8fb':
  Update RenderScript build rules for rebase to LLVM r256229

8 years agoMerge "Add support for Brillo Verified Boot." am: 003bec4
David Zeuthen [Mon, 21 Mar 2016 15:57:47 +0000 (15:57 +0000)]
Merge "Add support for Brillo Verified Boot." am: 003bec4
am: 1b61e03

* commit '1b61e038e6cbf8e4a1595a61d71302b5c011d210':
  Add support for Brillo Verified Boot.

8 years agoMerge "Add support for Brillo Verified Boot."
David Zeuthen [Mon, 21 Mar 2016 15:55:23 +0000 (15:55 +0000)]
Merge "Add support for Brillo Verified Boot."
am: 003bec4

* commit '003bec431cc133134bbb29040f6c01d3f608e6ee':
  Add support for Brillo Verified Boot.

8 years agoMerge "Add support for Brillo Verified Boot."
David Zeuthen [Mon, 21 Mar 2016 15:46:29 +0000 (15:46 +0000)]
Merge "Add support for Brillo Verified Boot."

8 years agoSwitch to clang-2690385
Pirama Arumuga Nainar [Thu, 17 Mar 2016 18:06:51 +0000 (11:06 -0700)]
Switch to clang-2690385

http://b/26987366

(cherry picked from commit 760aec5fdfa60354373ed805a93616c34ded91ff)

Change-Id: Ib26fa27c214b67024ad43a1e0b1db277d7c7f929

8 years agoUpdate RenderScript build rules for rebase to LLVM r256229
Pirama Arumuga Nainar [Thu, 17 Mar 2016 18:04:37 +0000 (11:04 -0700)]
Update RenderScript build rules for rebase to LLVM r256229

http://b/26987366

- Use clang-2690385 to build RenderScript toolchain.
- Use armv7-linux-androideabi as the triple used to build RenderScript
  runtime libraries.

(cherry picked from commit 41f4b242e38c6f95fff133cfb6f07691f56f672b)

Change-Id: I50751f410a2f7c83532cec9b96c50d9afe1224c1

8 years agoMerge changes from topic \'rebase_r256229\' am: 6721b1d
Pirama Arumuga Nainar [Fri, 18 Mar 2016 22:08:57 +0000 (22:08 +0000)]
Merge changes from topic \'rebase_r256229\' am: 6721b1d
am: 9d00500

* commit '9d005005cfc0edcd8aeb50e6bbfc33709ac736bb':
  Switch to clang-2690385
  Update RenderScript build rules for rebase to LLVM r256229

8 years agoMerge changes from topic \'rebase_r256229\'
Pirama Arumuga Nainar [Fri, 18 Mar 2016 22:05:42 +0000 (22:05 +0000)]
Merge changes from topic \'rebase_r256229\'
am: 6721b1d

* commit '6721b1d185f57aa12169fe19bd1dc6830a7edeac':
  Switch to clang-2690385
  Update RenderScript build rules for rebase to LLVM r256229