aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-05-08Merge "Deprecate next set of make module types"temp_b_131756210_stage-aosp-masterDan Willemsen
am: 2cfbde6f38 Change-Id: I316acef9e09e909a255ef3dcbcea808023fabf4a
2019-05-08Merge "Deprecate next set of make module types"Treehugger Robot
2019-05-08Merge "releasetools: Update the comments regarding selinux_fc."Tao Bao
am: 45f74b104b Change-Id: I570d584f8eadcfacfc4a91470137e2c4f080d9df
2019-05-08Merge "Move ro.boot.dynamic_partitions to vendor/build.prop"Hridya Valsaraju
am: e591ef32a0 Change-Id: I54134846c9b6657bc0987ca18348f23353d8e3b9
2019-05-08Merge "releasetools: Update the comments regarding selinux_fc."Treehugger Robot
2019-05-08Merge "Move ro.boot.dynamic_partitions to vendor/build.prop"Treehugger Robot
2019-05-08releasetools: Update the comments regarding selinux_fc.Tao Bao
The former comment no longer applies, as we have been always packing META/file_contexts.bin in a target_files.zip (commit aa7318c3, since Nougat), and we no longer look for the one under BOOT/RAMDISK/ (commit d14b8956, since Q). Test: N/A Change-Id: I03f361234bf440e942f21e5a624862590248544b
2019-05-08Deprecate next set of make module typesDan Willemsen
BUILD_AUX_EXECUTABLE BUILD_AUX_STATIC_LIBRARY These shouldn't be used anymore, they were an intermediate state to build some firmware that is no longer being built in Android. BUILD_HOST_FUZZ_TEST BUILD_HOST_NATIVE_TEST BUILD_HOST_STATIC_TEST_LIBRARY BUILD_NATIVE_BENCHMARK BUILD_STATIC_TEST_LIBRARY There are no users of these left. Bug: 130735607 Bug: 130735003 Bug: 130691889 Bug: 130723134 Bug: 130722660 Bug: 130734558 Bug: 130735594 Test: build_test & check logs Change-Id: I8a9385040316495f7e7262d045be871e91712920
2019-05-08Merge "Unset AB_OTA_UPDATER from BoardConfigMainlineCommon."Tao Bao
am: 246a30a1cb Change-Id: If58241d1c5af2051f3bb40d503b5ee45c6a46b54
2019-05-08Merge "Unset AB_OTA_UPDATER from BoardConfigMainlineCommon."Tao Bao
2019-05-08Merge "Add BUILD_RECOVERY_IMAGE and BUILD_BOOT_IMAGE flags"Chris Gross
am: 84c96eba1e Change-Id: I66f4b0e3faaf3fcc16cd51a1e1f93d549fd708fd
2019-05-08Merge "Add BUILD_RECOVERY_IMAGE and BUILD_BOOT_IMAGE flags"Chris Gross
2019-05-08Move ro.boot.dynamic_partitions to vendor/build.propHridya Valsaraju
Bug: 132197773 Test: property present in vendor/build.prop Currently, the property resides in product partition which gets overwritten by the GSI image. Moving it to vendor will ensure that the property is set even when a GSI image is flashed on the device. Change-Id: I4d4a3c473194e15ba124a121f89bbb3ec1a73d19
2019-05-07Merge "Compute the needed shared libs for otatools."Tao Bao
am: 5eba1c9a67 Change-Id: I7a96636c6d61f0bed1d248c70eb7f58fb09a8ae6
2019-05-08Merge "Compute the needed shared libs for otatools."Treehugger Robot
2019-05-07Merge "Begins merging META/dynamic_partitions_info.txt."Daniel Norman
am: 7eae467469 Change-Id: I77da9b31ab363c3c8cea338df6a2863e7cbf0526
2019-05-08Merge "Begins merging META/dynamic_partitions_info.txt."Treehugger Robot
2019-05-07Merge "Use the installed vboot_signer."Tao Bao
am: 40c03ff116 Change-Id: I6369c9779b84c8d0cd9f5baafa9094426b946846
2019-05-07Merge "Use the installed vboot_signer."Tao Bao
2019-05-07Merge "Use --ignore_missing_files when creating symbols.zip"Colin Cross
am: 96ba044c94 Change-Id: I6374ab49d0307dfe55ca940880987f596bbb353c
2019-05-07Merge "Use --ignore_missing_files when creating symbols.zip"Treehugger Robot
2019-05-07Unset AB_OTA_UPDATER from BoardConfigMainlineCommon.Tao Bao
The previous need to build mainline devices as A/B no longer applies [1], as we have unbundled the install of update-payload-key.pub.pem from AB_OTA_UPDATER. Unsetting AB_OTA_UPDATER from BoardConfigMainlineCommon defers the decision of using A/B OTA to be board-specific. mainline_arm64 is considered as a specific board to build generic system-only OTAs in A/B format. So it defines the two variables there. [1] commit 571fab0610dc51afafe3d33c1ab460b61adeba00 Bug: 130516531 Test: TreeHugger Test: Compare the built images for GSI and mainline targets. They don't have different artifacts due to the change. Change-Id: I33cc9b6623dca7cc7c2a7e2c65cdbccced5e816e
2019-05-07Begins merging META/dynamic_partitions_info.txt.Daniel Norman
This file is used by OTA generation so it needs to appear in mixed builds with the combined content from the system and other versions of the file. Test: python -m unittest test_merge_target_files Test: Running merge_target_files on a dynamic-partition-enabled build and observing the resulting target files. Bug: 131889742 Change-Id: I4ddbebc087e430f6307d0bd5461121a374e58ea4
2019-05-07Use --ignore_missing_files when creating symbols.zipColin Cross
symbols.zip is created while files that are not part of the platform build but were requested on the Make command line (for example by passing "tests") are still being installed. Installation often involves removing and then recreating the file. If the file exists when the list of files to be zipped is created, but is removed when soong_zip is zipping, it fails with an error. Pass --ignore_missing_files to silence the error and keep zipping. Fixes: 79503862 Test: m checkbuild Change-Id: I1fbbf1f1396948288ee133c319b2e19dee97983b
2019-05-07Add BUILD_RECOVERY_IMAGE and BUILD_BOOT_IMAGE flagsChris Gross
Bug: 123428770 Test: Built system-only image and checked that no boot.img or recovery.img files where created. Booted the resulting merged build on device. Change-Id: I760476502775e68125907c39e66b8665e789a798
2019-05-07Merge "Use file_contexts.bin from other build to regenerate images."Bill Peckham
am: 7dbbc3075b Change-Id: Iae50c7e8eeb4411d30922b9047a046a07b2136ad
2019-05-07Merge "Use file_contexts.bin from other build to regenerate images."android-o-mr1-iot-release-1.0.12oreo-mr1-iot-releaseBill Peckham
2019-05-07Merge "Mark many single value variables as such"Anton Hansson
am: c43a3e1103 Change-Id: Ieae944df8cb9be17ab6af35bc43959ed532fac1e
2019-05-07Merge "Add support for single-value product variables"Anton Hansson
am: 3e29407793 Change-Id: I190269b39392c5daf70e84d50b68432b80a66ef5
2019-05-07Merge "Mark many single value variables as such"Anton Hansson
2019-05-07Merge "Add support for single-value product variables"Anton Hansson
2019-05-06Merge "releasetools: Support replacing the signing keys for chained vbmeta."Tao Bao
am: 32d69c6b74 Change-Id: I69b16c955f656b5749fc235c6044d549f340f22b
2019-05-07Merge "releasetools: Support replacing the signing keys for chained vbmeta."Tao Bao
2019-05-06Compute the needed shared libs for otatools.Tao Bao
This keeps the packed shared libs in sync with their executables. This CL also changes the packing location of mke2fs.conf, from system/extras/ext4_utils/mke2fs.conf to bin/mke2fs.conf. Bug: 34738751 Test: `m -j otatools-package`. Compare the packed files against the ones prior to this CL. Change-Id: Icae88e3cd898460f5ba7dc11ab8a57350630c432
2019-05-06Use the installed vboot_signer.Tao Bao
Bug: 34738751 Test: Set `PRODUCT_SUPPORTS_VBOOT := true` and `m -j otatools-package`. Check the packed tools. Test: Set `PRODUCT_SUPPORTS_VBOOT := true` and `m -j bootimage`. Change-Id: Ia2ea475e3dc03cada1da524a299a21b8ad7ed536
2019-05-06Merge "Using a test key to sign boot-debug.img if needed"Bowgo Tsai
am: 38809bdf99 Change-Id: Id87fa9dff8cb390a12fc41bb37bdba126a1ae2d1
2019-05-07Merge "Using a test key to sign boot-debug.img if needed"Treehugger Robot
2019-05-06Use file_contexts.bin from other build to regenerate images.Bill Peckham
The old process_file_contexts_bin function did not properly generate a usable file_contexts.bin to regenerate images, so instead use the file_contexts.bin from the other partial target files package. When combining any one of several other partial target files packages with a single system partial target files package, this file will properly apply contexts as long as the same source is used for the system partial target files. Test: Verify that file contexts are properlty applied to vendor image. Bug: 131584454 Change-Id: I16f8cc3b7f2eb7f09746f0ddcb2c1daf3fd19da6
2019-05-06releasetools: Support replacing the signing keys for chained vbmeta.Tao Bao
Bug: 131710801 Test: Run sign_target_files_apks.py on a target that uses vbmeta_system. Change-Id: I3bc526af3ec9f2680ca17ee5535607cff3ae9523
2019-05-06Merge "Don't inherit updatable_apex from mainline_system"Jiyong Park
am: 5e25df9f5a Change-Id: Ib14e1439146fa2a07bec43bb87a2e2334b1be7ea
2019-05-06Merge "Don't inherit updatable_apex from mainline_system"Treehugger Robot
2019-05-06Merge "Remove unused shared libs from otatools."Tao Bao
am: 59c700154b Change-Id: I0c2be0c51cd10cc375d3fc60d20ba957f0439af4
2019-05-06Merge "Remove unused shared libs from otatools."Tao Bao
2019-05-06Merge "emulator: support dynamic partitions"Bo Hu
am: 73c9f03b66 Change-Id: Ibc7a7576746eaa9eed5f2fed3539ee726d2bb630
2019-05-06Merge "emulator: support dynamic partitions"Bo Hu
2019-05-06Mark many single value variables as suchAnton Hansson
This changes these variables to not inherit multiple values, which allow for some more flexibility in how/where they're defined in makefiles. Also remove the previous equivalent solution that was in place for the PRODUCT_BUILD_* flags. Bug: 116769560 Test: presubmit Change-Id: Ia27a11d95263ceb45ffa355e75bb2aa6d9672139
2019-05-06Add support for single-value product variablesAnton Hansson
Prior to this change, all PRODUCT_* variables are inherited with list semantics, meaning the variable value in the current makefile as well as all the makefiles it inherits are concatenated together. Many of these variables are not lists, so this change adds the ability to classify a variable as a single-value variable, which will inherit at most one value (the first one), unless the variable is already defined in the current file. This change also marks all current variables as list variables. A future change will re-classify the single-value variables as such. Bug: 116769560 Test: presubmit Change-Id: I57719a5eefd0749e92c08b1773b6f929629267a3
2019-05-05Remove unused shared libs from otatools.Tao Bao
libcurl-host.so was added for delta_generator (commit f8e6fbe2f5). libext2_misc.so and libext2_profile-host.so were added for e2fsck and build_verity_tree (commit d0ec665727). None of them is actively used by otatools. Bug: 34738751 Test: `m -j otatools-package`. Unzip and check that there's no missing shared libs reported by ldd. Change-Id: Id229e450f5f2eaa03a6c6cf568a1912add06754c
2019-05-05emulator: support dynamic partitionsbohu
BUG: 125540538 Change-Id: I9d486f57ac4ec11b1bbe9ab97890d12441c3054e Merged-In: I9d486f57ac4ec11b1bbe9ab97890d12441c3054e
2019-05-04Merge "Update hmm text for mgrep."Jaewoong Jung
am: 21d0963839 Change-Id: I2a782cc7df8670002187d5eb50d72c3f125b37cc