OSDN Git Service
Griff Hazen [Sun, 8 Nov 2015 01:03:33 +0000 (01:03 +0000)]
Merge "Let qemu_props service set system properties in ro.emu and ro.emulator" am:
0b4529239f
am:
2e4314481e
* commit '
2e4314481e222662329fcae20e982399da35e44f':
Let qemu_props service set system properties in ro.emu and ro.emulator
Griff Hazen [Sun, 8 Nov 2015 01:00:57 +0000 (01:00 +0000)]
Merge "Let qemu_props service set system properties in ro.emu and ro.emulator"
am:
0b4529239f
* commit '
0b4529239f42a828b7549dc00f1dcec8bbe196b2':
Let qemu_props service set system properties in ro.emu and ro.emulator
Griff Hazen [Sun, 8 Nov 2015 00:59:09 +0000 (00:59 +0000)]
Merge "Let qemu_props service set system properties in ro.emu and ro.emulator"
Griff Hazen [Sun, 8 Nov 2015 00:44:44 +0000 (16:44 -0800)]
Let qemu_props service set system properties in ro.emu and ro.emulator
These boot properties are used by android wear emulator to configure
round and chin shaped devices.
Bug:
23324757
Change-Id: I812da02d771bba0ffc63b14459c7de7cbdeed142
Ying Wang [Fri, 6 Nov 2015 19:32:48 +0000 (19:32 +0000)]
Merge "Tag "tests" alone doesn\'t prevent including emma.jar" am:
a23a97e3bf
am:
7c09c937b6
* commit '
7c09c937b6e5e747d31e5ba308e6b3939cfdd83e':
Tag "tests" alone doesn't prevent including emma.jar
Ying Wang [Fri, 6 Nov 2015 19:31:00 +0000 (19:31 +0000)]
Merge "Tag "tests" alone doesn\'t prevent including emma.jar"
am:
a23a97e3bf
* commit '
a23a97e3bf77bdd7fa01cd1f681d758a943db63a':
Tag "tests" alone doesn't prevent including emma.jar
Ying Wang [Fri, 6 Nov 2015 19:27:52 +0000 (19:27 +0000)]
Merge "Tag "tests" alone doesn't prevent including emma.jar"
Ying Wang [Fri, 6 Nov 2015 19:22:28 +0000 (11:22 -0800)]
Tag "tests" alone doesn't prevent including emma.jar
Only if an app has LOCAL_INSTRUMENTATION_FOR, it can get the emma
classes from the target app and we don't need to instrument the test app
itself.
Change-Id: If0fba50ddae757254fc58ca104d729d61603fd78
Steve Fung [Fri, 6 Nov 2015 03:25:42 +0000 (03:25 +0000)]
Merge "Add the build type to META folder in target files.zip" am:
53a6fd6498
am:
dc43cddbf6
* commit '
dc43cddbf613daeda98c02836d6ff82592fc53f7':
Add the build type to META folder in target files.zip
Steve Fung [Fri, 6 Nov 2015 03:23:31 +0000 (03:23 +0000)]
Merge "Add the build type to META folder in target files.zip"
am:
53a6fd6498
* commit '
53a6fd649817e5d9909d9aaca0369c19840f8613':
Add the build type to META folder in target files.zip
Steve Fung [Fri, 6 Nov 2015 03:18:35 +0000 (03:18 +0000)]
Merge "Add the build type to META folder in target files.zip"
Steve Fung [Thu, 5 Nov 2015 10:04:04 +0000 (02:04 -0800)]
Add the build type to META folder in target files.zip
For AB builds, add the build type to META/build_type.txt so the
server can easily determine user, userdebug, and eng builds
from each other.
Bug:
25420005
Change-Id: I6e4de2ba36a6fd1208c65a434d4725bb93d2cee6
Dan Willemsen [Thu, 5 Nov 2015 20:35:26 +0000 (20:35 +0000)]
Merge "Use explicitly sized types in zipalign/ziptime" am:
1b2685137e
am:
163196aa48
* commit '
163196aa481eb8d279822ff93027526ca2c189c1':
Use explicitly sized types in zipalign/ziptime
Dan Willemsen [Thu, 5 Nov 2015 20:32:46 +0000 (20:32 +0000)]
Merge "Use explicitly sized types in zipalign/ziptime"
am:
1b2685137e
* commit '
1b2685137ee9cde6ea24ff37b54c5d8e1ee18b01':
Use explicitly sized types in zipalign/ziptime
Dan Willemsen [Thu, 5 Nov 2015 20:28:20 +0000 (20:28 +0000)]
Merge "Use explicitly sized types in zipalign/ziptime"
Than McIntosh [Thu, 5 Nov 2015 11:55:11 +0000 (11:55 +0000)]
Merge "Enable gold linker for aarch64." am:
838ad09b17
am:
fbf9234233
* commit '
fbf92342335ce2df25c0c61d58c22f62cffa5de1':
Enable gold linker for aarch64.
Than McIntosh [Thu, 5 Nov 2015 11:52:25 +0000 (11:52 +0000)]
Merge "Enable gold linker for aarch64."
am:
838ad09b17
* commit '
838ad09b17c6525122e6e8881674030e6746a8c4':
Enable gold linker for aarch64.
Than McIntosh [Thu, 5 Nov 2015 11:49:56 +0000 (11:49 +0000)]
Merge "Enable gold linker for aarch64."
Shinichiro Hamaji [Thu, 5 Nov 2015 04:09:59 +0000 (04:09 +0000)]
Merge "Allow missing SONAME in .toc files" am:
457345e58c
am:
7070e5dc59
* commit '
7070e5dc596376803802dd91aa9b446ee0571e5a':
Allow missing SONAME in .toc files
Shinichiro Hamaji [Thu, 5 Nov 2015 04:07:21 +0000 (04:07 +0000)]
Merge "Allow missing SONAME in .toc files"
am:
457345e58c
* commit '
457345e58c9f273a467847e2086318d6d8380d5b':
Allow missing SONAME in .toc files
Shinichiro Hamaji [Thu, 5 Nov 2015 04:02:37 +0000 (04:02 +0000)]
Merge "Allow missing SONAME in .toc files"
Shinichiro Hamaji [Thu, 5 Nov 2015 03:51:08 +0000 (12:51 +0900)]
Allow missing SONAME in .toc files
At least one shared object in internal repo doesn't have
SONAME entry in its dynamic segment because it is created by
objcopy instead of a linker.
Change-Id: If7106da022ff1e4e925191402f9072795dc3ddcb
Shinichiro Hamaji [Thu, 5 Nov 2015 01:30:34 +0000 (01:30 +0000)]
Merge "Use .KATI_RESTAT to reduce unnecessary rebuilds of binaries" am:
2f8ffa61be
am:
7557ad2bbd
* commit '
7557ad2bbdcf365f96a5df810cbfcc43f1766dfd':
Use .KATI_RESTAT to reduce unnecessary rebuilds of binaries
Shinichiro Hamaji [Thu, 5 Nov 2015 01:27:06 +0000 (01:27 +0000)]
Merge "Use .KATI_RESTAT to reduce unnecessary rebuilds of binaries"
am:
2f8ffa61be
* commit '
2f8ffa61bee03593a89913806e863f73a8e646b7':
Use .KATI_RESTAT to reduce unnecessary rebuilds of binaries
Shinichiro Hamaji [Thu, 5 Nov 2015 00:46:04 +0000 (00:46 +0000)]
Merge "Use .KATI_RESTAT to reduce unnecessary rebuilds of binaries"
Than McIntosh [Thu, 5 Nov 2015 00:21:00 +0000 (19:21 -0500)]
Enable gold linker for aarch64.
[Second attempt, this time with updated mac prebuilt]
Switches default linker from -fuse-ld-bfd to
-fuse-ld=gold, and enables -Wl,--icf=safe. This
changes reduces /system/lib64/*.so text size
by about 2% for N9.
Change-Id: I587075aae9d70cb6b16e55dc9cd1052580ac2626
Dan Willemsen [Wed, 4 Nov 2015 22:08:20 +0000 (14:08 -0800)]
Use explicitly sized types in zipalign/ziptime
getLongLE would return a 64-bit number with the upper 32-bits set when
decoding a 32-bit number with the top bit set. Per the zip file format,
it was only expected to return a 32-bit number. Use explicitly sized
types so that we use the proper sizes and don't do any implicit
extensions.
Change-Id: I5a4304dc99ce5f8f17284d4ca3094ae115207a1e
Jeffrey Vander Stoep [Wed, 4 Nov 2015 19:02:11 +0000 (19:02 +0000)]
Merge "selinux: Grant all processes the domain_deprecated attribute" am:
b18da85cb6
am:
6e32d6b0a0
* commit '
6e32d6b0a01c0deb25196566a7f8c36c2db331e8':
selinux: Grant all processes the domain_deprecated attribute
Jeffrey Vander Stoep [Wed, 4 Nov 2015 18:57:14 +0000 (18:57 +0000)]
Merge "selinux: Grant all processes the domain_deprecated attribute"
am:
b18da85cb6
* commit '
b18da85cb6b19f156e476cf4fb5d97f4e90ce84a':
selinux: Grant all processes the domain_deprecated attribute
Jeffrey Vander Stoep [Wed, 4 Nov 2015 18:47:32 +0000 (18:47 +0000)]
Merge "selinux: Grant all processes the domain_deprecated attribute"
Ying Wang [Wed, 4 Nov 2015 18:25:01 +0000 (18:25 +0000)]
Merge "Don\'t run ziptime on host zip files." am:
7f50cf7f50
am:
3a5c02e295
* commit '
3a5c02e295972163ef3686dfbd981c4541b803d6':
Don't run ziptime on host zip files.
Ying Wang [Wed, 4 Nov 2015 18:19:54 +0000 (18:19 +0000)]
Merge "Don\'t run ziptime on host zip files."
am:
7f50cf7f50
* commit '
7f50cf7f501a7289cbe8c03eb20ed0f54edf5a99':
Don't run ziptime on host zip files.
Ying Wang [Wed, 4 Nov 2015 18:13:03 +0000 (18:13 +0000)]
Merge "Don't run ziptime on host zip files."
Ying Wang [Wed, 4 Nov 2015 18:06:25 +0000 (10:06 -0800)]
Don't run ziptime on host zip files.
ziptime fails on zip file larger than 2GB.
These zip files won't installed on device and we don't care that much
about their reprodudcibility across builds.
Change-Id: I47062928d075a59eda92dd5333e59502f490d1cb
Jeff Vander Stoep [Wed, 4 Nov 2015 16:49:07 +0000 (08:49 -0800)]
selinux: Grant all processes the domain_deprecated attribute
Bug:
25433265
Change-Id: Iafad5abd6e75c5a46f844ef3e744adf1c904b362
Shinichiro Hamaji [Fri, 9 Oct 2015 05:36:04 +0000 (14:36 +0900)]
Use .KATI_RESTAT to reduce unnecessary rebuilds of binaries
When a shared object is rebuilt, all dependent libraries and
executables are rebuilt. Such rebuild is unnecessary when there
is no interface change. With this patch, .toc files will be
generated for all .so files. The rule which generates .toc files
has ninja's restat=1 and .toc files are not changed ninja won't
rebuild dependent targets.
Performance:
$ m && touch bionic/libc/stdio/stdio.c && time m
Before: 1m03s (2563 targets)
After: 21s (90 targets)
Bug:
24597504
Change-Id: Ia5dd950273d143f4e99eee8bef7478f1a94cd138
Ying Wang [Wed, 4 Nov 2015 01:19:18 +0000 (01:19 +0000)]
Merge "Sort out ANDROID_GOALS, KATI_GOALS and NINJA_GOALS." am:
5dd68067a6
am:
32078cd8b2
* commit '
32078cd8b23732b7eb80a9b5dd74daa471e3ae5d':
Sort out ANDROID_GOALS, KATI_GOALS and NINJA_GOALS.
Ying Wang [Wed, 4 Nov 2015 01:15:47 +0000 (01:15 +0000)]
Merge "Sort out ANDROID_GOALS, KATI_GOALS and NINJA_GOALS."
am:
5dd68067a6
* commit '
5dd68067a6a5e48b29882ca065606ab85b20d3d7':
Sort out ANDROID_GOALS, KATI_GOALS and NINJA_GOALS.
Ying Wang [Wed, 4 Nov 2015 01:11:14 +0000 (01:11 +0000)]
Merge "Sort out ANDROID_GOALS, KATI_GOALS and NINJA_GOALS."
Ying Wang [Wed, 28 Oct 2015 19:34:03 +0000 (12:34 -0700)]
Sort out ANDROID_GOALS, KATI_GOALS and NINJA_GOALS.
ANDROID_GOALS: any Android goals that need to be built.
KATI_GOALS: goals that we need to pass to Kati.
NINJA_GOALS: goals we need to pass to Ninja.
For modifier Android goals (dist, INTERNAL_MODIFIER_TARGETS),
we don't need to pass them to Ninja. See also commit
80e46c7c5cb7b1d80114876d301798a8624b4200.
Restore the dist rule removed by the above commit.
Previously "droid" was never passed to Ninja. That's incorrect.
"make droid docs" should build both docs and droiod.
Fixed with this change.
Change-Id: I5c28061fe0ebe7848872ee349056d029b787ff71
Dan Willemsen [Wed, 4 Nov 2015 00:43:37 +0000 (00:43 +0000)]
Merge "Don\'t use ziptime with unbundled builds" am:
29a6675983
am:
3665246dcb
* commit '
3665246dcb537d9f7a0196be967b54cf28a224f3':
Don't use ziptime with unbundled builds
Dan Willemsen [Wed, 4 Nov 2015 00:33:44 +0000 (00:33 +0000)]
Merge "Don\'t use ziptime with unbundled builds"
am:
29a6675983
* commit '
29a667598340624f38b0a08c3e9984afc375b12d':
Don't use ziptime with unbundled builds
Dan Willemsen [Wed, 4 Nov 2015 00:24:59 +0000 (00:24 +0000)]
Merge "Don't use ziptime with unbundled builds"
Dan Willemsen [Wed, 4 Nov 2015 00:09:49 +0000 (16:09 -0800)]
Don't use ziptime with unbundled builds
Some of the trees are unable to compile native code with the normal
build rules, even though they can build kati.
Bug:
24201956
Change-Id: I2afc3468480b2c78407d62323e6b82979c8ee254
Clay Murphy [Wed, 4 Nov 2015 00:01:42 +0000 (00:01 +0000)]
Merge "Docs: Add Security tab to top" am:
e47d8b99a2
am:
97b8e290b5
* commit '
97b8e290b513cc3a2f9b41ccb85b80a9c4ae58d9':
Docs: Add Security tab to top
Clay Murphy [Tue, 3 Nov 2015 23:56:54 +0000 (23:56 +0000)]
Merge "Docs: Add Security tab to top"
am:
e47d8b99a2
* commit '
e47d8b99a2274b7689371685a819b5d1bf6e1cb1':
Docs: Add Security tab to top
Clay Murphy [Tue, 3 Nov 2015 23:45:56 +0000 (23:45 +0000)]
Merge "Docs: Add Security tab to top"
Bill Yi [Tue, 3 Nov 2015 23:31:35 +0000 (23:31 +0000)]
Bill Yi [Tue, 3 Nov 2015 22:28:58 +0000 (14:28 -0800)]
Dan Willemsen [Tue, 3 Nov 2015 21:47:30 +0000 (21:47 +0000)]
Merge "Remove changing uids/timestamps from zip/jar files"
am:
a0975edc16
* commit '
a0975edc164f4ff248882e660d95802eabd72fd4':
Remove changing uids/timestamps from zip/jar files
Dan Willemsen [Tue, 3 Nov 2015 21:38:45 +0000 (21:38 +0000)]
Merge "Remove changing uids/timestamps from zip/jar files"
Ying Wang [Tue, 3 Nov 2015 00:45:14 +0000 (00:45 +0000)]
Merge "Don\'t check the host JDK tools when build/core/config.mk is called from envsetup.sh." am:
a63d379aab
am:
fb89fd36b2
* commit '
fb89fd36b21c557fa4873ad4c707f6dd07752ed0':
Don't check the host JDK tools when build/core/config.mk is called from envsetup.sh.
Ying Wang [Tue, 3 Nov 2015 00:40:38 +0000 (00:40 +0000)]
Merge "Don\'t check the host JDK tools when build/core/config.mk is called from envsetup.sh."
am:
a63d379aab
* commit '
a63d379aab75fe3991320319f63faddd3b84b287':
Don't check the host JDK tools when build/core/config.mk is called from envsetup.sh.
Ying Wang [Tue, 3 Nov 2015 00:17:43 +0000 (00:17 +0000)]
Merge "Don't check the host JDK tools when build/core/config.mk is called from envsetup.sh."
Ying Wang [Mon, 2 Nov 2015 23:56:58 +0000 (15:56 -0800)]
Don't check the host JDK tools when build/core/config.mk is called from envsetup.sh.
Envsetup.sh (lunch) relies on config.mk to get build varaible values; while
config.mk may rely on envsetup.sh to set up JAVA_HOME/PATH.
Without this change config.mk may be checking the host JDK tools before
JAVA_HOME/PATH get set up.
Change-Id: I1e6b5e33147258832ce2f0a425f9526ef4782c43
Dan Willemsen [Thu, 29 Oct 2015 23:33:05 +0000 (16:33 -0700)]
Remove changing uids/timestamps from zip/jar files
Pass -X to zip so that Unix UID/GID and extra timestamps aren't
saved into the zip files.
Add a new tool, ziptime, that uses a very stripped down copy of
zipalign. It no longer depends on libandroidfw, and now rewrites the
timestamps in place instead of making a copy of the zipfile. This should
improve speed and reduce disk requirements, especially with the large
packaging zip files.
Bug:
24201956
Change-Id: I50f68669f659da1b4393e964ad40b6aafb00c1e7
Gaurav Shah [Mon, 2 Nov 2015 22:30:17 +0000 (22:30 +0000)]
Merge "envsetup,product,ninja: enable symlink traversal" am:
f589c7b442
am:
af80a461d6
* commit '
af80a461d6ae7d71a2e2976d96bb261cdb0eaed7':
envsetup,product,ninja: enable symlink traversal
Gaurav Shah [Mon, 2 Nov 2015 22:30:10 +0000 (22:30 +0000)]
Merge "Support build targets with no installable apps/packages" am:
aed6805380
am:
00b8cd9a15
* commit '
00b8cd9a15c81d2660e834a0290c00e6e22d2614':
Support build targets with no installable apps/packages
Gaurav Shah [Mon, 2 Nov 2015 22:30:03 +0000 (22:30 +0000)]
Merge "build: Add extra build customization for /product" am:
a80f1e3257
am:
64ea350dd8
* commit '
64ea350dd8c2d2b1dc73f753c0bad8e98e12c511':
build: Add extra build customization for /product
Gaurav Shah [Mon, 2 Nov 2015 22:29:57 +0000 (22:29 +0000)]
Merge "build: Add support for defining products in /product" am:
acb8a7c1f8
am:
881ec090c4
* commit '
881ec090c4790bdd588048f17038d167d7b52d87':
build: Add support for defining products in /product
Gaurav Shah [Mon, 2 Nov 2015 22:27:27 +0000 (22:27 +0000)]
Merge "envsetup,product,ninja: enable symlink traversal"
am:
f589c7b442
* commit '
f589c7b442feb02843bdf82305b599b686fc5204':
envsetup,product,ninja: enable symlink traversal
Gaurav Shah [Mon, 2 Nov 2015 22:27:20 +0000 (22:27 +0000)]
Merge "Support build targets with no installable apps/packages"
am:
aed6805380
* commit '
aed6805380810f51bb0d8b93fc5eac005a6de364':
Support build targets with no installable apps/packages
Gaurav Shah [Mon, 2 Nov 2015 22:27:14 +0000 (22:27 +0000)]
Merge "build: Add extra build customization for /product"
am:
a80f1e3257
* commit '
a80f1e32575db5d66f4b4e6efdf79dd10dd2295e':
build: Add extra build customization for /product
Gaurav Shah [Mon, 2 Nov 2015 22:27:08 +0000 (22:27 +0000)]
Merge "build: Add support for defining products in /product"
am:
acb8a7c1f8
* commit '
acb8a7c1f8cacaf136edba1a25d64467d352a432':
build: Add support for defining products in /product
Gaurav Shah [Mon, 2 Nov 2015 22:22:50 +0000 (22:22 +0000)]
Merge "envsetup,product,ninja: enable symlink traversal"
Gaurav Shah [Mon, 2 Nov 2015 22:22:40 +0000 (22:22 +0000)]
Merge "Support build targets with no installable apps/packages"
Gaurav Shah [Mon, 2 Nov 2015 22:22:32 +0000 (22:22 +0000)]
Merge "build: Add extra build customization for /product"
Gaurav Shah [Mon, 2 Nov 2015 22:22:22 +0000 (22:22 +0000)]
Merge "build: Add support for defining products in /product"
Will Drewry [Wed, 7 Oct 2015 02:40:11 +0000 (19:40 -0700)]
envsetup,product,ninja: enable symlink traversal
When searching device, product, or hardware, allow
find to follow symlinks.
Add KATI_EMULATE_FIND=false to allow disabling the find
emulator which changes findleaves.py behavior wrt
symlinks.
BUG=
24605247
TEST=works with CL:783781 (without the find wrapper in that CL)
Change-Id: Ia9d0e4add391a56f34828a09a6cec3f435ccc548
Gaurav Shah [Sun, 23 Aug 2015 16:40:05 +0000 (09:40 -0700)]
Support build targets with no installable apps/packages
Specifically, do not error out if no installable apps are found.
- When creating an archive of all the apps, and if no apps exist
for the target, generate an empty archive file.
- If building for a target with no installable jar(s) or apk(s),
generate an empty package stats file.
The former is just an output artifact. The latter is used
by the upload_pkg_stats.py script which correctly handles
an empty input file.
BUG:
23421592
Change-Id: I48db9f9e1f61914d8fd938130e09b41849685450
Lee Campbell [Thu, 20 Aug 2015 22:39:56 +0000 (15:39 -0700)]
build: Add extra build customization for /product
This makes /product more consistent with /device & /vendor
BUG:
22030305
Change-Id: Ic65bfde7fb3e9fab8c8fb8d99af15404574abde0
Lee Campbell [Thu, 20 Aug 2015 20:55:45 +0000 (13:55 -0700)]
build: Add support for defining products in /product
The build will now search for AndroidProducts.mk in /product
BUG:
22030305
Change-Id: I2d067d95d0c8dc1341a55167f9ac7f6926e04ce3
Ying Wang [Mon, 2 Nov 2015 19:55:12 +0000 (19:55 +0000)]
Merge "Add _asan suffix to ro.build.flavor for ASAN builds." am:
f0a8dd43b2
am:
cce30b6daa
* commit '
cce30b6daae84f194a3d71a1e7c452345999c925':
Add _asan suffix to ro.build.flavor for ASAN builds.
Ying Wang [Mon, 2 Nov 2015 19:55:06 +0000 (19:55 +0000)]
Merge "Fix "make product-graph" and "make dump-products"." am:
888f30aa44
am:
603e4ed594
* commit '
603e4ed594b99b9463a9a67c1f7ba91b2967025e':
Fix "make product-graph" and "make dump-products".
Ying Wang [Mon, 2 Nov 2015 19:52:04 +0000 (19:52 +0000)]
Merge "Add _asan suffix to ro.build.flavor for ASAN builds."
am:
f0a8dd43b2
* commit '
f0a8dd43b26d49ad67e2c6c8c936e64a62df8582':
Add _asan suffix to ro.build.flavor for ASAN builds.
Ying Wang [Mon, 2 Nov 2015 19:51:57 +0000 (19:51 +0000)]
Merge "Fix "make product-graph" and "make dump-products"."
am:
888f30aa44
* commit '
888f30aa448370206a49ff7df940e134b8ff7017':
Fix "make product-graph" and "make dump-products".
Ying Wang [Mon, 2 Nov 2015 19:47:31 +0000 (19:47 +0000)]
Merge "Add _asan suffix to ro.build.flavor for ASAN builds."
Ying Wang [Mon, 2 Nov 2015 19:46:53 +0000 (19:46 +0000)]
Merge "Fix "make product-graph" and "make dump-products"."
Clay Murphy [Tue, 20 Oct 2015 22:16:12 +0000 (15:16 -0700)]
Docs: Add Security tab to top
Bug:
24908502
Change-Id: If3331bc4ba84a8694bc30cfa81d9dc080e93fa09
Dan Willemsen [Thu, 29 Oct 2015 21:38:10 +0000 (21:38 +0000)]
Merge "Revert "Remove changing uids/timestamps from zip/jar files"" am:
49d8c5196e
am:
d8d06da814
* commit '
d8d06da814fa02413bc3e58f3047f9a2ab61bb09':
Revert "Remove changing uids/timestamps from zip/jar files"
Dan Willemsen [Thu, 29 Oct 2015 21:33:39 +0000 (21:33 +0000)]
Merge "Revert "Remove changing uids/timestamps from zip/jar files""
am:
49d8c5196e
* commit '
49d8c5196eb690fc987673c27cb61087c5886be4':
Revert "Remove changing uids/timestamps from zip/jar files"
Dan Willemsen [Thu, 29 Oct 2015 21:28:17 +0000 (21:28 +0000)]
Merge "Revert "Remove changing uids/timestamps from zip/jar files""
Dan Willemsen [Thu, 29 Oct 2015 21:26:18 +0000 (21:26 +0000)]
Revert "Remove changing uids/timestamps from zip/jar files"
This reverts commit
3c2c064c8791ed2d4b9d6780d7b87f406ab78f10.
zipalign depends on libandroidfw, and some setups don't include frameworks/base.
Bug:
24201956
Change-Id: I48ee95808924f6b2221f0a49ab205c2565096b1f
Dan Willemsen [Thu, 29 Oct 2015 19:15:52 +0000 (19:15 +0000)]
Merge "Remove changing uids/timestamps from zip/jar files" am:
9f25219371
am:
a51b1d532e
* commit '
a51b1d532e998c1668fd991f53c6619e02d9338a':
Remove changing uids/timestamps from zip/jar files
Dan Willemsen [Thu, 29 Oct 2015 19:12:37 +0000 (19:12 +0000)]
Merge "Remove changing uids/timestamps from zip/jar files"
am:
9f25219371
* commit '
9f252193714c82dbce702e8055ffaa7eec4afe66':
Remove changing uids/timestamps from zip/jar files
Dan Willemsen [Thu, 29 Oct 2015 19:07:36 +0000 (19:07 +0000)]
Merge "Remove changing uids/timestamps from zip/jar files"
Dan Willemsen [Tue, 27 Oct 2015 23:25:29 +0000 (16:25 -0700)]
Remove changing uids/timestamps from zip/jar files
Pass -X to zip so that Unix UID/GID and extra timestamps aren't
saved into the zip files.
Add a new option to zipalign, -t, to replace all timestamps with static
timestamps (2008 Jan 1 00:00:00). Use this for all non-APK zip files.
APK zip timestamps are set based on the certificate date in SignApk.
Bug:
24201956
Change-Id: Ifb619fc499ba9d99fc624f2acd5f8de36d78ef8e
Tao Bao [Thu, 29 Oct 2015 16:49:53 +0000 (16:49 +0000)]
Merge "Honor TARGET_NO_RECOVERY flag." am:
c448e91c3d
am:
e5eb4567d4
* commit '
e5eb4567d408808873d7193fcaf7bfea859ea725':
Honor TARGET_NO_RECOVERY flag.
Sami Tolvanen [Thu, 29 Oct 2015 16:49:37 +0000 (16:49 +0000)]
Merge "Error correction: Use block_image_recover in block OTAs" am:
fe4e86c7fd
am:
a25cced65f
* commit '
a25cced65f3418b86ba7c3707f29838f4794f8b6':
Error correction: Use block_image_recover in block OTAs
Tao Bao [Thu, 29 Oct 2015 16:45:31 +0000 (16:45 +0000)]
Merge "Honor TARGET_NO_RECOVERY flag."
am:
c448e91c3d
* commit '
c448e91c3d3d095f8f200c9925f7db2ad525132f':
Honor TARGET_NO_RECOVERY flag.
Sami Tolvanen [Thu, 29 Oct 2015 16:45:14 +0000 (16:45 +0000)]
Merge "Error correction: Use block_image_recover in block OTAs"
am:
fe4e86c7fd
* commit '
fe4e86c7fd1b9c8903fda194b8515451c477ced9':
Error correction: Use block_image_recover in block OTAs
Tao Bao [Thu, 29 Oct 2015 16:13:52 +0000 (16:13 +0000)]
Merge "Honor TARGET_NO_RECOVERY flag."
Sami Tolvanen [Thu, 29 Oct 2015 16:05:46 +0000 (16:05 +0000)]
Merge "Error correction: Use block_image_recover in block OTAs"
Sami Tolvanen [Thu, 25 Jun 2015 10:48:29 +0000 (11:48 +0100)]
Error correction: Use block_image_recover in block OTAs
If block_image_verify fails, attempt to recover using FEC before giving up.
Bug:
21893453
Change-Id: Ibc1fe5d28b2a8099d2b5094277b572ec08229c3a
Ying Wang [Thu, 29 Oct 2015 01:45:03 +0000 (18:45 -0700)]
Add _asan suffix to ro.build.flavor for ASAN builds.
Bug:
25344475
Change-Id: I27f2472906631239ca725ee09da2ab791cad2195
Ying Wang [Wed, 28 Oct 2015 23:59:12 +0000 (23:59 +0000)]
Merge "Normalize the product makefile path in inherit-product." am:
aabff90bfe
am:
3482ea54a2
* commit '
3482ea54a2fecc756c79a94f37a66113d21d7558':
Normalize the product makefile path in inherit-product.
Ying Wang [Wed, 28 Oct 2015 23:55:10 +0000 (23:55 +0000)]
Merge "Normalize the product makefile path in inherit-product."
am:
aabff90bfe
* commit '
aabff90bfe2312a95d3cf57564845fef8dc469a2':
Normalize the product makefile path in inherit-product.
Ying Wang [Wed, 28 Oct 2015 23:51:57 +0000 (23:51 +0000)]
Merge "Normalize the product makefile path in inherit-product."
Ying Wang [Wed, 28 Oct 2015 23:42:39 +0000 (16:42 -0700)]
Fix "make product-graph" and "make dump-products".
- For unmodified "make product-graph" and "make dump-products",
load only the current product configuration makefiles. This is much
faster than loading all product makefiles.
- For "make product-graph ANDROID_PRODUCT_GRAPH=--all",
"make dump-products ANDROID_DUMP_PRODUCTS=all", load all product
makefiles.
- Move product-graph.mk out of build tasks, so we can skip loading all
the Android.mks, which takes long and we don't really need them.
More importantly, with all product makefiles loaded, modules in
Android.mks are prone to clash (if they are conditionally included
by variables set up in product makefiles) and lead to parse-time
error.
Change-Id: Idc1d6b0c23eb2c8bb34fdd7a1fa4d56171768d21
Ying Wang [Wed, 28 Oct 2015 21:33:40 +0000 (14:33 -0700)]
Normalize the product makefile path in inherit-product.
Some vendor product makefiles call $(inherit-product) on the same
product makefile with different paths, by using "../" in relative paths.
However inherit-product requires unique path as ID for a product
makefile, for bookkeeping purpose.
Normalize the product makefile path in inherit-product, if the path
contains "../".
Change-Id: I1a864ce120c713d8e79ec179213b9fc9352aba53