Commit Graph

70478 Commits

Author SHA1 Message Date
Hamzeh Zawawy 75a2f742a6 Merge "Add new target for building rust fuzzers for haiku" am: 26e4d3ed11
Original change: https://android-review.googlesource.com/c/platform/build/+/1691405

Change-Id: Ife764dc193be4b3aa419c9275f5beabb6f8b5494
2021-05-03 17:04:43 +00:00
Hamzeh Zawawy 26e4d3ed11 Merge "Add new target for building rust fuzzers for haiku" 2021-05-03 16:42:59 +00:00
David Srbecky 7568db864b Merge "Propagate CREATE_MINIDEBUGINFO to strip.sh" am: d18e14229c am: 9ad4c9219a am: 802c44c3f8
Original change: https://android-review.googlesource.com/c/platform/build/+/1692409

Change-Id: If2e7fd4aaec64a2b661d6169a6d92aaafd83a50f
2021-05-03 16:41:34 +00:00
David Srbecky 802c44c3f8 Merge "Propagate CREATE_MINIDEBUGINFO to strip.sh" am: d18e14229c am: 9ad4c9219a
Original change: https://android-review.googlesource.com/c/platform/build/+/1692409

Change-Id: I03d8b7a26ff622ad05b6f49543861143c1e4e4ba
2021-05-03 16:17:21 +00:00
David Srbecky 9ad4c9219a Merge "Propagate CREATE_MINIDEBUGINFO to strip.sh" am: d18e14229c
Original change: https://android-review.googlesource.com/c/platform/build/+/1692409

Change-Id: I39b0e4121b66381fa893a07c8b9ddf48897a8e89
2021-05-03 16:04:00 +00:00
David Srbecky d18e14229c Merge "Propagate CREATE_MINIDEBUGINFO to strip.sh" 2021-05-03 15:42:01 +00:00
Treehugger Robot e8cefbb3d8 Merge "Avoid to print undefined image_size and partition_size" am: 34949e63da am: 615815655b am: 4a3c54921f
Original change: https://android-review.googlesource.com/c/platform/build/+/1688189

Change-Id: I5bbf61a406ec1ecc56f216c759ccd7b13f6b0a37
2021-05-01 04:46:45 +00:00
Treehugger Robot 4a3c54921f Merge "Avoid to print undefined image_size and partition_size" am: 34949e63da am: 615815655b
Original change: https://android-review.googlesource.com/c/platform/build/+/1688189

Change-Id: Ie5ea5f07533be8173639f4944d725119275aa8b8
2021-05-01 04:32:37 +00:00
Treehugger Robot 615815655b Merge "Avoid to print undefined image_size and partition_size" am: 34949e63da
Original change: https://android-review.googlesource.com/c/platform/build/+/1688189

Change-Id: I62fc96095b705308723b4da753a478cd61f297a3
2021-05-01 04:17:33 +00:00
Treehugger Robot 34949e63da Merge "Avoid to print undefined image_size and partition_size" 2021-05-01 03:45:13 +00:00
Colin Cross 1d28f84dfe [automerger skipped] Use order-only dependencies for symbols files am: 44d4e6446a -s ours
am skip reason: Merged-In Ic164819c71f9db6126ff91c58752c8727cde0d5e with SHA-1 db98001be1 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/14387587

Change-Id: I622df340e551826d3e78b0b170407800573093fd
2021-04-30 23:26:38 +00:00
Chih-Hung Hsieh a606822f35 Fix more pylint warnings.
* add .pylintrc to use 2 space indentation
* rename single-letter local variables

Test: ./warn.py build.log > warnings.html
Change-Id: I2ca56a6cb130a9d6c73328c5592ad7cde8a974ab
2021-04-30 14:32:25 -07:00
David Srbecky bf086ed1a6 Propagate CREATE_MINIDEBUGINFO to strip.sh
Bug: 110133331
Test: m
Change-Id: I5899ad1c0f6111a48eabe7a104a573787cc688e7
2021-04-30 21:41:19 +01:00
Treehugger Robot 05de065d19 Merge "Use python3 specifically for envsetup.sh" am: 10b66f6975 am: 65e5396727 am: 0665e8e2fd
Original change: https://android-review.googlesource.com/c/platform/build/+/1691550

Change-Id: I2f422bf50fe91cada0b4310c117b7afee7bf7182
2021-04-30 20:26:49 +00:00
Treehugger Robot 0665e8e2fd Merge "Use python3 specifically for envsetup.sh" am: 10b66f6975 am: 65e5396727
Original change: https://android-review.googlesource.com/c/platform/build/+/1691550

Change-Id: I0be1b5ba1d5692410694ca399bc2c8527944d7ac
2021-04-30 20:09:18 +00:00
Treehugger Robot 65e5396727 Merge "Use python3 specifically for envsetup.sh" am: 10b66f6975
Original change: https://android-review.googlesource.com/c/platform/build/+/1691550

Change-Id: Iadd811006e17596c4e05e2291b3d9598844de7e8
2021-04-30 19:30:16 +00:00
Treehugger Robot 0183c65527 Merge "Disable VABC if either source/target doesn't support it" am: d19ec52207 am: 21983fbbf3 am: c76662b9fb
Original change: https://android-review.googlesource.com/c/platform/build/+/1688746

Change-Id: Iea49aaa32b556263c71b9c979298aa32effb5301
2021-04-30 19:16:15 +00:00
Treehugger Robot 10b66f6975 Merge "Use python3 specifically for envsetup.sh" 2021-04-30 19:14:55 +00:00
Treehugger Robot c76662b9fb Merge "Disable VABC if either source/target doesn't support it" am: d19ec52207 am: 21983fbbf3
Original change: https://android-review.googlesource.com/c/platform/build/+/1688746

Change-Id: I022e1be5a5c121b8dd00d58007315f3f60ce8cf6
2021-04-30 18:59:35 +00:00
Treehugger Robot 21983fbbf3 Merge "Disable VABC if either source/target doesn't support it" am: d19ec52207
Original change: https://android-review.googlesource.com/c/platform/build/+/1688746

Change-Id: I55731b25c0e0f59c476b100377d22a4418031326
2021-04-30 18:34:36 +00:00
Treehugger Robot d19ec52207 Merge "Disable VABC if either source/target doesn't support it" 2021-04-30 18:10:49 +00:00
Colin Cross 44d4e6446a Use order-only dependencies for symbols files
Use an order-only dependency from $(LOCAL_BUILT_MODULE) to the symbols
file so that wiping the symbols directory during installclean doesn't
force anything to rebuild.

Bug: 186507256
Test: m && rm -rf $OUT/symbols && m
Change-Id: Ic164819c71f9db6126ff91c58752c8727cde0d5e
Merged-In: Ic164819c71f9db6126ff91c58752c8727cde0d5e
(cherry picked from commit db98001be1)
2021-04-30 09:57:33 -07:00
Colin Cross e81cfd8344 Merge "Use order-only dependencies for symbols files" am: b847012f3b am: 39c14920b1 am: 799ecd9969
Original change: https://android-review.googlesource.com/c/platform/build/+/1688962

Change-Id: I440a4ce8ea4f74f04c94294ab0b9c3f57abc5949
2021-04-30 15:14:21 +00:00
Colin Cross 799ecd9969 Merge "Use order-only dependencies for symbols files" am: b847012f3b am: 39c14920b1
Original change: https://android-review.googlesource.com/c/platform/build/+/1688962

Change-Id: I25ab79b5897db0f183fa86128bf9e891449dfaaf
2021-04-30 15:06:28 +00:00
Colin Cross 39c14920b1 Merge "Use order-only dependencies for symbols files" am: b847012f3b
Original change: https://android-review.googlesource.com/c/platform/build/+/1688962

Change-Id: Ieda0b61ca5df91a7c0df2c901796dde474a02612
2021-04-30 14:57:27 +00:00
Colin Cross b847012f3b Merge "Use order-only dependencies for symbols files" 2021-04-30 14:42:46 +00:00
Kelvin Zhang 563750f483 Disable VABC if either source/target doesn't support it
If source supports VABC, delta_generator/update_engine will attempt to
use VABC. This dangerous, as the target build won't have snapuserd to
serve I/O request when device boots. Therefore, disable VABC if source
build doesn't supports it.

Test: downgrade from VABC enabled build to a build w/o VABC

Change-Id: Ie8353e00f65354c2242ee5255b6652c6b62483a4
2021-04-30 10:06:26 -04:00
Chih-hung Hsieh d6f196d65e Merge "Fix/suppress most pylint and gpylint warnings" am: 6ddd85608f am: 89388a5935 am: 5fd18b8f7b
Original change: https://android-review.googlesource.com/c/platform/build/+/1690128

Change-Id: I701bf9654565b3b5d99f087e55bdb9759f271b4e
2021-04-30 02:40:43 +00:00
Chih-hung Hsieh 5fd18b8f7b Merge "Fix/suppress most pylint and gpylint warnings" am: 6ddd85608f am: 89388a5935
Original change: https://android-review.googlesource.com/c/platform/build/+/1690128

Change-Id: If8c2fba198da14869b7d161631a6982adb9f09ea
2021-04-30 01:38:37 +00:00
Chih-hung Hsieh 89388a5935 Merge "Fix/suppress most pylint and gpylint warnings" am: 6ddd85608f
Original change: https://android-review.googlesource.com/c/platform/build/+/1690128

Change-Id: I71253126af3522c2d4fdd3a94f3dcb03d13f4cb0
2021-04-30 01:09:25 +00:00
Jusik Chung 549d078185 Merge "Include android-gts/lib folder in android-gts.zip" into sc-dev 2021-04-30 00:39:05 +00:00
Chih-hung Hsieh 6ddd85608f Merge "Fix/suppress most pylint and gpylint warnings" 2021-04-30 00:31:15 +00:00
Joe Onorato 0bac4fe09d Make verifymodinfo in envsetup.sh quiet on errors during tab completion
Test: m <tab><tab> before having done a full build.
Test: m <tab><tab> after having done a full build.
Change-Id: I35154151e6902d0337a26eab27d9d4fc797beed7
2021-04-29 15:44:29 -07:00
Joe Onorato 4acbe3b416 Use python3 specifically for envsetup.sh
Test: . build/envsetup.sh ; m <tab>
Change-Id: I94152c567f179fd7829bc675766e764624e5b7a3
2021-04-29 15:44:29 -07:00
hamzeh 5dfe7a214b Add new target for building rust fuzzers for haiku
Test: make haiku-rust
Change-Id: I0badb5c0ae4138abdbd3f9a404e8883f70ceb503
2021-04-29 13:28:04 -07:00
Anton Hansson 50b9eb21a0 Revert "Make module_* inherit aosp_*"
This reverts commit 708b854c4a.

The only diffs induced by using module_* are those incurred from using
armv8 for the 64-bit variants.

Bug: 185789027
Test: diff tests in mainline-prod and sc-mainline-prod
Change-Id: I7ed5cf93d240a58b50b655b861dd60c6965aafff
2021-04-29 12:00:39 +01:00
Treehugger Robot 65120599da Merge "Move core-icu4j.jar down in PRODUCT_BOOT_JARS." am: d9d007b271 am: 4ce5d51b69 am: a1a3711528
Original change: https://android-review.googlesource.com/c/platform/build/+/1688388

Change-Id: I06f812f1be3080cc3eb57d9506efd293c54331b7
2021-04-29 09:55:45 +00:00
Treehugger Robot a1a3711528 Merge "Move core-icu4j.jar down in PRODUCT_BOOT_JARS." am: d9d007b271 am: 4ce5d51b69
Original change: https://android-review.googlesource.com/c/platform/build/+/1688388

Change-Id: Iac46a06dc9eed8a4a46306d035f56fceaa32c102
2021-04-29 09:39:06 +00:00
Treehugger Robot 4ce5d51b69 Merge "Move core-icu4j.jar down in PRODUCT_BOOT_JARS." am: d9d007b271
Original change: https://android-review.googlesource.com/c/platform/build/+/1688388

Change-Id: I554e9d2f8213e0cb52fad7cecec23beb68f51043
2021-04-29 09:21:58 +00:00
Treehugger Robot d9d007b271 Merge "Move core-icu4j.jar down in PRODUCT_BOOT_JARS." 2021-04-29 08:59:50 +00:00
Huang Jianan f63abb1cae Avoid to print undefined image_size and partition_size
If dynamic partitioning is enabled and the partition size is not set,
we will get a KeyError before image_size or partition_size is calculated
when we try to catch exception in BuildImageMkfs.

Bug: 186704243
Test: build_image.py can correctly throw exception
Change-Id: I3d8c143ad5603d07fe94afb8bb911ead244f0bf7
Signed-off-by: Huang Jianan <huangjianan@oppo.com>
2021-04-29 07:40:46 +00:00
jschung 904e1735c8 Include android-gts/lib folder in android-gts.zip
Some gts tests such as JniUncompressGtsTestCases need native libraries
and those should be located under android-gts/lib.

Test: confirmed that the android-gts.zip includes lib folder
Bug: 186595833
Change-Id: I7d0605d0aff861059e3788630585e9ba412f9cac
2021-04-29 16:32:47 +09:00
Chih-Hung Hsieh 98b285dafb Fix/suppress most pylint and gpylint warnings
* Add missing function doc strings.
  Suppress this warning on trivial functions in *_warn_patterns.py.
* Remove unused g-importing-memeber, g-complex-comprehension.
* Suppress pylint warning on unrecognized g-* options.
* Suppress too-few-public-methods warnings on simple classes.
* Suppress too-many-arguments and missing-function-docstring in
  html_writer.py, which will be refactored later.
* Fix bad naming, long lines and line breaks, and bad quotes.

Test: compare output for build.log
Change-Id: Icdb34f014a10ec1e642c2cfe8003fc3ae245b507
2021-04-28 14:57:56 -07:00
Christian Wailes 6506d653a7 Merge "Update init.rc prebuilt handling" am: a6d2d8c79a am: ce4ec04629 am: 6734bccc47
Original change: https://android-review.googlesource.com/c/platform/build/+/1678345

Change-Id: I5b515b60b2392e35758c3849fd3b2083b97b2720
2021-04-28 20:23:52 +00:00
Christian Wailes 6734bccc47 Merge "Update init.rc prebuilt handling" am: a6d2d8c79a am: ce4ec04629
Original change: https://android-review.googlesource.com/c/platform/build/+/1678345

Change-Id: I5c42fc5f2a89515a2298b52c21537429bb8569a4
2021-04-28 19:47:59 +00:00
Christian Wailes ce4ec04629 Merge "Update init.rc prebuilt handling" am: a6d2d8c79a
Original change: https://android-review.googlesource.com/c/platform/build/+/1678345

Change-Id: I8ed50dec4b43cf33347fee32e5ecac3b637e99b8
2021-04-28 19:21:59 +00:00
Treehugger Robot 8aa7710d01 Merge "Moving debug ramdisk resources under / of the ramdisk" am: 2c806a7c94 am: fe4b552210 am: c3e5165e82
Original change: https://android-review.googlesource.com/c/platform/build/+/1685172

Change-Id: If85fa35ccc2208a206e883f7b9f3b5f62a0df4fd
2021-04-28 18:59:06 +00:00
Treehugger Robot c3e5165e82 Merge "Moving debug ramdisk resources under / of the ramdisk" am: 2c806a7c94 am: fe4b552210
Original change: https://android-review.googlesource.com/c/platform/build/+/1685172

Change-Id: I2c3b3271d25eb5e27dbe13af534a5353862a8fa0
2021-04-28 18:41:44 +00:00
Treehugger Robot fe4b552210 Merge "Moving debug ramdisk resources under / of the ramdisk" am: 2c806a7c94
Original change: https://android-review.googlesource.com/c/platform/build/+/1685172

Change-Id: Ia0bb3a61d5fe139f5f30ee0b4d406142f4e92acd
2021-04-28 18:19:47 +00:00
Christian Wailes a6d2d8c79a Merge "Update init.rc prebuilt handling" 2021-04-28 16:41:09 +00:00