OSDN Git Service
Vijay Venkatraman [Thu, 22 Dec 2016 06:03:17 +0000 (06:03 +0000)]
Merge "Revert "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:
0c29ffb74d
Change-Id: Idd3792357787a0265aca742fd82439dad394a2e7
Vijay Venkatraman [Thu, 22 Dec 2016 06:03:16 +0000 (06:03 +0000)]
Revert "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:
43a7f0c765
Change-Id: Ie5bfee7624066314f3446c8eeb5e7d202702016e
Vijay Venkatraman [Thu, 22 Dec 2016 05:54:02 +0000 (05:54 +0000)]
Merge "Revert "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 [Tue, 20 Dec 2016 17:50:21 +0000 (17:50 +0000)]
Revert "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
823172e209ab92dbae6dd5a4ef750f73dbfc5aa8.
Test: build.ninja for any target doesnt change, unless
BOARD_VNDK_VERSION is turned on in BoardConfig.mk
Change-Id: I4e1baaf5a2251de20f71a47096ce53e23d7e2d80
Tao Bao [Wed, 21 Dec 2016 06:17:22 +0000 (06:17 +0000)]
Merge "HOST_OUT_EXECUTABLES path is not needed in misc_info file"
am:
376c0146b3
Change-Id: I97065c6e4e0a6d90dde92b96deb97f520b83c21b
Tao Bao [Wed, 21 Dec 2016 06:08:23 +0000 (06:08 +0000)]
Merge "HOST_OUT_EXECUTABLES path is not needed in misc_info file"
Tao Bao [Wed, 21 Dec 2016 04:35:46 +0000 (04:35 +0000)]
Merge "otatools: added missing shared library for make_ext4fs"
am:
0ced0a1f50
Change-Id: I6586f71273ff21a6f9ca44cfba6808248e62bd3b
Tao Bao [Wed, 21 Dec 2016 04:30:26 +0000 (04:30 +0000)]
Merge "otatools: added missing shared library for make_ext4fs"
Mark Salyzyn [Tue, 20 Dec 2016 22:12:29 +0000 (22:12 +0000)]
Merge "logpersist: introduce split to logcat and logpersist domains"
am:
04f2cbd92a
Change-Id: I58f23b14630913eebe8ada09fa23c8ed9fbd90b0
Treehugger Robot [Tue, 20 Dec 2016 22:08:41 +0000 (22:08 +0000)]
Merge "logpersist: introduce split to logcat and logpersist domains"
Mark Salyzyn [Wed, 26 Oct 2016 21:19:32 +0000 (14:19 -0700)]
logpersist: introduce split to logcat and logpersist domains
logcat_exec transition to logpersist from init with perms
Test: compile
Bug:
30566487
Change-Id: I0cea55f71be011e921841ef9d3e1283f11606f36
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."
Vikram Dattu [Fri, 16 Dec 2016 08:45:19 +0000 (09:45 +0100)]
HOST_OUT_EXECUTABLES path is not needed in misc_info file
HOST_OUT_EXECUTABLES is already added to the PATH variable,
so it is not needed to add the path info for binaries in
misc_info.txt and <partition>_image_info.txt.
Earlier the mkuserimg item in the build_image dictionary is
hardcoded to "mkuserimg.sh", but now it is customized for
mkuserimg.sh and mkuserimg_mke2fs.sh, and maintained in
dictionary "ext_mkuserimg=$(MKEXTUSERIMG)" in misc_info.txt
and <partition>_image_info.txt, where it is used in the
build_image script while creating the images.
The problem here is the value for this key is set to build
path of the file mkuserimg file
$(HOST_OUT_EXECUTABLES)/mkuserimg.sh,
i.e. out/host/linux_x86/bin/mkuserimg.sh,
there by standalone signing the images using otatools is
not working as the executables are packed in bin folder.
Test: tools/releasetools/sign_target_files_apks
-p <extracted ota-tools.zip folder>
--extra_signapk_args=-f /etc/opt/cert_data.dat
-v
--replace_verity_private_key ~/build/target/product/security/verity
--replace_verity_public_key ~/build/target/product/security/verity.x509.pem
-k <key maping>
<input target files zip>
<output target files zip>
Change-Id: I57af1025ec38f3794f779c49faa0bf965afc6a5d
Vikram Dattu [Fri, 16 Dec 2016 15:33:03 +0000 (16:33 +0100)]
otatools: added missing shared library for make_ext4fs
Added the missing shared library libpcre2.so for make_ext4fs
in the otatools.zip.
Standalone signing the images with otatools zip is not working
due to missing library for make_ext4fs.
Test: tools/releasetools/sign_target_files_apks
-p <extracted ota-tools.zip folder>
--extra_signapk_args=-f /etc/opt/cert_data.dat
-v
--replace_verity_private_key ~/build/target/product/security/verity
--replace_verity_public_key ~/build/target/product/security/verity.x509.pem
-k <key maping>
<input target files zip>
<output target files zip>
Change-Id: I4fc71a1c710f3075bb3bdb90d915538526004ee6
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: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: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:23:38 +0000 (00:23 +0000)]
Merge "Add build dependencies for split sepolicy files."
am:
298f9b5925
Change-Id: I8e8ef53b98d4341deab6f5ddb54cac6f30329e9c
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: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: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: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: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 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: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:27:36 +0000 (07:27 +0000)]
Merge "Remove variables exported by Soong"
am:
f61205d5c7
Change-Id: I2140a80261c0062e220656e6017b3142d486176f
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: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 [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: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: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
Dan Willemsen [Tue, 13 Dec 2016 22:28:08 +0000 (22:28 +0000)]
Merge "Sort and reorganize clear_vars.mk to make merges easier"
am:
e26036ad5e
Change-Id: I60b8b084e4db3d041cd9fdebd789e7b2b797312c
Dan Willemsen [Tue, 13 Dec 2016 22:22:58 +0000 (22:22 +0000)]
Merge "Sort and reorganize clear_vars.mk to make merges easier"
Dan Willemsen [Tue, 13 Dec 2016 00:52:57 +0000 (16:52 -0800)]
Sort and reorganize clear_vars.mk to make merges easier
Moved common variables from other sections back to the common section,
then sort each section.
Test: build-aosp_angler.ninja is identical before/after
Change-Id: Ibb75935205aa80aaa392c358f8d0599ba624f90d
Merged-In: Ibb75935205aa80aaa392c358f8d0599ba624f90d
Paul Duffin [Tue, 13 Dec 2016 09:44:25 +0000 (09:44 +0000)]
Merge "Use legacy-test instead of core-junit"
am:
e28eb9ff0e
Change-Id: I9f08137ad0795bfd48f1fb36fa4ed6313af7cc3c
Paul Duffin [Tue, 13 Dec 2016 09:34:17 +0000 (09:34 +0000)]
Merge "Use legacy-test instead of core-junit"
Elliott Hughes [Tue, 13 Dec 2016 04:34:09 +0000 (04:34 +0000)]
Merge "Revert "Merge changes from topic 'fsconfig-2'""
am:
95cee3b0e6
Change-Id: I280306551f365febf206c451e4d7df04f697f50c
Elliott Hughes [Tue, 13 Dec 2016 04:34:07 +0000 (04:34 +0000)]
Revert "Merge changes from topic 'fsconfig-2'"
am:
fad4b4b715
Change-Id: I34f415419dc050f5e6d4fe1fc30b896d7e3edb1b
Elliott Hughes [Tue, 13 Dec 2016 04:23:48 +0000 (04:23 +0000)]
Merge "Revert "Merge changes from topic 'fsconfig-2'""
Elliott Hughes [Tue, 13 Dec 2016 01:28:44 +0000 (17:28 -0800)]
Revert "Merge changes from topic 'fsconfig-2'"
This reverts commit
1b2de51881e0ff76e2ad9d3d0405fc7185b0f86f, reversing
changes made to
77ea32f378651a3585e245eb964dab979d191310.
Dan Willemsen [Sat, 10 Dec 2016 07:21:49 +0000 (07:21 +0000)]
Merge "Fix PDK dupbuild issues"
am:
d1b10b20f6
Change-Id: I8185087dd90009c5203549ac1cea111fc921d7d7
Treehugger Robot [Sat, 10 Dec 2016 07:14:11 +0000 (07:14 +0000)]
Merge "Fix PDK dupbuild issues"
Dan Willemsen [Sat, 10 Dec 2016 05:15:41 +0000 (21:15 -0800)]
Fix PDK dupbuild issues
The PDK uses pattern rules in order to install files from the PDK. When
those files already have build rules, the explicit rules override the
pattern rules, and everything works. But because Make (and Kati) doesn't
attempt to clean the file paths, if one of the rules has a redundant /,
we'll export two ninja rules, and ninja will error out with a dupbuild
error.
The PDK pattern rules are clean, but the explicit notice file creation
was not, it was always adding a double // in between NOTICE_FILES/src
and the module path.
Some modules were also setting a LOCAL_MODULE_PATH with a trailing /,
which is redundant, and also hits the above problem. Instead of fixing
all of the modules, just strip a trailing / from my_module_path.
Bug:
33451638
Test: Build with a PDK
Change-Id: Iff3e98fd191ea90626b9b89f179537e8a75f5ef2
Elliott Hughes [Sat, 10 Dec 2016 00:23:56 +0000 (00:23 +0000)]
Merge changes from topic 'fsconfig-2'
am:
1b2de51881
Change-Id: I07622a3603986c42195089eb75e37a22cdba6517
William Roberts [Sat, 10 Dec 2016 00:21:34 +0000 (00:21 +0000)]
fs_config: add unit tests
am:
92ec0ab5e8
Change-Id: I7afc692257d31a09cd1bdcab2ed6d8835e56fa51
William Roberts [Sat, 10 Dec 2016 00:21:28 +0000 (00:21 +0000)]
fs_config: drop fs_config_files/dirs PRODUCT_PACKAGES requirement
am:
7fe8b6d817
Change-Id: Ie209bc0f1696ffdc5f167d229fc9f5378f8feb24
William Roberts [Sat, 10 Dec 2016 00:21:23 +0000 (00:21 +0000)]
fs_config: add group to build
am:
2127b35526
Change-Id: Icf5e4946bb6d53f2c8080a1327543ffb5a59531c
William Roberts [Sat, 10 Dec 2016 00:21:17 +0000 (00:21 +0000)]
fs_config: introduce group generator
am:
1c4721c3c5
Change-Id: I2eccb5f0d39a3740f540b683fb332df405728c4f
William Roberts [Sat, 10 Dec 2016 00:21:12 +0000 (00:21 +0000)]
fs_config: add passwd to build
am:
6d5e0c5df2
Change-Id: Ie912558d2258b3996fc4a5864f2c72e9781a3e62
William Roberts [Sat, 10 Dec 2016 00:21:07 +0000 (00:21 +0000)]
fs_config: introduce passwd generator
am:
316f9462af
Change-Id: I9c4c7b5fb1c384b97bf2be09a1d4d683c56c662d
William Roberts [Sat, 10 Dec 2016 00:21:02 +0000 (00:21 +0000)]
fs_config: generate friendly in AID class
am:
8f42ce71ac
Change-Id: I958aa6152a2b42bb7a82fe1e909fc911a08b2f36
William Roberts [Sat, 10 Dec 2016 00:20:57 +0000 (00:20 +0000)]
fs_config: limit characters for AID_<name> sections
am:
5f059a7691
Change-Id: Ie5be98d61bc5920dbe2055f0432b94a3b1c07110
William Roberts [Sat, 10 Dec 2016 00:20:51 +0000 (00:20 +0000)]
fs_config: generate oem AID header file
am:
cfc51f5347
Change-Id: I540683cf1b648ec7445ab204c2bf9ccaf396943e
William Roberts [Sat, 10 Dec 2016 00:20:46 +0000 (00:20 +0000)]
fs_config: android_id header generator
am:
d7104bca65
Change-Id: I96a721690d4e145aa859c5c23e3e892e9ce983c9
William Roberts [Sat, 10 Dec 2016 00:20:41 +0000 (00:20 +0000)]
fs_config: support parsing android_filesystem_config.h
am:
64edf5bb97
Change-Id: I95702e7e4ccefc9cb5c71710a8e8f2d5b3fbff80
William Roberts [Sat, 10 Dec 2016 00:20:35 +0000 (00:20 +0000)]
fs_config: modularize fs_config_generator
am:
11c29283ec
Change-Id: I3383ea79aded814c16d53bc18b36c27810f26163
Elliott Hughes [Sat, 10 Dec 2016 00:13:04 +0000 (00:13 +0000)]
Merge changes from topic 'fsconfig-2'
* changes:
fs_config: add unit tests
fs_config: drop fs_config_files/dirs PRODUCT_PACKAGES requirement
fs_config: add group to build
fs_config: introduce group generator
fs_config: add passwd to build
fs_config: introduce passwd generator
fs_config: generate friendly in AID class
fs_config: limit characters for AID_<name> sections
fs_config: generate oem AID header file
fs_config: android_id header generator
fs_config: support parsing android_filesystem_config.h
fs_config: modularize fs_config_generator
Colin Cross [Fri, 9 Dec 2016 22:59:50 +0000 (22:59 +0000)]
Merge "Add more module targets for host, host-cross, host32, host64"
am:
77ea32f378
Change-Id: I2d0b355290235842f1d033a90645d6c071864c4b
Treehugger Robot [Fri, 9 Dec 2016 22:54:59 +0000 (22:54 +0000)]
Merge "Add more module targets for host, host-cross, host32, host64"
Colin Cross [Fri, 9 Dec 2016 21:08:27 +0000 (13:08 -0800)]
Add more module targets for host, host-cross, host32, host64
Previously, clang-host would build the clang module for 32-bit and
64-bit for the host and for windows. Make clang-host only compile
for host, and add clang-host-cross for windows. Also add targets
that only build 32-bit or 64-bit: clang-host32, clang-host64,
clang-host-cross32, clang-host-cross64, clang-target32, and
clang-target64.
Test: inspect build.ninja
Change-Id: I7676f9497dfc852f2a0255dda8da06c88eec0db8
Paul Duffin [Fri, 9 Dec 2016 15:21:45 +0000 (15:21 +0000)]
Use legacy-test instead of core-junit
The core-junit library has been replaced with the legacy-test
library. The latter included everything that was in core-junit
plus some android.test classes that were in frameworks.
Bug:
30188076
Test: make checkbuild
Change-Id: Id2ba827705dbd2c27a1183e1153b03c11a8a4074
Colin Cross [Thu, 8 Dec 2016 23:47:04 +0000 (23:47 +0000)]
Merge "Pass eng product varible to soong"
am:
b39165d5df
Change-Id: I88acb79aaa12ec9ea2ac0847abf7f8406ccb479d
Colin Cross [Thu, 8 Dec 2016 23:42:16 +0000 (23:42 +0000)]
Merge "Pass eng product varible to soong"
Colin Cross [Thu, 8 Dec 2016 18:05:55 +0000 (10:05 -0800)]
Pass eng product varible to soong
Test: mmma -j frameworks/compile/libbcc
Change-Id: I79a903528948b728f730385a9de5e431617ff257
Andreas Gampe [Wed, 7 Dec 2016 17:40:41 +0000 (17:40 +0000)]
Merge "Build: Skip JNI lib symlink in second-stage build"
am:
6d4123aeb8
Change-Id: I38f45b7466015234de8bbe2a5ed1b3e9cfda3582