OSDN Git Service

android-x86/build.git
8 years ago"NRC69B"
The Android Automerger [Thu, 10 Mar 2016 00:12:44 +0000 (16:12 -0800)]
"NRC69B"

8 years ago"NRC69"
The Android Automerger [Wed, 9 Mar 2016 08:04:09 +0000 (00:04 -0800)]
"NRC69"

8 years agomerge in nyc-release history after reset to nyc-dev
The Android Automerger [Wed, 9 Mar 2016 08:00:34 +0000 (00:00 -0800)]
merge in nyc-release history after reset to nyc-dev

8 years agoresolve merge conflicts of 2ad8b97577 to nyc-dev
Tao Bao [Wed, 9 Mar 2016 05:39:13 +0000 (21:39 -0800)]
resolve merge conflicts of 2ad8b97577 to nyc-dev

Change-Id: Ifa7501e58dd25e73ed760b1383a1873e4d449885

8 years agoUse the update-binary in the source build for downgrade OTAs. am: fa41fb2705
Tao Bao [Wed, 9 Mar 2016 05:29:30 +0000 (05:29 +0000)]
Use the update-binary in the source build for downgrade OTAs. am: fa41fb2705
am: 7302eb7dd6

* commit '7302eb7dd6bd22c6123bd0b252889732e215592e':
  Use the update-binary in the source build for downgrade OTAs.

8 years agoUse the update-binary in the source build for downgrade OTAs.
Tao Bao [Wed, 9 Mar 2016 05:27:36 +0000 (05:27 +0000)]
Use the update-binary in the source build for downgrade OTAs.
am: fa41fb2705

* commit 'fa41fb27054185b3fba0519d01dabd21444fe772':
  Use the update-binary in the source build for downgrade OTAs.

8 years agoMerge "Install boot.art extra files individually" into nyc-dev
Colin Cross [Wed, 9 Mar 2016 04:45:39 +0000 (04:45 +0000)]
Merge "Install boot.art extra files individually" into nyc-dev

8 years agoreleasetools: Fix the bug in AssertSequenceGood.
Tao Bao [Fri, 4 Mar 2016 23:23:34 +0000 (15:23 -0800)]
releasetools: Fix the bug in AssertSequenceGood.

We use a bitset for blocks in the target image to assert a block hasn't
been touched before reading. Skip checking the blocks that are in the
source image only.

Bug: 27556903
Change-Id: I3a77292da673c813bd20d8dc177ff36419d8ecae
(cherry picked from commit dca2200c8aa09b08ba0d37410a7826b737caecf2)

8 years agoUse the update-binary in the source build for downgrade OTAs.
Tao Bao [Wed, 9 Mar 2016 01:53:39 +0000 (17:53 -0800)]
Use the update-binary in the source build for downgrade OTAs.

We used to use the update-binary from the target build when creating
incremental OTAs. But for downgrade OTAs, we should use the one in the
source build instead, which is actually newer.

Bug: 27556903
Change-Id: Ib6415729b979dbffdebdda24902f7f560942801a
(cherry picked from commit 4996cf03d2321eef56a8163c7fc73ba9976e1021)

8 years agoInstall boot.art extra files individually
Colin Cross [Tue, 8 Mar 2016 21:21:49 +0000 (13:21 -0800)]
Install boot.art extra files individually

The rule that builds boot.art also produces boot.oat, boot-*.art, and
boot-*.oat as a side effect, and the install rule for boot.art was
installing them using *.art and *.oat.  This meant that PDK builds had
no rule to install the extra files, so it used the ones from the
platform.zip file instead of the locally built ones.

Generate a list of the files that should be produced by the boot.art
build, and manually create install rules for them that depend on the
built boot.art and are depended on by the installed boot.art.

Bug: 27546601
Change-Id: I9734491c3179bca2d4b2ae13b0c6a03e4c26b0b2

8 years ago"NRC68B"
The Android Automerger [Tue, 8 Mar 2016 23:48:04 +0000 (15:48 -0800)]
"NRC68B"

8 years agoAdd new templates directory for "reference only" builds.
smain@google.com [Tue, 8 Mar 2016 02:43:21 +0000 (18:43 -0800)]
Add new templates directory for "reference only" builds.
The only difference is that this changes the masthead.cs file to show a different header.

Change-Id: Id58eb7e8c42a8ab0886f2f5da794fcd108f299ff
(cherry picked from commit 5fea5df99cc93dba5388e0f033c2af931ac2cb33)

8 years agobuild: pass version and patch level to mkbootimg
Sami Tolvanen [Fri, 4 Mar 2016 23:41:02 +0000 (15:41 -0800)]
build: pass version and patch level to mkbootimg

Add --os_version and --os_patch_level arguments to mkbootimg.

Needs matching changes from
  I57682611e0c27fec5ed284da7d9a788383ff98b1

Bug: 27498078
Bug: 22914603
Change-Id: I04e20b0de40d864aac92ac7bcf466a6cbde3d0e4
(cherry pick from commit 8fb47f191f804d21e252ef7bb66886ea087c2d56)

8 years ago"NRC68"
The Android Automerger [Tue, 8 Mar 2016 08:04:12 +0000 (00:04 -0800)]
"NRC68"

8 years agomerge in nyc-release history after reset to nyc-dev
The Android Automerger [Tue, 8 Mar 2016 08:00:47 +0000 (00:00 -0800)]
merge in nyc-release history after reset to nyc-dev

8 years agoresolve merge conflicts of 08a3a32fa9 to nyc-dev
Tao Bao [Tue, 8 Mar 2016 05:49:33 +0000 (21:49 -0800)]
resolve merge conflicts of 08a3a32fa9 to nyc-dev

Change-Id: I6fd55b3d2bd0c396018163dd4f54970cb55432cd

8 years agoresolve merge conflicts of 177c610e7f to cw-e-dev
Tao Bao [Tue, 8 Mar 2016 05:37:27 +0000 (05:37 +0000)]
resolve merge conflicts of 177c610e7f to cw-e-dev
am: bd25fcdc02

* commit 'bd25fcdc02a94ec9f50fc431a3731484b9812e23':
  DO NOT MERGE releasetools: Support generating downgrade incremental OTAs.

8 years agoresolve merge conflicts of 177c610e7f to cw-e-dev
Tao Bao [Tue, 8 Mar 2016 05:24:40 +0000 (21:24 -0800)]
resolve merge conflicts of 177c610e7f to cw-e-dev

Change-Id: Iba7820247d0b53d7f9553290eb0db3547f31beda

8 years agoDO NOT MERGE releasetools: Support generating downgrade incremental OTAs.
Tao Bao [Tue, 23 Feb 2016 19:38:39 +0000 (11:38 -0800)]
DO NOT MERGE releasetools: Support generating downgrade incremental OTAs.

Add --downgrade flag to ota_from_target_files.py script. It allows
generating an incremental OTA that updates from a newer build to an
older one (based on timestamp comparison). "post-timestamp" line in the
metadata file will be replaced by "ota-downgrade=yes". A data wipe will
always be enforced, so "ota-wipe=yes" will also be included in the
metadata file.

Bug: 26883782
Change-Id: Iaa05f662d948b7ab632a9fbb7051cc3f8bf68c21
(cherry picked from commit 5d1825664a0fec256fa28d62aadcac96f59a41b2)

8 years ago"NRC67F"
The Android Automerger [Tue, 8 Mar 2016 02:35:43 +0000 (18:35 -0800)]
"NRC67F"

8 years ago"NRC67E"
The Android Automerger [Tue, 8 Mar 2016 00:53:52 +0000 (16:53 -0800)]
"NRC67E"

8 years agoEnable LOCAL_POST_LINK_CMD for non-static executables.
Yabin Cui [Wed, 2 Mar 2016 22:03:41 +0000 (14:03 -0800)]
Enable LOCAL_POST_LINK_CMD for non-static executables.

It is needed to insert testdata section into simpleperf cts test.

Bug: 27387280
Change-Id: I58cea106d135f535626d8624a016bd2aaceeb8ea
(cherry picked from commit 273e9109c1cefb760d96b8707d75704d733cc38b)

8 years ago"NRC67D"
The Android Automerger [Mon, 7 Mar 2016 20:56:33 +0000 (12:56 -0800)]
"NRC67D"

8 years agoSupport build old version of cts
Julien Desprez [Sat, 5 Mar 2016 12:05:49 +0000 (12:05 +0000)]
Support build old version of cts

Bug: 27508747
Change-Id: I3d474f6f6534e172ecf1d0a6c833a9dfa6164344

8 years agoFix dumping variables of absolute paths.
Ying Wang [Mon, 7 Mar 2016 19:27:20 +0000 (11:27 -0800)]
Fix dumping variables of absolute paths.

Calling $(abspath) is better than checking and prepending $(PWD) if
necessary.

Bug: 27429759
Change-Id: Ia156f8a5d6b88b6090f4d23c7f9166bd62d3ab70
(cherry-pick from commit 80ceadc94526d6c48c0022bf25281bb522914a3d)

8 years ago"NRC67C"
The Android Automerger [Mon, 7 Mar 2016 17:39:15 +0000 (09:39 -0800)]
"NRC67C"

8 years agoSupport build old version of cts
Julien Desprez [Sat, 5 Mar 2016 12:05:49 +0000 (12:05 +0000)]
Support build old version of cts

Bug: 27508747
Change-Id: I3d474f6f6534e172ecf1d0a6c833a9dfa6164344

8 years ago"NRC67B"
The Android Automerger [Mon, 7 Mar 2016 14:58:54 +0000 (06:58 -0800)]
"NRC67B"

8 years ago"NRC67"
The Android Automerger [Mon, 7 Mar 2016 08:01:33 +0000 (00:01 -0800)]
"NRC67"

8 years agomerge in nyc-release history after reset to nyc-dev
The Android Automerger [Mon, 7 Mar 2016 08:00:13 +0000 (00:00 -0800)]
merge in nyc-release history after reset to nyc-dev

8 years ago"NRC66"
The Android Automerger [Sun, 6 Mar 2016 08:05:04 +0000 (00:05 -0800)]
"NRC66"

8 years agomerge in nyc-release history after reset to nyc-dev
The Android Automerger [Sun, 6 Mar 2016 08:00:36 +0000 (00:00 -0800)]
merge in nyc-release history after reset to nyc-dev

8 years agoMerge "emulator: Add a product packages overlay." into nyc-dev
Prathmesh Prabhu [Fri, 4 Mar 2016 23:49:07 +0000 (23:49 +0000)]
Merge "emulator: Add a product packages overlay." into nyc-dev

8 years agoSmall fixes.
Ying Wang [Fri, 4 Mar 2016 21:56:23 +0000 (13:56 -0800)]
Small fixes.

Change-Id: Ia949ed0bc93edb78d0b029f3bd3dd584e9a00dc8
(cherry-pick from commit f0cb397a9e204c86be7730f94ae5fba84d88f89a)

8 years agoSpeed up lunch/tapas/etc. shell utility functions.
Ying Wang [Fri, 4 Mar 2016 04:57:21 +0000 (20:57 -0800)]
Speed up lunch/tapas/etc. shell utility functions.

1. Combined ~10 calls to the make build system to only one.
   We added a phony target "dump-many-vars" to the build system to dump
   "<var>=<value>" pairs. We then store the pairs as shell variables.
   With this cache get_build_var/get_abs_build_var can just return
   the shell variables instead of querying the build system.
2. Prune .git when we search for AndroidProduct.mks.

In internal source tree lunch time was reduced from ~15s to ~1.5s.

Bug: 27429759

(cherry picked from commit 08800fd905e70faf01d9392d00ff3f49d99097b7)

Change-Id: I862a0ec3c1aae97c552054dacec133e857042edf

8 years agoemulator: Add a product packages overlay.
Prathmesh Prabhu [Fri, 4 Mar 2016 21:43:04 +0000 (13:43 -0800)]
emulator: Add a product packages overlay.

Emulator is a product, so add an overlay that allows us to override some
stock android resources.

BUG: 27484734
Change-Id: I1b651316a14f6d5c79651813ad13302b67507cae

8 years ago"NRC63D"
The Android Automerger [Fri, 4 Mar 2016 19:25:21 +0000 (11:25 -0800)]
"NRC63D"

8 years ago"NRC63C"
The Android Automerger [Fri, 4 Mar 2016 01:48:15 +0000 (17:48 -0800)]
"NRC63C"

8 years agoAlign up java-lib-files and java-lib-deps.
Ying Wang [Thu, 3 Mar 2016 01:25:01 +0000 (17:25 -0800)]
Align up java-lib-files and java-lib-deps.

- For host Java libraries, java-lib-files should return javalib.jar.
- Host dalvik Java libraries are special: factor out
  host-dex-java-lib-files.
- Be explict that jack-lib-deps equals jack-lib-files.

Bug: 27451686
Change-Id: I9235384354e119ef7ebbf29b7e525d1ceea242e0

8 years ago"NRC63B"
The Android Automerger [Thu, 3 Mar 2016 20:32:10 +0000 (12:32 -0800)]
"NRC63B"

8 years agoMerge "Add --auto-add-overlay if a module has LOCAL_STATIC_ANDROID_LIBRARIES" into...
Ying Wang [Thu, 3 Mar 2016 18:09:31 +0000 (18:09 +0000)]
Merge "Add --auto-add-overlay if a module has LOCAL_STATIC_ANDROID_LIBRARIES" into nyc-dev

8 years agoMerge "[DO NOT MERGE] Update BUILD_ID for nyc branches." into nyc-dev
Ying Wang [Thu, 3 Mar 2016 17:34:59 +0000 (17:34 +0000)]
Merge "[DO NOT MERGE] Update BUILD_ID for nyc branches." into nyc-dev

8 years agoMerge "Add JarJar support to BUILD_HOST_JAVA_LIBRARY" into nyc-dev
Neil Fuller [Thu, 3 Mar 2016 09:11:07 +0000 (09:11 +0000)]
Merge "Add JarJar support to BUILD_HOST_JAVA_LIBRARY" into nyc-dev

8 years agoMerge "Use Jack to check build" into nyc-dev
Yohann Roussel [Thu, 3 Mar 2016 08:47:41 +0000 (08:47 +0000)]
Merge "Use Jack to check build" into nyc-dev

8 years ago"NRC63"
The Android Automerger [Thu, 3 Mar 2016 08:03:59 +0000 (00:03 -0800)]
"NRC63"

8 years agomerge in nyc-release history after reset to nyc-dev
The Android Automerger [Thu, 3 Mar 2016 08:00:38 +0000 (00:00 -0800)]
merge in nyc-release history after reset to nyc-dev

8 years agoAdd --auto-add-overlay if a module has LOCAL_STATIC_ANDROID_LIBRARIES
Ying Wang [Thu, 3 Mar 2016 02:55:46 +0000 (18:55 -0800)]
Add --auto-add-overlay if a module has LOCAL_STATIC_ANDROID_LIBRARIES

Bug: 25958912
Change-Id: Iafba9eefde0823095775474bcb7cc5b6c21fd248

8 years ago[DO NOT MERGE] Update BUILD_ID for nyc branches.
Ying Wang [Thu, 3 Mar 2016 02:00:19 +0000 (18:00 -0800)]
[DO NOT MERGE] Update BUILD_ID for nyc branches.

Bug: 27327323
Change-Id: I60985c66a41cbece69f0a19c19bde7695b2ca48e

8 years agoMerge "Calls aapt2 when a static Java library has LOCAL_STATIC_ANDROID_LIBRARIES...
Ying Wang [Thu, 3 Mar 2016 00:55:24 +0000 (00:55 +0000)]
Merge "Calls aapt2 when a static Java library has LOCAL_STATIC_ANDROID_LIBRARIES" into nyc-dev

8 years ago"NRC62B"
The Android Automerger [Wed, 2 Mar 2016 21:01:35 +0000 (13:01 -0800)]
"NRC62B"

8 years agoAdd cts_v2 phony target for temporary build fix.
Stuart Scott [Wed, 2 Mar 2016 16:42:41 +0000 (08:42 -0800)]
Add cts_v2 phony target for temporary build fix.

Change-Id: I770dc800dbcdff2c31e370410b32e2ee079f308b

8 years agoMerge "Clean generated source dir if .proto/.rs is gonee." into nyc-dev
Ying Wang [Wed, 2 Mar 2016 18:19:25 +0000 (18:19 +0000)]
Merge "Clean generated source dir if .proto/.rs is gonee." into nyc-dev

8 years agoMerge "Support arch specific variants of LOCAL_STRIP_MODULE/LOCAL_PACK_MODULE_RELOCAT...
Ying Wang [Wed, 2 Mar 2016 18:03:30 +0000 (18:03 +0000)]
Merge "Support arch specific variants of LOCAL_STRIP_MODULE/LOCAL_PACK_MODULE_RELOCATIONS" into nyc-dev

8 years agoAdd cts_v2 phony target for temporary build fix.
Stuart Scott [Wed, 2 Mar 2016 16:42:41 +0000 (08:42 -0800)]
Add cts_v2 phony target for temporary build fix.

Change-Id: I770dc800dbcdff2c31e370410b32e2ee079f308b

8 years agoAdd JarJar support to BUILD_HOST_JAVA_LIBRARY
Neil Fuller [Wed, 2 Mar 2016 11:19:41 +0000 (11:19 +0000)]
Add JarJar support to BUILD_HOST_JAVA_LIBRARY

This will allow us to convert icu4j-icudata / icu4j-icutzdata
targets to "host" targets rather than "target" targets.
Right now they are forcing Jack off just so they can use
javac + jarjar (even though the resulting file is used on
host).

Bug: 27218410
Change-Id: I7062c698389d98b0dde5690280a9140c3b12cbf7

8 years ago"NRC62"
The Android Automerger [Wed, 2 Mar 2016 08:04:42 +0000 (00:04 -0800)]
"NRC62"

8 years agomerge in nyc-release history after reset to nyc-dev
The Android Automerger [Wed, 2 Mar 2016 08:00:38 +0000 (00:00 -0800)]
merge in nyc-release history after reset to nyc-dev

8 years agoClean generated source dir if .proto/.rs is gonee.
Ying Wang [Wed, 2 Mar 2016 06:05:25 +0000 (22:05 -0800)]
Clean generated source dir if .proto/.rs is gonee.

Similar to how we clean the generated source dir if .aidl becomes
obsolete.

Bug: 26688474
Change-Id: I66c5b6d6513259b5f4f4bac84f384f4bf953d82a

8 years agoSupport arch specific variants of LOCAL_STRIP_MODULE/LOCAL_PACK_MODULE_RELOCATIONS
Ying Wang [Wed, 2 Mar 2016 04:14:52 +0000 (20:14 -0800)]
Support arch specific variants of LOCAL_STRIP_MODULE/LOCAL_PACK_MODULE_RELOCATIONS

So that we can disable only one in multilib modules.

Bug: 27442756
Change-Id: I4ca379fac997f9165c47cb93d34bf1f483f5a241

8 years agoresolve merge conflicts of 9baa993c07 to nyc-dev
Tao Bao [Tue, 1 Mar 2016 23:08:51 +0000 (15:08 -0800)]
resolve merge conflicts of 9baa993c07 to nyc-dev

Change-Id: Ifcfb2da03662ef1b6677c0974605189e2a8e3d20

8 years agoreleasetools: Add --oem_no_mount option.
Tao Bao [Tue, 1 Mar 2016 22:56:23 +0000 (22:56 +0000)]
releasetools: Add --oem_no_mount option.
am: df4cb0b2c1

* commit 'df4cb0b2c1e6d1cf5973e9008bd6dc15bd590ac0':
  releasetools: Add --oem_no_mount option.

8 years ago"NRC61B"
The Android Automerger [Tue, 1 Mar 2016 22:34:26 +0000 (14:34 -0800)]
"NRC61B"

8 years agoMerge changes I769ed278,I99cb69ea,I57bcbed0,I6e51e51f,Iab2d36e2 into nyc-dev
Stephen Hines [Tue, 1 Mar 2016 21:36:15 +0000 (21:36 +0000)]
Merge changes I769ed278,I99cb69ea,I57bcbed0,I6e51e51f,Iab2d36e2 into nyc-dev

* changes:
  Remove debug statement
  Tell Soong about HOST_CROSS_*
  Update to use the latest clang-2629532.
  Use newest clang static analyzers.
  Add 64-bit windows cross-compiles

8 years agoCalls aapt2 when a static Java library has LOCAL_STATIC_ANDROID_LIBRARIES
Ying Wang [Tue, 1 Mar 2016 20:06:47 +0000 (12:06 -0800)]
Calls aapt2 when a static Java library has LOCAL_STATIC_ANDROID_LIBRARIES

We expect to build the module's own packare-res.apk from the
LOCAL_STATIC_ANDROID_LIBRARIES in this case.

Bug: 25958912
Change-Id: I4d0294c867f5fb636983d630493a3b188279cae9

8 years agoMerge "Add options for dynamic linker developer warnings" into nyc-dev
Dimitry Ivanov [Tue, 1 Mar 2016 17:50:00 +0000 (17:50 +0000)]
Merge "Add options for dynamic linker developer warnings" into nyc-dev

8 years agoMerge "AAPT2: Enable product/config filtering and improve source ordering" into nyc-dev
Adam Lesinski [Tue, 1 Mar 2016 17:49:04 +0000 (17:49 +0000)]
Merge "AAPT2: Enable product/config filtering and improve source ordering" into nyc-dev

8 years agoUse Jack to check build
Yohann Roussel [Tue, 18 Aug 2015 17:18:18 +0000 (19:18 +0200)]
Use Jack to check build

Run jack with no outputs as a quick check for compilation errors and use
a timestamp to store that check was made.

Bug: 19069325

(cherry picked from commit 43084d9f49a994a7eaebd3c94758d0ebf4c74b6e)

Change-Id: I9b84b503b28cfdfa245f91da0061ee3a79386b28

8 years ago"NRC61"
The Android Automerger [Tue, 1 Mar 2016 08:04:28 +0000 (00:04 -0800)]
"NRC61"

8 years agomerge in nyc-release history after reset to nyc-dev
The Android Automerger [Tue, 1 Mar 2016 08:00:39 +0000 (00:00 -0800)]
merge in nyc-release history after reset to nyc-dev

8 years agoSwitch to CTSv2
Stuart Scott [Fri, 19 Feb 2016 19:15:15 +0000 (11:15 -0800)]
Switch to CTSv2

bug:21762834
Change-Id: If91fd4de148241760ff29cbe227864e301a9fca7

8 years ago"NRC60B"
The Android Automerger [Mon, 29 Feb 2016 21:59:13 +0000 (13:59 -0800)]
"NRC60B"

8 years agoRemove debug statement
Dan Willemsen [Wed, 10 Feb 2016 22:39:27 +0000 (14:39 -0800)]
Remove debug statement

(cherry picked from commit dbf07922796a6df84221e482aefd05f82a95d9e7)

Change-Id: I769ed278012d3b77f6446c24787ea8d3fe29861a

8 years agoTell Soong about HOST_CROSS_*
Dan Willemsen [Tue, 9 Feb 2016 22:55:13 +0000 (14:55 -0800)]
Tell Soong about HOST_CROSS_*

This configures Soong to build windows binaries, which requires support
for 64-bit windows binaries in BUILD_PREBUILT for USE_SOONG=true.

module_arch_supported.mk did not support 64-bit being the secondary
architecture when evaluating multilib conditionals. All other uses of
HOST_*_IS_64_BIT already check the proper version.

(cherry picked from commit d6e3b841850d9a607eb9c841d9fa1836feedee5f)

Change-Id: I99cb69ea1756b8258f15d3630c75c9ffe277aaef

8 years agodelete recovery policy on changing build types
Nick Kralevich [Sat, 27 Feb 2016 18:41:41 +0000 (10:41 -0800)]
delete recovery policy on changing build types

When the build type changes (for example, from "shamu-userdebug"
to "shamu-user"), the build system doesn't delete all files
and start over. Rather, build artifacts from the old build type
are reused for the new build type.

This is problematic for the recovery SELinux policy, which differs
between build types. Reusing a userdebug policy on a user build
is inappropriate and could lead to security bugs.

Force the deletion of the recovery SELinux policy when changing
build types, so it can be properly regenerated. This is consistent
with how we treat the normal SELinux policy (see commit
a8b3d54101eccb9950651103c199edf0ce2520f7).

(cherry picked from commit 3cb10bbd3b376aecbbefffbe4d43105665bad345)

Change-Id: I1d8ad7e06112777c66abed4546dadb85d35e33e1

8 years ago"NRC60"
The Android Automerger [Mon, 29 Feb 2016 08:01:12 +0000 (00:01 -0800)]
"NRC60"

8 years agomerge in nyc-release history after reset to nyc-dev
The Android Automerger [Mon, 29 Feb 2016 08:00:12 +0000 (00:00 -0800)]
merge in nyc-release history after reset to nyc-dev

8 years ago"NRC59"
The Android Automerger [Sun, 28 Feb 2016 08:05:01 +0000 (00:05 -0800)]
"NRC59"

8 years agomerge in nyc-release history after reset to nyc-dev
The Android Automerger [Sun, 28 Feb 2016 08:01:09 +0000 (00:01 -0800)]
merge in nyc-release history after reset to nyc-dev

8 years ago"NRC56G"
The Android Automerger [Sun, 28 Feb 2016 00:33:45 +0000 (16:33 -0800)]
"NRC56G"

8 years agoAdd options for dynamic linker developer warnings
Dimitry Ivanov [Sat, 27 Feb 2016 00:24:26 +0000 (16:24 -0800)]
Add options for dynamic linker developer warnings

Add bionic options that enable developer warnings for
beta/preview builds.

Bug: http://b/27365747
Change-Id: Ifc2ab706975558824522da5eece186e1660969ad

8 years agoUpdate to use the latest clang-2629532.
Stephen Hines [Wed, 24 Feb 2016 05:58:06 +0000 (21:58 -0800)]
Update to use the latest clang-2629532.

Bug: http://b/25642296

(cherry picked from commit 352bccb65ec94a5cb48a31c5b3713b96b2edae9f)

Change-Id: I57bcbed0d7d51864ba7d7325334e9bbbba9f847b

8 years agoUse newest clang static analyzers.
Chih-Hung Hsieh [Tue, 2 Feb 2016 19:30:39 +0000 (11:30 -0800)]
Use newest clang static analyzers.

* When WITH_STATIC_ANALYZER is set and non-zero, and clang compiler is used,
  call new clang ccc-analyzer or c++-analyzer.
* Otherwise, if WITH_SYNTAX_CHECK is set and non-zero,
  call compiler with -fsyntax-only.
* Replace "--sysroot=path" with "--sysroot path", to work with ccc-analyzer.
* ccc-analyzer executes the original compilation command to generate
  object files before calling clang with --analyze to do static analysis.
* When clang is called with --analyze, macro __clang_analyzer__ is defined.

BUG: 13287788

(cherry picked from commit 765c1ea6d7272fae04d435b9bac79087a2f6aabf)

Change-Id: I6e51e51ff4ed3ce514f60d090494dcdf6e520b04

8 years agoAdd 64-bit windows cross-compiles
Dan Willemsen [Sat, 6 Feb 2016 00:20:19 +0000 (16:20 -0800)]
Add 64-bit windows cross-compiles

This is mostly the same as the existing 2ND_HOST / HOST_CROSS support.

The interesting thing I did here was make x86 the 'first' architecture,
and x86_64 the second. This way LOCAL_MULTILIB := first defaults to
32-bit windows modules.

  windows-x86/bin   <- defaults to 32-bit executables
  windows-x86/lib   <- 32-bit libraries, like before
  windows-x86/lib64 <- 64-bit libraries
  windows-x86/obj   <- 32-bit intermediates
  windows-x86/obj64 <- 64-bit intermediates

Then modules are registered with the names:

  host_cross_liblog    <- 32-bit, like before
  host_cross_liblog_64 <- 64-bit

Bug: 26957718

(cherry picked from commit 9ecbf832593980facba06c9031b8539b9cfdfd26)

Change-Id: Iab2d36e20d7002568c3534e7781e9ac8ab21a4a9

8 years agoAAPT2: Enable product/config filtering and improve source ordering
Adam Lesinski [Fri, 26 Feb 2016 19:13:43 +0000 (11:13 -0800)]
AAPT2: Enable product/config filtering and improve source ordering

- Restore old ordering of resource files to match AAPT behavior
- Change the order in which overlays are processed.

Change-Id: I9da88f6b4124e7f89a70eb485b4591d5c4c87d38

8 years agoreleasetools: Add --oem_no_mount option.
Tao Bao [Fri, 26 Feb 2016 03:49:55 +0000 (19:49 -0800)]
releasetools: Add --oem_no_mount option.

We may have devices with OEM-specific properties but without an OEM
partition (e.g. the properties might be set by init based on hardware
SKUs). For such devices, we supply --oem_no_mount to skip mounting the
OEM partition in the updater-script. The option is only meaningful when
-o (--oem_settings) is specified.

Bug: 27359929
Change-Id: Ic08396e478a82be4188e980e704b33b4f704a8d7
(cherry picked from commit 8608cde944d64dece63e8c770deb78c1d092c719)

8 years agoMerge "AAPT2: library resource compilation" into nyc-dev
Ying Wang [Fri, 26 Feb 2016 22:58:12 +0000 (22:58 +0000)]
Merge "AAPT2: library resource compilation" into nyc-dev

8 years ago"NRC56F"
The Android Automerger [Fri, 26 Feb 2016 21:14:31 +0000 (13:14 -0800)]
"NRC56F"

8 years ago[Emulator] Add comment about including AOSP messaging on AOSP images.
Prathmesh Prabhu [Fri, 26 Feb 2016 19:17:20 +0000 (11:17 -0800)]
[Emulator] Add comment about including AOSP messaging on AOSP images.

We've gone back and forth on this a few times.
Just state clearly why we're including the AOSP messaging APP here.

BUG:22097835
Change-Id: I26864ba033f0a211d038fa3526241c869d677217

8 years agoMerge "build file change for vts to use the existing cts-tradefed infrastructure...
Keun Soo Yim [Fri, 26 Feb 2016 19:24:09 +0000 (19:24 +0000)]
Merge "build file change for vts to use the existing cts-tradefed infrastructure" into nyc-dev

8 years agoAAPT2: library resource compilation
Ying Wang [Wed, 24 Feb 2016 22:11:55 +0000 (14:11 -0800)]
AAPT2: library resource compilation

- Switch to static library's package-res.apk as the link artifact.
- For prebuilt AAR file, build package-res.apk using aapt2's "--dir"
  option.
- New LOCAL variables:
  LOCAL_USE_AAPT2: a module can opt-in with "LOCAL_USE_AAPT2 := true".
  LOCAL_STATIC_ANDROID_LIBRARIES: static Java libraries with compiled
                   resources.
  LOCAL_SHARED_ANDROID_LIBRARIES: shared Java libraries with compiled
                   resources.

Bug: 25958912
Change-Id: I4be2d1e8137555986338c2583cb39b0c97391751

8 years ago"NRC56E"
The Android Automerger [Fri, 26 Feb 2016 03:27:33 +0000 (19:27 -0800)]
"NRC56E"

8 years agoRemove dhcpcd from the base target makefile.
Lorenzo Colitti [Thu, 25 Feb 2016 06:50:28 +0000 (15:50 +0900)]
Remove dhcpcd from the base target makefile.

Bug: 27192644
Change-Id: Iacac58e05c441dd267c7f09f91dbfcb94f54167c

8 years agoreleasetools: Support generating downgrade incremental OTAs.
Tao Bao [Tue, 23 Feb 2016 19:38:39 +0000 (11:38 -0800)]
releasetools: Support generating downgrade incremental OTAs.

Add --downgrade flag to ota_from_target_files.py script. It allows
generating an incremental OTA that updates from a newer build to an
older one (based on timestamp comparison). "post-timestamp" line in the
metadata file will be replaced by "ota-downgrade=yes". A data wipe will
always be enforced, so "ota-wipe=yes" will also be included in the
metadata file.

Bug: 26883782
Change-Id: Iaa05f662d948b7ab632a9fbb7051cc3f8bf68c21
(cherry picked from commit 5d1825664a0fec256fa28d62aadcac96f59a41b2)

8 years ago"NRC56D"
The Android Automerger [Thu, 25 Feb 2016 22:28:25 +0000 (14:28 -0800)]
"NRC56D"

8 years ago"NRC56C"
The Android Automerger [Thu, 25 Feb 2016 19:15:40 +0000 (11:15 -0800)]
"NRC56C"

8 years ago"NRC56B"
The Android Automerger [Thu, 25 Feb 2016 15:34:38 +0000 (07:34 -0800)]
"NRC56B"

8 years agomerge in nyc-release history after reset to nyc-dev
The Android Automerger [Thu, 25 Feb 2016 15:32:34 +0000 (07:32 -0800)]
merge in nyc-release history after reset to nyc-dev

8 years ago"NRC56"
The Android Automerger [Thu, 25 Feb 2016 08:03:51 +0000 (00:03 -0800)]
"NRC56"

8 years agomerge in nyc-release history after reset to nyc-dev
The Android Automerger [Thu, 25 Feb 2016 08:00:30 +0000 (00:00 -0800)]
merge in nyc-release history after reset to nyc-dev

8 years agobuild file change for vts to use the existing cts-tradefed infrastructure
Keun Soo Yim [Wed, 24 Feb 2016 23:41:01 +0000 (15:41 -0800)]
build file change for vts to use the existing cts-tradefed infrastructure

Mostly done by stuartscott@

Change-Id: I016405757f39df833d532bc01fd2237e5e961a8a