Xin Li
62a34ff6af
Merge Android 12L
...
Bug: 222710654
Merged-In: I367438214a7649cade2396b48ed3efb14b564075
Change-Id: I78e650920f9cf47c1eaaa259103f8f95d3368f4c
2022-03-08 00:13:48 +00:00
Sasha Smundak
b87b773042
Add an option to use Starlark-based configuration by default.
...
In order to use Starlark-based product and board configuration for
a product, add its name to the STARLARK_OPT_IN_PRODUCTS list in
the AndroidProducts.mk file where this product is defined.
Fixes: 220379303
Test: Temporarily added STARLARK_OPT_IN_PRODUCTS to build/make/target/product/AndroidProducts.mk
Change-Id: Iacd23cec00a7a1958701873bce0fc9d5f79b1f17
2022-03-07 11:26:59 -08:00
Sasha Smundak
d40c94633b
Clean up product definitions reading.
...
Bug: 220379303
Test: treehugger
Change-Id: I6b9b3bd486a1680ace8278eb5160e09885543f4b
2022-03-07 11:25:58 -08:00
Cole Faust
c6de8d531c
Remove duplicate slashes from find_and_copy results
...
The make version, find-copy-subdir-files, has very
similiar functionality: it adds `| sed "s://:/:g"`
to its results.
Fixes: 223221122
Test: Manually
Change-Id: Iaac96f760d46304aed27a7d31bb4e8bd930c2c55
2022-03-07 11:14:56 -08:00
Dario Freni
63328a59db
Merge "Build modules from source by default." am: ec63efddf9
am: a05fb4002b
...
Original change: https://android-review.googlesource.com/c/platform/build/+/1998880
Change-Id: I23f70bd3c0531f3dc5b8abcd08b3fabc9420d7dd
2022-03-07 17:48:38 +00:00
Dario Freni
a05fb4002b
Merge "Build modules from source by default." am: ec63efddf9
...
Original change: https://android-review.googlesource.com/c/platform/build/+/1998880
Change-Id: I367438214a7649cade2396b48ed3efb14b564075
2022-03-07 17:26:25 +00:00
Dario Freni
ec63efddf9
Merge "Build modules from source by default."
2022-03-07 17:00:39 +00:00
Dario Freni
fd8c869065
Build modules from source by default.
...
Most branches, most of the time, will build modules from source. By
changing the default we make it easier to switch a whole branch to use
module prebuilts by requiring only one CL to be committed on that branch
and nowhere else.
Before this change, dozens of Soong targets needed to be updated when
deciding to start using prebuilts for modules and sdk stubs. In
addition, the typical need is to enable prebuilts on a single branch at
the time, which resulted in a dozens of "D0 N0T MERGE ANYWHERE" CLs,
causing a lot of confusion.
Bug: 184842499
Test: (on a branch with ModuleMetadataGoogle enabled as prebuilt):
m out/target/product/sunfish/product/app/ModuleMetadataGoogle/ModuleMetadataGoogle.apk
(verified with `aapt2 dump badging` that apk is built from source)
MODULE_BUILD_FROM_SOURCE=false m out/target/product/sunfish/product/app/ModuleMetadataGoogle/ModuleMetadataGoogle.apk
(verified with `aapt2 dump badging` that apk is prebuilt)
Change-Id: I625c48640c4bb1edf360605a1daac293a4a0a07a
2022-03-07 17:00:09 +00:00
Treehugger Robot
88aa664d13
Merge "Add an option to set VABC compression algo" am: 966482dc56
am: 59c8ca8c63
...
Original change: https://android-review.googlesource.com/c/platform/build/+/2006773
Change-Id: I2916b5d60da568a5a6aa5ed480694e22390bb461
2022-03-05 00:38:09 +00:00
Treehugger Robot
59c8ca8c63
Merge "Add an option to set VABC compression algo" am: 966482dc56
...
Original change: https://android-review.googlesource.com/c/platform/build/+/2006773
Change-Id: Ibaef432422fe798f8622516a0d5e7f3c57d0f1af
2022-03-05 00:14:23 +00:00
Treehugger Robot
93f34b089e
Merge "Allow vendor_otatools arg to be file or folder" am: a2d6ed53f0
am: 8414a9e9c0
...
Original change: https://android-review.googlesource.com/c/platform/build/+/2007451
Change-Id: I6e0087bfda17fe45418928103f95154c5592710a
2022-03-05 00:04:49 +00:00
Treehugger Robot
966482dc56
Merge "Add an option to set VABC compression algo"
2022-03-04 23:56:27 +00:00
Treehugger Robot
8414a9e9c0
Merge "Allow vendor_otatools arg to be file or folder" am: a2d6ed53f0
...
Original change: https://android-review.googlesource.com/c/platform/build/+/2007451
Change-Id: Ie7d1ac14913ad484f6c172605da60b9394fd479a
2022-03-04 23:30:36 +00:00
Treehugger Robot
a2d6ed53f0
Merge "Allow vendor_otatools arg to be file or folder"
2022-03-04 23:08:21 +00:00
David Anderson
f54665f42a
Add build flags for legacy EROFS support.
...
EROFS images by default will only work on newer kernels. Old versions of
5.4 and 4.19 need an extra flag to mkfs.erofs.
Add BUILD_EROFS_USE_LEGACY_COMPRESSION to force this flag.
Bug: 222373106
Test: build with BUILD_EROFS_USE_LEGACY_COMPRESSION enabled
Change-Id: I3818e14356beaa11073c6b9fea6a6ad999bba4aa
2022-03-04 14:47:17 -08:00
Cole Faust
b1a56f153e
Merge "Add ART_MODULE_BUILD_FROM_SOURCE to control the equivalent soong config variable" am: 1421f7c7c3
am: dc426cf23b
...
Original change: https://android-review.googlesource.com/c/platform/build/+/2000971
Change-Id: I643eed7293251048ab0a7fe38f57b5b98df0dc55
2022-03-04 22:46:04 +00:00
Cole Faust
dc426cf23b
Merge "Add ART_MODULE_BUILD_FROM_SOURCE to control the equivalent soong config variable" am: 1421f7c7c3
...
Original change: https://android-review.googlesource.com/c/platform/build/+/2000971
Change-Id: I65fb099bacdea8e2c8382838f1d86e8edae51774
2022-03-04 22:22:38 +00:00
Cole Faust
1421f7c7c3
Merge "Add ART_MODULE_BUILD_FROM_SOURCE to control the equivalent soong config variable"
2022-03-04 22:02:24 +00:00
Pirama Arumuga Nainar
0a04ec1f3b
Accept CLANG_COVERAGE_CONTINUOUS_MODE build variable
...
Bug: http://b/194128476
Coverage instrumentation will support continuous mode when this flag is
set.
Test: CLANG_COVERAGE_CONTINUOUS_MODE m and verify continuous mode works.
Change-Id: I187574c600ba10145dfb2c6c23551d235c33103a
2022-03-04 12:45:33 -08:00
Kelvin Zhang
84b3a28603
Add an option to set VABC compression algo
...
When testing on cuttlefish, space consumption isn't a concern, so
compression can be disabled to save time. We also want to test the
non-compressed code path, as we expect some OEMs to use userspace COW
w/o compression.
If no --vabc_compression_param option specified to
ota_from_target_files, we will use the compression algo specified in
target_files's dynamic_partition_info.txt.
Bug: 219966986
Test: th
Change-Id: Ie18064b15938550ad6fb4efc86fc100c12321dc0
2022-03-04 12:29:30 -08:00
David Anderson
94ad5bb5ef
build_image: Remove mkerofsimage.sh.
...
These wrapper scripts are difficult to maintain and there's not really
any value add. The argument strings don't match and every new build flag
has to be connected in an extra place.
Bug: 222715577
Test: make with EROFS enabled
Change-Id: Ie0e51cc30aa08b004d5d8345a2a2d885e193ffa9
2022-03-04 11:07:43 -08:00
Iavor-Valentin Iftime
63cde0fd92
Allow vendor_otatools arg to be file or folder
...
Required by signer script when using "--vendor_otatools" argument.
Bug: 220126689
Bug: 186097910
Test: sign_target_files_apks \
--vendor_otatools=otatools_vendor_dir \
--vendor_partitions=vendor,odm \
merged-target_files.zip \
signed-target_files.zip
Change-Id: Iaa596f95f9db1e1e423b8306e9590fe27acb76e7
2022-03-04 16:02:46 +00:00
Treehugger Robot
d48ba50f33
Merge "Move comment to license_note" am: 4e09d57fa7
am: 267d9eeb59
...
Original change: https://android-review.googlesource.com/c/platform/build/+/2008052
Change-Id: Ifc39e7b240505e9acf9601fbeea7636d55300a3a
2022-03-04 15:21:31 +00:00
Treehugger Robot
267d9eeb59
Merge "Move comment to license_note" am: 4e09d57fa7
...
Original change: https://android-review.googlesource.com/c/platform/build/+/2008052
Change-Id: Ifb7743b4119875c00783c5b517d871c16e7cf2a1
2022-03-04 14:58:51 +00:00
Treehugger Robot
4e09d57fa7
Merge "Move comment to license_note"
2022-03-04 14:39:32 +00:00
Treehugger Robot
3248b76fa1
Merge "Phony target to report all library names." am: f2a0110d36
am: 578d7b2492
...
Original change: https://android-review.googlesource.com/c/platform/build/+/2002324
Change-Id: Ie51c31a86a051f8771c819b2e0bdf69f665c93e6
2022-03-04 03:12:41 +00:00
Treehugger Robot
578d7b2492
Merge "Phony target to report all library names." am: f2a0110d36
...
Original change: https://android-review.googlesource.com/c/platform/build/+/2002324
Change-Id: I236cdbe7b5723e0b2c54075bca83fb471346d2cc
2022-03-04 02:50:26 +00:00
Treehugger Robot
f2a0110d36
Merge "Phony target to report all library names."
2022-03-04 02:23:38 +00:00
Treehugger Robot
c817796067
Merge "Allow missing key for misc_info lookups." am: 54188ba009
am: 39ec08569c
...
Original change: https://android-review.googlesource.com/c/platform/build/+/2007930
Change-Id: Id3fa892c802a490ee80248810f356926c3f590e1
2022-03-04 00:39:56 +00:00
Treehugger Robot
39ec08569c
Merge "Allow missing key for misc_info lookups." am: 54188ba009
...
Original change: https://android-review.googlesource.com/c/platform/build/+/2007930
Change-Id: I9d91627787936369a4931451c7f3dc21711a6c16
2022-03-04 00:15:05 +00:00
Treehugger Robot
54188ba009
Merge "Allow missing key for misc_info lookups."
2022-03-03 23:46:15 +00:00
Bob Badour
e6d0369d01
Move comment to license_note
...
Comments not preserved during refresh.
Test: m nothing
Change-Id: Id088dbe25ab9a3508e87b77f0ff877255423a1dd
2022-03-03 14:57:46 -08:00
Daniel Norman
c44f964a5a
Allow missing key for misc_info lookups.
...
This broke the TV-VF build in ab/8246202.
Change-Id: Ifbf76a3c43c46fcd4280180e45ad23fcbed9346d
2022-03-03 19:42:32 +00:00
Treehugger Robot
701b9ea802
Merge "Add SPL downgrade option help text" am: 0b6921be2b
am: 075daf7363
...
Original change: https://android-review.googlesource.com/c/platform/build/+/2005090
Change-Id: Idbc8840c924ba60c57f018a27680afa4cd71a0ea
2022-03-03 18:48:33 +00:00
Treehugger Robot
075daf7363
Merge "Add SPL downgrade option help text" am: 0b6921be2b
...
Original change: https://android-review.googlesource.com/c/platform/build/+/2005090
Change-Id: I5642277743a9b63b0240415d50927f35e6c3a20d
2022-03-03 18:24:35 +00:00
Treehugger Robot
0b6921be2b
Merge "Add SPL downgrade option help text"
2022-03-03 17:56:41 +00:00
Bob Badour
77570059cd
Phony target to report all library names.
...
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m nothing reportallnoticelibrarynames
Change-Id: I0f791e2d92b8135d6af3a6c93f0db348fc69f5a1
2022-03-02 22:32:37 -08:00
Treehugger Robot
6fd34f2965
Merge "Clean up merge_target_files" am: 5b48aeccb2
am: 168ea6a2b9
...
Original change: https://android-review.googlesource.com/c/platform/build/+/2002319
Change-Id: I1c6d5146f3b2cc45bf9a768161ab8dad40f15b01
2022-03-03 00:41:26 +00:00
Treehugger Robot
168ea6a2b9
Merge "Clean up merge_target_files" am: 5b48aeccb2
...
Original change: https://android-review.googlesource.com/c/platform/build/+/2002319
Change-Id: Iddd34c28b1272dd81bea8f155876f8f7b9e0a876
2022-03-03 00:19:21 +00:00
Treehugger Robot
5b48aeccb2
Merge "Clean up merge_target_files"
2022-03-02 23:51:31 +00:00
Cole Faust
9b65259574
Merge "Add Starlark implementation of add-product-dex-preopt-module-config" am: 339d56308d
am: 3f8f28026e
...
Original change: https://android-review.googlesource.com/c/platform/build/+/2002313
Change-Id: I3168e53c1da9e76ef3fb6a72e7249a12b923d053
2022-03-02 19:32:13 +00:00
Cole Faust
3f8f28026e
Merge "Add Starlark implementation of add-product-dex-preopt-module-config" am: 339d56308d
...
Original change: https://android-review.googlesource.com/c/platform/build/+/2002313
Change-Id: I951c84fd3ac06ad25ff8a3c7349ee61b767a400c
2022-03-02 19:07:51 +00:00
Cole Faust
339d56308d
Merge "Add Starlark implementation of add-product-dex-preopt-module-config"
2022-03-02 18:40:36 +00:00
Paul Hu
7fe3a47b68
Merge "Rename framework-connectivity-tiramisu to framework-connectivity-t" am: 70dc07dbd3
am: 8b81343e39
...
Original change: https://android-review.googlesource.com/c/platform/build/+/1976806
Change-Id: Ib745287298e60a21f021e9d586c8cb9d0e6b2d6d
2022-03-02 07:48:40 +00:00
Paul Hu
8b81343e39
Merge "Rename framework-connectivity-tiramisu to framework-connectivity-t" am: 70dc07dbd3
...
Original change: https://android-review.googlesource.com/c/platform/build/+/1976806
Change-Id: I1be61a70760e41474cd227a202a9ed19d29b384f
2022-03-02 07:27:23 +00:00
Paul Hu
70dc07dbd3
Merge "Rename framework-connectivity-tiramisu to framework-connectivity-t"
2022-03-02 07:11:25 +00:00
Treehugger Robot
7cdb6c016c
Merge "Revert "[cc_fuzz] Revert 'disable LTO' patches."" am: ff17a1bd66
am: 857fa04e03
...
Original change: https://android-review.googlesource.com/c/platform/build/+/2004384
Change-Id: Icfa502d6ed2dde6cac992442458fafa2f8c199c4
2022-03-02 06:05:39 +00:00
Treehugger Robot
857fa04e03
Merge "Revert "[cc_fuzz] Revert 'disable LTO' patches."" am: ff17a1bd66
...
Original change: https://android-review.googlesource.com/c/platform/build/+/2004384
Change-Id: I37e5fcc920a6fa9e4b64d4a63aaa881bfca82ce6
2022-03-02 05:33:43 +00:00
Treehugger Robot
ff17a1bd66
Merge "Revert "[cc_fuzz] Revert 'disable LTO' patches.""
2022-03-02 05:08:27 +00:00
Treehugger Robot
945140a4b4
Merge "Fix releasetools OWNERS for merge." am: 92c59c42d3
am: 7f0a03e6cc
...
Original change: https://android-review.googlesource.com/c/platform/build/+/2004390
Change-Id: I8d11c9d7a5735ddc8ce6c346ec076ffbfa58bf40
2022-03-02 01:51:40 +00:00