OSDN Git Service
The Android Automerger [Sun, 13 Mar 2016 08:05:54 +0000 (00:05 -0800)]
"NRC73"
The Android Automerger [Sun, 13 Mar 2016 08:00:43 +0000 (00:00 -0800)]
merge in nyc-release history after reset to nyc-dev
Ian Pedowitz [Sat, 12 Mar 2016 06:13:36 +0000 (22:13 -0800)]
PLATFORM_PREVIEW_SDK_VERSION = 2 for DP2
Bug:
27150977
Change-Id: I8b86b5565dbdf81dffb4bc9ba0eef8a3c3f91d20
The Android Automerger [Sat, 12 Mar 2016 02:30:40 +0000 (18:30 -0800)]
"NRC70E"
The Android Automerger [Sat, 12 Mar 2016 01:30:50 +0000 (17:30 -0800)]
"NRC70D"
Stephen Hines [Fri, 4 Mar 2016 22:40:56 +0000 (14:40 -0800)]
Switch to clang-
2658975.
Bug: http://b/
27482631
This fixes an issue where krait compiles were not passing the proper
flags to the assembler when -no-integrated-as is used. This was
preventing ART from switching to clang in some cases.
(cherry picked from commit
c503d8ef5826bd1c79dc223ceba614532527a8c9)
Change-Id: I4a0efb78f37fee73bf61841f0347328b8f61c192
Andreas Gampe [Fri, 11 Mar 2016 16:20:50 +0000 (16:20 +0000)]
Merge changes I4a2692f3,Ifd8d3a2c into nyc-dev
* changes:
Build: Only preopt boot images in eng builds
Revert "Don't preopt on eng builds."
The Android Automerger [Fri, 11 Mar 2016 00:24:11 +0000 (16:24 -0800)]
"NRC70C"
Andreas Gampe [Thu, 10 Mar 2016 23:34:46 +0000 (15:34 -0800)]
Build: Only preopt boot images in eng builds
As a middle way between full preopt/high performance/long builds,
and no preopt/low performance/fast turnaround, preopt only the
boot image in eng builds.
Bug:
26794212
Change-Id: I4a2692f3ce84823cd40c6b7d672fd73257739ef8
Scott Main [Thu, 10 Mar 2016 23:12:43 +0000 (23:12 +0000)]
Merge "change printed version in offline docs to check whether in preview or not, and change the title accordingly, using new preview codename or version number." into nyc-dev
smain@google.com [Wed, 9 Mar 2016 19:57:39 +0000 (11:57 -0800)]
make image resource URLs relative so they work in offline docs
Change-Id: I4329689d8a3db3ce67f1aa7084a3a4634721e3cb
(cherry picked from commit
7d959be058a2c7fd6e18636dcdf5efd4a0555cb9)
Andreas Gampe [Thu, 10 Mar 2016 23:07:27 +0000 (15:07 -0800)]
Revert "Don't preopt on eng builds."
This reverts commit
7effde0048bcce6084e00bf29ff3bea4f34d1599.
Bug:
25801231
Bug:
26794212
smain@google.com [Thu, 10 Mar 2016 22:16:25 +0000 (14:16 -0800)]
change printed version in offline docs to check whether in preview or not,
and change the title accordingly, using new preview codename or version number.
Change-Id: I2833dcd05447add10495fea2149b5a9678831235
Ying Wang [Thu, 10 Mar 2016 20:57:33 +0000 (12:57 -0800)]
Add dependency on boot_singer and vboot_singer if necessary.
Change-Id: Ic10c2ae6a0debf51100a30eb11217e77060a6066
The Android Automerger [Thu, 10 Mar 2016 19:57:31 +0000 (11:57 -0800)]
"NRC70B"
smain@google.com [Wed, 9 Mar 2016 23:36:12 +0000 (15:36 -0800)]
change name of offline doc tab to "API reference"
and put the version number in the secondary nav bar (it was there anyway).
Change-Id: I4b49581eca6afa445a434cd6ae31572d01f276ef
(cherry picked from commit
06bdd78284057b399da728c1cfa1e2238ba84c37)
Neil Fuller [Thu, 10 Mar 2016 09:45:55 +0000 (09:45 +0000)]
Merge "Make the language version selection smarter" into nyc-dev
The Android Automerger [Thu, 10 Mar 2016 08:03:45 +0000 (00:03 -0800)]
"NRC70"
The Android Automerger [Thu, 10 Mar 2016 08:00:38 +0000 (00:00 -0800)]
merge in nyc-release history after reset to nyc-dev
The Android Automerger [Thu, 10 Mar 2016 00:12:44 +0000 (16:12 -0800)]
"NRC69B"
Joe Onorato [Wed, 9 Mar 2016 22:48:46 +0000 (14:48 -0800)]
Turn off excess printing during the build which makes errors harder to find.
Change-Id: I588de5ddc0aa7dcaacc4ea185c13c2fa3748888a
Mohamad Ayyash [Wed, 9 Mar 2016 20:56:18 +0000 (20:56 +0000)]
Merge "Hook incremental ext4 image generation into build" into nyc-dev
Elliott Hughes [Wed, 9 Mar 2016 15:56:50 +0000 (15:56 +0000)]
Merge "Move BUILD_NATIVE_BENCHMARK over to libgoogle-benchmark." into nyc-dev
The Android Automerger [Wed, 9 Mar 2016 08:04:09 +0000 (00:04 -0800)]
"NRC69"
The Android Automerger [Wed, 9 Mar 2016 08:00:34 +0000 (00:00 -0800)]
merge in nyc-release history after reset 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
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.
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.
Colin Cross [Wed, 9 Mar 2016 04:45:39 +0000 (04:45 +0000)]
Merge "Install boot.art extra files individually" into nyc-dev
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)
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)
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
The Android Automerger [Tue, 8 Mar 2016 23:48:04 +0000 (15:48 -0800)]
"NRC68B"
Elliott Hughes [Fri, 4 Mar 2016 21:37:43 +0000 (13:37 -0800)]
Move BUILD_NATIVE_BENCHMARK over to libgoogle-benchmark.
Bug: http://b/
24803663
(cherry picked from commit
577f8407e915fd278d089968bdafdad171f8c3d1)
Change-Id: If1af37c419abe284677253c33de45dcb5ef6ea8d
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)
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)
Neil Fuller [Fri, 4 Mar 2016 18:00:00 +0000 (18:00 +0000)]
Make the language version selection smarter
Any artifacts that are targeting SDK versions < 24
and not explicitly setting the LOCAL_JAVA_LANGUAGE_VERSION
are now defaulted to 1.7.
Bug:
27495650
Bug:
26753820
Bug:
27377071
Change-Id: Ia903cd5bf14c1947c485384d095a93c0aa23d272
The Android Automerger [Tue, 8 Mar 2016 08:04:12 +0000 (00:04 -0800)]
"NRC68"
The Android Automerger [Tue, 8 Mar 2016 08:00:47 +0000 (00:00 -0800)]
merge in nyc-release history after reset 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
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.
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
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)
The Android Automerger [Tue, 8 Mar 2016 02:35:43 +0000 (18:35 -0800)]
"NRC67F"
The Android Automerger [Tue, 8 Mar 2016 00:53:52 +0000 (16:53 -0800)]
"NRC67E"
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)
The Android Automerger [Mon, 7 Mar 2016 20:56:33 +0000 (12:56 -0800)]
"NRC67D"
Julien Desprez [Sat, 5 Mar 2016 12:05:49 +0000 (12:05 +0000)]
Support build old version of cts
Bug:
27508747
Change-Id: I3d474f6f6534e172ecf1d0a6c833a9dfa6164344
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)
The Android Automerger [Mon, 7 Mar 2016 17:39:15 +0000 (09:39 -0800)]
"NRC67C"
Julien Desprez [Sat, 5 Mar 2016 12:05:49 +0000 (12:05 +0000)]
Support build old version of cts
Bug:
27508747
Change-Id: I3d474f6f6534e172ecf1d0a6c833a9dfa6164344
The Android Automerger [Mon, 7 Mar 2016 14:58:54 +0000 (06:58 -0800)]
"NRC67B"
The Android Automerger [Mon, 7 Mar 2016 08:01:33 +0000 (00:01 -0800)]
"NRC67"
The Android Automerger [Mon, 7 Mar 2016 08:00:13 +0000 (00:00 -0800)]
merge in nyc-release history after reset to nyc-dev
The Android Automerger [Sun, 6 Mar 2016 08:05:04 +0000 (00:05 -0800)]
"NRC66"
The Android Automerger [Sun, 6 Mar 2016 08:00:36 +0000 (00:00 -0800)]
merge in nyc-release history after reset to 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
Ying Wang [Fri, 4 Mar 2016 21:56:23 +0000 (13:56 -0800)]
Small fixes.
Change-Id: Ia949ed0bc93edb78d0b029f3bd3dd584e9a00dc8
(cherry-pick from commit
f0cb397a9e204c86be7730f94ae5fba84d88f89a)
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
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
The Android Automerger [Fri, 4 Mar 2016 19:25:21 +0000 (11:25 -0800)]
"NRC63D"
The Android Automerger [Fri, 4 Mar 2016 01:48:15 +0000 (17:48 -0800)]
"NRC63C"
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
The Android Automerger [Thu, 3 Mar 2016 20:32:10 +0000 (12:32 -0800)]
"NRC63B"
Mohamad Ayyash [Thu, 3 Mar 2016 05:07:23 +0000 (21:07 -0800)]
Hook incremental ext4 image generation into build
Allows passing the *.base_fs or *.map files for system and vendor in
INTERNAL_SYSTEM_BASE_FS_PATH and INTERNAL_VENDOR_BASE_FS_PATH variables
respectively.
Internal Design Doc: go/incremental-ext4
BUG:
26839493
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
Change-Id: Ie57ef6dbfa6084268b6535fe0a673a3b4aaa6e2f
Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
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
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
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
Yohann Roussel [Thu, 3 Mar 2016 08:47:41 +0000 (08:47 +0000)]
Merge "Use Jack to check build" into nyc-dev
The Android Automerger [Thu, 3 Mar 2016 08:03:59 +0000 (00:03 -0800)]
"NRC63"
The Android Automerger [Thu, 3 Mar 2016 08:00:38 +0000 (00:00 -0800)]
merge in nyc-release history after reset to nyc-dev
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
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
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
The Android Automerger [Wed, 2 Mar 2016 21:01:35 +0000 (13:01 -0800)]
"NRC62B"
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
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
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
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
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
The Android Automerger [Wed, 2 Mar 2016 08:04:42 +0000 (00:04 -0800)]
"NRC62"
The Android Automerger [Wed, 2 Mar 2016 08:00:38 +0000 (00:00 -0800)]
merge in nyc-release history after reset to nyc-dev
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
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
Tao Bao [Tue, 1 Mar 2016 23:08:51 +0000 (15:08 -0800)]
resolve merge conflicts of
9baa993c07 to nyc-dev
Change-Id: Ifcfb2da03662ef1b6677c0974605189e2a8e3d20
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.
The Android Automerger [Tue, 1 Mar 2016 22:34:26 +0000 (14:34 -0800)]
"NRC61B"
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
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
Dimitry Ivanov [Tue, 1 Mar 2016 17:50:00 +0000 (17:50 +0000)]
Merge "Add options for dynamic linker developer warnings" 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
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
The Android Automerger [Tue, 1 Mar 2016 08:04:28 +0000 (00:04 -0800)]
"NRC61"
The Android Automerger [Tue, 1 Mar 2016 08:00:39 +0000 (00:00 -0800)]
merge in nyc-release history after reset to nyc-dev
Stuart Scott [Fri, 19 Feb 2016 19:15:15 +0000 (11:15 -0800)]
Switch to CTSv2
bug:
21762834
Change-Id: If91fd4de148241760ff29cbe227864e301a9fca7
The Android Automerger [Mon, 29 Feb 2016 21:59:13 +0000 (13:59 -0800)]
"NRC60B"
Dan Willemsen [Wed, 10 Feb 2016 22:39:27 +0000 (14:39 -0800)]
Remove debug statement
(cherry picked from commit
dbf07922796a6df84221e482aefd05f82a95d9e7)
Change-Id: I769ed278012d3b77f6446c24787ea8d3fe29861a
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
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
The Android Automerger [Mon, 29 Feb 2016 08:01:12 +0000 (00:01 -0800)]
"NRC60"