OSDN Git Service
Hiroshi Yamauchi [Tue, 20 Dec 2016 20:58:42 +0000 (20:58 +0000)]
Merge "Add ART_USE_READ_BARRIER to product variables." am:
e34819ccce am:
f9e277e1fe
am:
9876e6483b
Change-Id: I6a0d6c40edf0a80fb1402068b2ae4b845dcd5da5
Hiroshi Yamauchi [Tue, 20 Dec 2016 20:40:10 +0000 (20:40 +0000)]
Merge "Add ART_USE_READ_BARRIER to product variables." am:
e34819ccce
am:
f9e277e1fe
Change-Id: I4a0addd85f0e1dcc98250a60084f88be118276cc
Hiroshi Yamauchi [Tue, 20 Dec 2016 19:04:19 +0000 (19:04 +0000)]
Merge "Add ART_USE_READ_BARRIER to product variables."
am:
e34819ccce
Change-Id: Iaa92156d93110ddfd1a95f677bc02abc6dbcb5c5
Hiroshi Yamauchi [Tue, 20 Dec 2016 18:56:19 +0000 (18:56 +0000)]
Merge "Add ART_USE_READ_BARRIER to product variables."
Hiroshi Yamauchi [Fri, 16 Dec 2016 00:00:41 +0000 (16:00 -0800)]
Add ART_USE_READ_BARRIER to product variables.
Bug:
33492005
Test: top-level build for angler.
Change-Id: I12aa2e18487c16423223f110b6dfb0d6dff1e7e8
Tao Bao [Mon, 19 Dec 2016 21:29:16 +0000 (21:29 +0000)]
Merge "blockimgdiff.py: Add a test case for ReviseStashSize()." am:
f967849693 am:
a10cd259fc
am:
2137170e03
Change-Id: Ibc4c89be69129a3c1c728b21d8f9dd8563ed71d3
Tao Bao [Mon, 19 Dec 2016 21:25:46 +0000 (21:25 +0000)]
Merge "blockimgdiff.py: Add a test case for ReviseStashSize()." am:
f967849693
am:
a10cd259fc
Change-Id: Ib8102e58f5c5df97550aa200a392ff4e0d567f00
Tao Bao [Mon, 19 Dec 2016 21:22:45 +0000 (21:22 +0000)]
Merge "blockimgdiff.py: Add a test case for ReviseStashSize()."
am:
f967849693
Change-Id: Ibb1ffeb5c5e13578b4669c5525d270c4f3b7175d
Tao Bao [Mon, 19 Dec 2016 21:15:17 +0000 (21:15 +0000)]
Merge "blockimgdiff.py: Add a test case for ReviseStashSize()."
Tao Bao [Mon, 19 Dec 2016 19:01:38 +0000 (11:01 -0800)]
blockimgdiff.py: Add a test case for ReviseStashSize().
Bug:
33687949
Test: python -m unittest test_blockimgdiff
Change-Id: I31e42648d2c0e60b941908c098ce5ccc967861ca
Daniel Cashman [Sat, 17 Dec 2016 01:26:13 +0000 (01:26 +0000)]
Merge "Revert "Add build dependencies for split sepolicy files."" am:
cbdc0bd096 am:
5e8be7b822
am:
6549a83888
Change-Id: I5e6b621a55b6bd67f53559bc89dc0e757c1e74a5
Daniel Cashman [Sat, 17 Dec 2016 01:16:42 +0000 (01:16 +0000)]
Merge "Revert "Add build dependencies for split sepolicy files."" am:
cbdc0bd096
am:
5e8be7b822
Change-Id: I6b1e6db6a505f8a65879228dc8fa9b1863724ca1
Daniel Cashman [Sat, 17 Dec 2016 01:08:18 +0000 (01:08 +0000)]
Merge "Revert "Add build dependencies for split sepolicy files.""
am:
cbdc0bd096
Change-Id: Ie73ea2b943a153422e0373ef291f7306747e5420
Daniel Cashman [Sat, 17 Dec 2016 00:59:42 +0000 (00:59 +0000)]
Merge "Revert "Add build dependencies for split sepolicy files.""
Daniel Cashman [Sat, 17 Dec 2016 00:53:52 +0000 (00:53 +0000)]
Revert "Add build dependencies for split sepolicy files."
This reverts commit
086189145caa9b154d02aa3a888a8815bb60a0d5.
Change-Id: Idfd210d1f16eefcedda6154b0361611f53c5158f
dcashman [Sat, 17 Dec 2016 00:41:10 +0000 (00:41 +0000)]
Merge "Add build dependencies for split sepolicy files." am:
298f9b5925 am:
bc1832f381
am:
ced437a479
Change-Id: I06a95e8a22569ad4ab0d2586ba630910278c36df
dcashman [Sat, 17 Dec 2016 00:32:40 +0000 (00:32 +0000)]
Merge "Add build dependencies for split sepolicy files." am:
298f9b5925
am:
bc1832f381
Change-Id: Ic0a40500003afdd54e1a68cfec2937ae0f2aee06
dcashman [Sat, 17 Dec 2016 00:23:38 +0000 (00:23 +0000)]
Merge "Add build dependencies for split sepolicy files."
am:
298f9b5925
Change-Id: I8e8ef53b98d4341deab6f5ddb54cac6f30329e9c
Tao Bao [Sat, 17 Dec 2016 00:23:34 +0000 (00:23 +0000)]
Merge "releasetools: Fix the computation in ReviseStashSize()." am:
9cc98767ad am:
bf32e87669
am:
b317d1c6ec
Change-Id: I9d00270c1ce02b1b93067d4aa0a09ed64f3daf9a
Treehugger Robot [Sat, 17 Dec 2016 00:17:12 +0000 (00:17 +0000)]
Merge "Add build dependencies for split sepolicy files."
Tao Bao [Sat, 17 Dec 2016 00:15:05 +0000 (00:15 +0000)]
Merge "releasetools: Fix the computation in ReviseStashSize()." am:
9cc98767ad
am:
bf32e87669
Change-Id: I505288a01a652337a8290ee148959b24a0d79ea4
Tao Bao [Sat, 17 Dec 2016 00:07:34 +0000 (00:07 +0000)]
Merge "releasetools: Fix the computation in ReviseStashSize()."
am:
9cc98767ad
Change-Id: I2fbadc053c017b3a52cc2856f9b86511b8cb6a44
Tao Bao [Fri, 16 Dec 2016 23:57:40 +0000 (23:57 +0000)]
Merge "releasetools: Fix the computation in ReviseStashSize()."
dcashman [Mon, 28 Nov 2016 15:19:35 +0000 (07:19 -0800)]
Add build dependencies for split sepolicy files.
Add build targets for split sepolicy files so they'll appear in the root dir for
on-device compilation. nonplat_sepolicy will eventually be removed as it should
be provided by a different partition. Also replace sepolicy.recovery with the
appropriate split components.
Bug:
31363362
Test: Policy builds on-device and boots.
Change-Id: I017dabe6940c3cd20de6c00bb5253274d5a9269b
Joe LaPenna [Fri, 16 Dec 2016 20:51:02 +0000 (20:51 +0000)]
Merge "Add default NetworkRecommendation to core.mk" am:
95f616b960 am:
f4251ee777
am:
e07d894eb5
Change-Id: Id652ac50d15879466431cc01083e771f92044cc2
Joe LaPenna [Fri, 16 Dec 2016 20:43:06 +0000 (20:43 +0000)]
Merge "Add default NetworkRecommendation to core.mk" am:
95f616b960
am:
f4251ee777
Change-Id: I95ab94b579c4e72f685bcfc2d7b68127dbc060e8
Joe LaPenna [Fri, 16 Dec 2016 20:35:04 +0000 (20:35 +0000)]
Merge "Add default NetworkRecommendation to core.mk"
am:
95f616b960
Change-Id: Ice21caa64e01e15911d9f5979cd0db345e5686f1
Treehugger Robot [Fri, 16 Dec 2016 20:23:47 +0000 (20:23 +0000)]
Merge "Add default NetworkRecommendation to core.mk"
Tao Bao [Fri, 16 Dec 2016 19:13:55 +0000 (11:13 -0800)]
releasetools: Fix the computation in ReviseStashSize().
We compute the max stashed_blocks in ReviseStashSize(), prior to calling
WriteTransfers(), to avoid running out of space due to stashing.
There is a bug when computing the to-be-freed stashed blocks, where we
wrongly free the space _before_ executing the transfer command. This leads
to a script failure where the max stash size violates the max allowed
size in WriteTransfers().
Note that this bug doesn't affect already generated packages. It's only
an underestimate in ReviseStashSize(). The check in WriteTransfers() has
been correct to ensure the max stash size.
Bug:
33687949
Test: Successfully generated incremental OTA which failed previously.
Change-Id: I4f4f043c6f521fce81ca5286e6156f22d99bf7f7
Joe LaPenna [Thu, 8 Dec 2016 00:06:43 +0000 (16:06 -0800)]
Add default NetworkRecommendation to core.mk
This makes the apk avaiable on all devices and can be overridden on a
per-product basis using LOCAL_OVERRIDES_PACKAGES.
BUG:
33224286
Test: Verified with lunch aosp_bullhead-userdebug; make
Change-Id: Ib345193caa4431b6405294bd8759d93349335814
Alex Klyubin [Fri, 16 Dec 2016 17:47:24 +0000 (17:47 +0000)]
Merge "aapt no longer needed for signing APKs" am:
3cfff7386f am:
2c70770e93
am:
bf78cdd81e
Change-Id: I25988629bf8c0a8f2a6f8894511b199cd2d2aed4
Alex Klyubin [Fri, 16 Dec 2016 17:47:10 +0000 (17:47 +0000)]
Merge "Remove unused get-package-min-sdk-version-int" am:
5a1ba84c30 am:
24b383a770
am:
176a27a7a2
Change-Id: Ifc7d911c981bd7f801e83653788585a2bf57abda
Alex Klyubin [Fri, 16 Dec 2016 17:38:53 +0000 (17:38 +0000)]
Merge "aapt no longer needed for signing APKs" am:
3cfff7386f
am:
2c70770e93
Change-Id: I920311adea1085830df6ed992711e26aed38c2a1
Alex Klyubin [Fri, 16 Dec 2016 17:38:40 +0000 (17:38 +0000)]
Merge "Remove unused get-package-min-sdk-version-int" am:
5a1ba84c30
am:
24b383a770
Change-Id: Iafe2ea0495e9c1b5c77eb4d995101c60e85700af
Alex Klyubin [Fri, 16 Dec 2016 17:30:23 +0000 (17:30 +0000)]
Merge "aapt no longer needed for signing APKs"
am:
3cfff7386f
Change-Id: I95e90f0c4e31fe79bb72a302bec2d89885959533
Alex Klyubin [Fri, 16 Dec 2016 17:30:09 +0000 (17:30 +0000)]
Merge "Remove unused get-package-min-sdk-version-int"
am:
5a1ba84c30
Change-Id: Id5b5c1a36f6fe6ef85f9cee12a7e49dacd416801
Alex Klyubin [Fri, 16 Dec 2016 17:21:13 +0000 (17:21 +0000)]
Merge "aapt no longer needed for signing APKs"
Alex Klyubin [Fri, 16 Dec 2016 17:20:23 +0000 (17:20 +0000)]
Merge "Remove unused get-package-min-sdk-version-int"
Vijay Venkatraman [Fri, 16 Dec 2016 02:35:02 +0000 (02:35 +0000)]
Merge "Revert "Extends VNDK support in Make by setting LOCAL_USE_VNDK for modules going into vendor partition, except when they already have LOCAL_SDK_VERSION set."" am:
e4be608d2f am:
fe371b310f
am:
94e6045271
Change-Id: I14d92f22e57ab2d701de3983b88e2a9ebbb76b5e
Vijay Venkatraman [Fri, 16 Dec 2016 02:34:47 +0000 (02:34 +0000)]
Revert "Extends VNDK support in Make by setting LOCAL_USE_VNDK for modules going into vendor partition, except when they already have LOCAL_SDK_VERSION set." am:
823172e209 am:
e9709b4575
am:
f880ab9021
Change-Id: Ie6f74154c1d104effbeab74010337b9a6714a965
Vijay Venkatraman [Fri, 16 Dec 2016 02:26:34 +0000 (02:26 +0000)]
Merge "Revert "Extends VNDK support in Make by setting LOCAL_USE_VNDK for modules going into vendor partition, except when they already have LOCAL_SDK_VERSION set."" am:
e4be608d2f
am:
fe371b310f
Change-Id: I9b086d31ef7197798d5f0a38864321622b99cccf
Vijay Venkatraman [Fri, 16 Dec 2016 02:26:19 +0000 (02:26 +0000)]
Revert "Extends VNDK support in Make by setting LOCAL_USE_VNDK for modules going into vendor partition, except when they already have LOCAL_SDK_VERSION set." am:
823172e209
am:
e9709b4575
Change-Id: I8166568b64cbda20c35fb4b07ea24ce6578158fc
Vijay Venkatraman [Fri, 16 Dec 2016 02:17:48 +0000 (02:17 +0000)]
Merge "Revert "Extends VNDK support in Make by setting LOCAL_USE_VNDK for modules going into vendor partition, except when they already have LOCAL_SDK_VERSION set.""
am:
e4be608d2f
Change-Id: I236dd4c28d4bbe65fc51fb3fbd599a3a23129b14
Vijay Venkatraman [Fri, 16 Dec 2016 02:17:47 +0000 (02:17 +0000)]
Revert "Extends VNDK support in Make by setting LOCAL_USE_VNDK for modules going into vendor partition, except when they already have LOCAL_SDK_VERSION set."
am:
823172e209
Change-Id: If6249d3b311089ea342fb873288ad38c12bc53d1
Vijay Venkatraman [Fri, 16 Dec 2016 02:11:11 +0000 (02:11 +0000)]
Merge "Revert "Extends VNDK support in Make by setting LOCAL_USE_VNDK for modules going into vendor partition, except when they already have LOCAL_SDK_VERSION set.""
Vijay Venkatraman [Fri, 16 Dec 2016 02:08:18 +0000 (02:08 +0000)]
Revert "Extends VNDK support in Make by setting LOCAL_USE_VNDK for modules going into vendor partition, except when they already have LOCAL_SDK_VERSION set."
This reverts commit
2b6c204c73b97147ec00484904ee6f4bc003cb15.
Change-Id: I60a042f2ed0c767ec3a45c31ee1b99d43891efaa
Alex Klyubin [Thu, 15 Dec 2016 20:53:58 +0000 (12:53 -0800)]
Remove unused get-package-min-sdk-version-int
The only user of get-package-min-sdk-version-int was signapk. signapk
no longer needs to be provided with the APK's minSdkVersion though.
(cherry picked from commit
e185da21ca07006c5ced90e1577c0682566428de)
Test: make clean && make
Change-Id: I6867a004aec0f3752cbbc99cc30e02ca5404b3c4
Alex Klyubin [Thu, 15 Dec 2016 20:51:25 +0000 (12:51 -0800)]
aapt no longer needed for signing APKs
signapk now auto-detects the APK's minSdkVersion, removing the need to
run aapt dump badging during APK signing.
Test: make clean && make
Change-Id: Ifc74292a9900443d053e437b50b540c8d0b33dbd
Vijay Venkatraman [Thu, 15 Dec 2016 23:32:57 +0000 (23:32 +0000)]
Merge "Extends VNDK support in Make by setting LOCAL_USE_VNDK for modules going into vendor partition, except when they already have LOCAL_SDK_VERSION set." am:
b777f169f8 am:
fe9ba5edf4
am:
d5c2437942
Change-Id: I90593084b94939c8e80e9969260cd621e15a9bfa
Vijay Venkatraman [Thu, 15 Dec 2016 23:32:41 +0000 (23:32 +0000)]
Extends VNDK support in Make by setting LOCAL_USE_VNDK for modules going into vendor partition, except when they already have LOCAL_SDK_VERSION set. am:
2b6c204c73 am:
23da9097fe
am:
a41a8d371c
Change-Id: I3f4b8498410c9cf89c913413db9818402b13ceac
Vijay Venkatraman [Thu, 15 Dec 2016 23:02:47 +0000 (23:02 +0000)]
Merge "Extends VNDK support in Make by setting LOCAL_USE_VNDK for modules going into vendor partition, except when they already have LOCAL_SDK_VERSION set." am:
b777f169f8
am:
fe9ba5edf4
Change-Id: I9049593af944687aea3b9c664b75a03e025c4a96
Vijay Venkatraman [Thu, 15 Dec 2016 23:02:29 +0000 (23:02 +0000)]
Extends VNDK support in Make by setting LOCAL_USE_VNDK for modules going into vendor partition, except when they already have LOCAL_SDK_VERSION set. am:
2b6c204c73
am:
23da9097fe
Change-Id: I1724efa79766e50eaccc9cd43fa5a143494397ec
Vijay Venkatraman [Thu, 15 Dec 2016 21:37:30 +0000 (21:37 +0000)]
Merge "Extends VNDK support in Make by setting LOCAL_USE_VNDK for modules going into vendor partition, except when they already have LOCAL_SDK_VERSION set."
am:
b777f169f8
Change-Id: I7d0c58f2c1be9084b8a78a7fa32c9dab6eb31756
Vijay Venkatraman [Thu, 15 Dec 2016 21:37:29 +0000 (21:37 +0000)]
Extends VNDK support in Make by setting LOCAL_USE_VNDK for modules going into vendor partition, except when they already have LOCAL_SDK_VERSION set.
am:
2b6c204c73
Change-Id: Iea702c06134f40b312c795ce13d41fa94bc62e15
Vijay Venkatraman [Thu, 15 Dec 2016 21:26:16 +0000 (21:26 +0000)]
Merge "Extends VNDK support in Make by setting LOCAL_USE_VNDK for modules going into vendor partition, except when they already have LOCAL_SDK_VERSION set."
dcashman [Thu, 15 Dec 2016 20:47:31 +0000 (20:47 +0000)]
Merge "Split mac_permissions.xml into plat and non-plat components." am:
b8888197c6 am:
63a91e9ee0
am:
81fcb95744
Change-Id: Ibcf8e6618bd46069dfe50cc4059342155b565026
dcashman [Thu, 15 Dec 2016 20:47:23 +0000 (20:47 +0000)]
Split mac_permissions.xml into plat and non-plat components. am:
15171f641e am:
f976eae6f3
am:
eb7c416fc2
Change-Id: Idc1cbcb274c02cb533fe0d18aec9560f6a149ea1
dcashman [Thu, 15 Dec 2016 20:40:16 +0000 (20:40 +0000)]
Merge "Split mac_permissions.xml into plat and non-plat components." am:
b8888197c6
am:
63a91e9ee0
Change-Id: I3f1600730dc239093fa525c854a903d583510c12
dcashman [Thu, 15 Dec 2016 20:40:10 +0000 (20:40 +0000)]
Split mac_permissions.xml into plat and non-plat components. am:
15171f641e
am:
f976eae6f3
Change-Id: I09424929985bfeff10c14853e89af2ae8ac9f9e8
dcashman [Thu, 15 Dec 2016 20:27:32 +0000 (20:27 +0000)]
Merge "Split mac_permissions.xml into plat and non-plat components."
am:
b8888197c6
Change-Id: Id0785ec8105d31cb8dd21780be3552588c4ce9e8
dcashman [Thu, 15 Dec 2016 20:26:40 +0000 (20:26 +0000)]
Split mac_permissions.xml into plat and non-plat components.
am:
15171f641e
Change-Id: Ic2ad780d79f58d8fcffffcae7e3aaefda5b4be4f
Treehugger Robot [Thu, 15 Dec 2016 20:13:28 +0000 (20:13 +0000)]
Merge "Split mac_permissions.xml into plat and non-plat components."
dcashman [Wed, 14 Dec 2016 21:48:48 +0000 (13:48 -0800)]
Split mac_permissions.xml into plat and non-plat components.
Bug:
31363362
Test: Bullhead and Sailfish both build and boot w/out new denials.
Change-Id: Id7e29ec09510741c4e925231401a6de81704fbf0
Dan Willemsen [Thu, 15 Dec 2016 07:42:56 +0000 (07:42 +0000)]
Merge "Remove variables exported by Soong" am:
f61205d5c7 am:
da8f49522d
am:
4f1d1d0a1e
Change-Id: I7fd64ff79923995574e0be2f361b486b3540a45d
Dan Willemsen [Thu, 15 Dec 2016 07:42:39 +0000 (07:42 +0000)]
Merge "Don't clean generated java sources when AIDL list changes" am:
e9c4079e91 am:
c29cf6efb6
am:
b8338be5dc
Change-Id: I54ab92bf99301999756c9532f1819025f08cd673
Dan Willemsen [Thu, 15 Dec 2016 07:34:41 +0000 (07:34 +0000)]
Merge "Remove variables exported by Soong" am:
f61205d5c7
am:
da8f49522d
Change-Id: I09c678146df1537df9e0f02eb112db031374f04c
Dan Willemsen [Thu, 15 Dec 2016 07:27:36 +0000 (07:27 +0000)]
Merge "Remove variables exported by Soong"
am:
f61205d5c7
Change-Id: I2140a80261c0062e220656e6017b3142d486176f
Dan Willemsen [Thu, 15 Dec 2016 07:27:35 +0000 (07:27 +0000)]
Merge "Don't clean generated java sources when AIDL list changes" am:
e9c4079e91
am:
c29cf6efb6
Change-Id: I678611486f3f7c2951a02722224d3bbabae49e8b
Treehugger Robot [Thu, 15 Dec 2016 07:19:03 +0000 (07:19 +0000)]
Merge "Remove variables exported by Soong"
Dan Willemsen [Thu, 15 Dec 2016 07:13:05 +0000 (07:13 +0000)]
Merge "Don't clean generated java sources when AIDL list changes"
am:
e9c4079e91
Change-Id: I854de56628e16c12a771f18423274e5409ee374b
Treehugger Robot [Thu, 15 Dec 2016 07:01:12 +0000 (07:01 +0000)]
Merge "Don't clean generated java sources when AIDL list changes"
Dan Willemsen [Thu, 15 Dec 2016 03:53:54 +0000 (19:53 -0800)]
Don't clean generated java sources when AIDL list changes
AIDL doesn't generate into the intermediate src directory, we pass exact
aidl->java files to the compiler. So there is no need to clean the
intermediate src directory when the aidl file list changes for a module.
Test: None, just code inspection
Change-Id: I01feff7cc399ac5b88b83333a1ac86928d0a81e6
Dan Willemsen [Thu, 15 Dec 2016 00:52:42 +0000 (00:52 +0000)]
Merge "Identify non-local EXPORT_C_INCLUDE_DIRS in soong_to_convert" am:
d3cc4950f8 am:
bfedf05812
am:
4d08538747
Change-Id: I965820dd9cb60dabd5e5cf255630d888f216ea11
Dan Willemsen [Thu, 15 Dec 2016 00:45:09 +0000 (00:45 +0000)]
Merge "Identify non-local EXPORT_C_INCLUDE_DIRS in soong_to_convert" am:
d3cc4950f8
am:
bfedf05812
Change-Id: Ic1b4310f3eec77d1dd193589f05f19e1232ed68f
Dan Willemsen [Thu, 15 Dec 2016 00:38:40 +0000 (00:38 +0000)]
Merge "Identify non-local EXPORT_C_INCLUDE_DIRS in soong_to_convert"
am:
d3cc4950f8
Change-Id: Ie22b04f74b035bfbe1985dbb1f5bc82e43d50e4a
Dan Willemsen [Thu, 15 Dec 2016 00:30:03 +0000 (00:30 +0000)]
Merge "Identify non-local EXPORT_C_INCLUDE_DIRS in soong_to_convert"
Dan Willemsen [Wed, 14 Dec 2016 23:54:01 +0000 (15:54 -0800)]
Remove variables exported by Soong
LLVM_RELEASE_VERSION is unused from envsetup.sh and during product
config loading. LLVM_PREBUILTS_VERSION is still used in envsetup.sh, so
needs to stay.
Delay reading core/clang/config.mk until after Soong's variables are
read so that we don't need a copy of LLVM_PREBUILTS_BASE.
Test: Compare build-aosp_flounder.ninja
Change-Id: I85b5836a2230838c8f3766fb19c6108fc5c9ca50
Alex Klyubin [Thu, 15 Dec 2016 00:02:37 +0000 (00:02 +0000)]
Merge "Faster auto-detection of APK's minSdkVersion" am:
620686f3c6 am:
1f5e43cb6f
am:
9d439f54b1
Change-Id: Ia481bba8525e07d016879f88ae2a2c3e40cc1da6
Alex Klyubin [Wed, 14 Dec 2016 23:54:36 +0000 (23:54 +0000)]
Merge "Faster auto-detection of APK's minSdkVersion" am:
620686f3c6
am:
1f5e43cb6f
Change-Id: Ic6e4f9ba7941b45a166f75e49d85b951055a42e4
Alex Klyubin [Wed, 14 Dec 2016 23:48:06 +0000 (23:48 +0000)]
Merge "Faster auto-detection of APK's minSdkVersion"
am:
620686f3c6
Change-Id: Idc1d55388577032f009027170fcf69e72666b793
Alex Klyubin [Wed, 14 Dec 2016 23:42:13 +0000 (23:42 +0000)]
Merge "Faster auto-detection of APK's minSdkVersion"
Tao Bao [Wed, 14 Dec 2016 21:14:29 +0000 (21:14 +0000)]
Merge "releasetools: Add prefix when dumping fingerprints." am:
a282ceeb73 am:
bf9e4aa53f
am:
aff4efc8c1
Change-Id: I33ae138b3d3473787d110da1b516de4ac934af2d
Tao Bao [Wed, 14 Dec 2016 21:06:56 +0000 (21:06 +0000)]
Merge "releasetools: Add prefix when dumping fingerprints." am:
a282ceeb73
am:
bf9e4aa53f
Change-Id: I34c65b0de83c16630c576a2f25488bb0b13f5fb9
Tao Bao [Wed, 14 Dec 2016 21:00:25 +0000 (21:00 +0000)]
Merge "releasetools: Add prefix when dumping fingerprints."
am:
a282ceeb73
Change-Id: I233432e2a64cc52409129a8ef628461f31e700c9
Alex Klyubin [Tue, 13 Dec 2016 02:19:17 +0000 (18:19 -0800)]
Faster auto-detection of APK's minSdkVersion
Prior to this change, when signing APKs, the build system invoked
'aapt dump badging' on each APK, to detect the value to pass into
signapk as --min-sdk-version. Now that signapk uses the apksig
library, it can auto-detect that value on its own, thus avoiding the
need to invoke 'aapt dump badging' and thus speeding up the build
process.
The semantics of signapk's --min-sdk-version flag is changed by this
commit from having the default value of 0 to having the default value
of "auto-detect from APK".
P.S. The get-package-min-sdk-version-int is not removed from
core/definitions.mk in this commnit, because this function is used in
another project's .mk file and thus that .mk file needs to be modified
first.
Test: rm -Rf out/ && make
Change-Id: I0972fcf0abbde9cbf6794e6c05c743c77c8a78f9
Treehugger Robot [Wed, 14 Dec 2016 20:53:02 +0000 (20:53 +0000)]
Merge "releasetools: Add prefix when dumping fingerprints."
Tao Bao [Wed, 14 Dec 2016 19:53:38 +0000 (11:53 -0800)]
releasetools: Add prefix when dumping fingerprints.
We used to dump "Source: <fingerprint>" in update logs. The "Source: "
prefix was unintentionally dropped out.
Test: Check the generated incremental BBOTA script.
Change-Id: I4de62333aa38e3fb09a76df0e769b62af48e0313
Dan Willemsen [Wed, 14 Dec 2016 04:16:27 +0000 (04:16 +0000)]
Merge "Implement LOCAL_TEST_DATA to ship data with tests" am:
dd0e69d47f am:
04cf52edab
am:
1f7aae0ac2
Change-Id: I1c11d306501dfd505f48a8d1dc5ede65d2c21520
Dan Willemsen [Wed, 14 Dec 2016 04:08:57 +0000 (04:08 +0000)]
Merge "Implement LOCAL_TEST_DATA to ship data with tests" am:
dd0e69d47f
am:
04cf52edab
Change-Id: I49c20d55c5fd7af70b536b530d3a747e788e3931
Dan Willemsen [Wed, 14 Dec 2016 04:02:27 +0000 (04:02 +0000)]
Merge "Implement LOCAL_TEST_DATA to ship data with tests"
am:
dd0e69d47f
Change-Id: I48e88dde1e93d25a4981036e952eddac669f99f3
Treehugger Robot [Wed, 14 Dec 2016 03:52:31 +0000 (03:52 +0000)]
Merge "Implement LOCAL_TEST_DATA to ship data with tests"
Dan Willemsen [Wed, 14 Dec 2016 02:28:33 +0000 (18:28 -0800)]
Identify non-local EXPORT_C_INCLUDE_DIRS in soong_to_convert
Soong only supports exporting include directories under the current
directory. So bring non-local directories up as a potential problem in
soong_to_convert.txt
Test: m -j $OUT/soong_to_convert.txt, inspect
Change-Id: I7a15b92e10a1d8b8d3496c6f0529a0d0824f301e
Dan Willemsen [Sat, 10 Dec 2016 00:05:09 +0000 (16:05 -0800)]
Implement LOCAL_TEST_DATA to ship data with tests
This can be used to ship source data as test artifacts next to native
tests. It works for both local builds and the test bundles using
package_modules.mk.
You just specify a file list relative to the local directory, and those
files will be copied next to the executable under
/data/nativetest*/<module>/...:
LOCAL_MODULE := mytest
LOCAL_TEST_DATA := data/file1 file2
/data/nativetest/mytest/mytest
/data/nativetest/mytest/data/file1
/data/nativetest/mytest/file2
If the data is in another directory, you may also specify a different
prefix for the source files:
LOCAL_TEST_DATA := external/skia:resources/f.xml
/data/nativetest/skia_test/resources/f.xml
And there's a new convenience macro to find a list of files in this
format:
LOCAL_TEST_DATA := $(call find-test-data-in-subdirs,external/skia,"*.xml",resources)
I'll expand this to native benchmarks and fuzz tests in a later change,
since they don't have their own module classes yet.
Bug:
30564705
Test: m -j minikin_tests; ls $OUT/data/nativetest*/minikin_tests
Test: m -j continuous_native_tests dist; zipinfo -1 out/dist/*continuous_native_tests*.zip
Change-Id: Ic76a7b62e7f567f259c4ab1510ee97d26600ba9a
Android Build Merger (Role) [Wed, 14 Dec 2016 00:47:18 +0000 (00:47 +0000)]
Merge changes from topic 'am-
9c27e6a6873d4faa9ae3bdcdf06606ad' into nyc-mr2-dev-plus-aosp
* changes:
Merge changes I761c90cd,I0e2dd0af into nyc-dev am:
cb4af5774a am:
a74871cfd3 am:
32e254e258 am:
2d08201d3b am:
0e9ae8095b
Update Security String to 2017-02-05 on nyc-dev am:
af63566009 am:
f6dbc77231 am:
dec80c416e am:
89e9059995 am:
94fbbd200e
Update Security String to 2017-02-01 on nyc-dev am:
35901a7fd0 am:
eaf4508b09 am:
2cc397f4c5 am:
548f3ec0d3 am:
0dd5eff86c
Adam Seaton [Wed, 14 Dec 2016 00:46:56 +0000 (00:46 +0000)]
Merge changes I761c90cd,I0e2dd0af into nyc-dev am:
cb4af5774a am:
a74871cfd3 am:
32e254e258 am:
2d08201d3b
am:
0e9ae8095b
Change-Id: Ic4d03b483b5ce60e2d917bd645468a45817389c3
Adam Seaton [Wed, 14 Dec 2016 00:46:55 +0000 (00:46 +0000)]
Merge changes I761c90cd,I0e2dd0af into nyc-dev am:
cb4af5774a am:
a74871cfd3 am:
32e254e258 am:
2d08201d3b
am:
f474420719
Change-Id: If72a88d385b4d4b8c0542e367d720367d0e0bdde
Adam Seaton [Wed, 14 Dec 2016 00:46:50 +0000 (00:46 +0000)]
Update Security String to 2017-02-05 on nyc-dev am:
af63566009 am:
f6dbc77231 am:
dec80c416e am:
89e9059995
am:
94fbbd200e
Change-Id: Iba933d6e2b04726c60baf8ec0f041fcfeb704325
Adam Seaton [Wed, 14 Dec 2016 00:46:49 +0000 (00:46 +0000)]
Update Security String to 2017-02-05 on nyc-dev am:
af63566009 am:
f6dbc77231 am:
dec80c416e am:
89e9059995
am:
7b86c49b95
Change-Id: I26116859fa0c0f8b0e07222db491cb2eefd3dfa9
Adam Seaton [Wed, 14 Dec 2016 00:46:44 +0000 (00:46 +0000)]
Update Security String to 2017-02-01 on nyc-dev am:
35901a7fd0 am:
eaf4508b09 am:
2cc397f4c5 am:
548f3ec0d3
am:
0dd5eff86c
Change-Id: I719c47f83ab36f0a91702d18481d938d7de9693f
Adam Seaton [Wed, 14 Dec 2016 00:46:44 +0000 (00:46 +0000)]
Update Security String to 2017-02-01 on nyc-dev am:
35901a7fd0 am:
eaf4508b09 am:
2cc397f4c5 am:
548f3ec0d3
am:
2af57857b8
Change-Id: I82e29fb23b492962b56659ff2e292c71a6989b10