Commit Graph

29493 Commits

Author SHA1 Message Date
Treehugger Robot
ec4ce2fcb4 Merge "Sort AB_OTA_PARTITIONS" am: 94daa8bfab am: 35630ea74e
Original change: https://android-review.googlesource.com/c/platform/build/+/1990850

Change-Id: Icee3c88ef63f2ed370e05f9c99755b02b43bf0b7
2022-02-18 21:46:28 +00:00
Treehugger Robot
1e1777605a Merge "Make it possible to avoid specifying boot partition sizes." am: b23cdfb12b
Original change: https://android-review.googlesource.com/c/platform/build/+/1989408

Change-Id: Ia88b2f333d60fe025f60f09a8397982dad6c12c5
2022-02-18 21:16:21 +00:00
Treehugger Robot
f46cbe5abe Merge "Add data_bins to data_dependencies in module-info" am: 0eebb8580e
Original change: https://android-review.googlesource.com/c/platform/build/+/1981748

Change-Id: I13fbd15950d597861ab394412007c26cfe9c1ec3
2022-02-18 21:14:53 +00:00
Treehugger Robot
35630ea74e Merge "Sort AB_OTA_PARTITIONS" am: 94daa8bfab
Original change: https://android-review.googlesource.com/c/platform/build/+/1990850

Change-Id: Idb64b02f7c061b91a6f349e922a78516db53c111
2022-02-18 21:13:11 +00:00
Treehugger Robot
b23cdfb12b Merge "Make it possible to avoid specifying boot partition sizes." 2022-02-18 01:40:25 +00:00
Treehugger Robot
0eebb8580e Merge "Add data_bins to data_dependencies in module-info" 2022-02-18 01:26:07 +00:00
Treehugger Robot
94daa8bfab Merge "Sort AB_OTA_PARTITIONS" 2022-02-18 01:17:45 +00:00
Peter Collingbourne
730200ec86 Make it possible to avoid specifying boot partition sizes.
Virtual platforms may have no boot partition as such, so there
is no practical limit on the partition size. Therefore, make it
possible to omit the partition size (i.e. by omitting a definition of
BOARD_*BOOTIMAGE_PARTITION_SIZE), allowing unrestricted boot partition
sizes on those platforms.

The macro get-bootimage-partition-size needs to return an empty string
in the case where the variable is not defined in order for consumers
such as assert-max-image-size and get-hash-image-max-size that test
its result using $(if) to properly disable the size check in that
case. The indentation was causing the macro to return the string
"  " instead, which caused an unrequested size check to be inserted.
Fix it by removing the indentation.

A separate patch to avbtool makes it possible to omit the
--partition_size argument when passing --dynamic_partition_size.

Change-Id: Ie836feeb4c3e3b86d9c7950ff45933294cea9410
Bug: 142352330
2022-02-17 14:26:56 -08:00
Cole Faust
900999973e Sort AB_OTA_PARTITIONS
Some product config makefiles are being refactored for
the conversion to Starlark. In order to test that the
refactor doesn't cause any meaningful change, we test
that the ninja files are the same before/after the refactor.
Currently, they have differences in the order of AB_OTA_PARTIONS,
which shouldn't matter. In order to increase our confidence
and make the ninja files more stable, sort AB_OTA_PARTITIONS
before it's used.

Bug: 220169197
Test: Presubmits
Change-Id: I6a9f9f2990406d810577cf8930416925f2987311
2022-02-17 11:35:27 -08:00
Anton Hansson
fd9a21b9bd Pass the base sdk extension version to soong
So that it can be added to the soong config.

Bug: 220086085
Test: m nothing && inspect soong.variables
Change-Id: I949059b9284b16220e2489010279aeae98b4b7fb
2022-02-17 11:16:18 +00:00
yangbill
e6b498bf2d Add data_bins to data_dependencies in module-info
This change exports the list of test_data_bins as data dependencies
that are required by modules when running the test.

Bug: 215234071
Test: m out/target/product/vsoc_x86_64/module-info.json
Change-Id: Ie5c1ef70055618a5fa0ba1bcfbcba8054743d41a
2022-02-17 05:17:03 +00:00
Treehugger Robot
3c1a32ba9d Merge "Add sepolicy prebuilt API dirs to soong config" am: b194430f63 am: 5cea07bb12
Original change: https://android-review.googlesource.com/c/platform/build/+/1985069

Change-Id: Ia5b4634f06a0f06a0fe57c9afa8ef734aa42155c
2022-02-17 02:08:30 +00:00
Treehugger Robot
5cea07bb12 Merge "Add sepolicy prebuilt API dirs to soong config" am: b194430f63
Original change: https://android-review.googlesource.com/c/platform/build/+/1985069

Change-Id: I25b98136d0625d91f422f4bf68b198c5c33b0a8d
2022-02-17 01:46:44 +00:00
Treehugger Robot
b194430f63 Merge "Add sepolicy prebuilt API dirs to soong config" 2022-02-17 01:26:04 +00:00
Treehugger Robot
4e8b1df7d2 Merge "Update to llvm-ar's new argument format" am: 4d56eccb79 am: 3f11948e03
Original change: https://android-review.googlesource.com/c/platform/build/+/1988046

Change-Id: I634500e3efe3b49b57567413f3106d5759f5ed5d
2022-02-16 23:18:41 +00:00
Treehugger Robot
3f11948e03 Merge "Update to llvm-ar's new argument format" am: 4d56eccb79
Original change: https://android-review.googlesource.com/c/platform/build/+/1988046

Change-Id: I6cabd97eff8ca7c7792b6b50059081fe3c6088b2
2022-02-16 22:56:21 +00:00
Yi Kong
b1ebaebd94 Update to llvm-ar's new argument format
llvm-ar bundled in the next llvm update will stop accepting the legacy
single-dash argument format.

Bug: 219872355
Test: presubmit
Change-Id: Iede68e4b13c3a01c176d26f335f96879c5c72c12
2022-02-16 18:41:09 +08:00
Xin Li
4455b0dc97 Merge "Merge sc-v2-dev-plus-aosp-without-vendor@8084891" into stage-aosp-master 2022-02-14 17:31:18 +00:00
Inseob Kim
cc665e54e3 Add sepolicy prebuilt API dirs to soong config
Bug: 33691272
Test: build
Change-Id: Id2ea256507cdbcdcd67751c96c911f49f5fdb3f0
2022-02-14 23:10:08 +09:00
Artur Satayev
f20c233bad Merge "Introduce ro.build.version.known_codenames sysprop." am: ac87c5e13a am: 206f023938
Original change: https://android-review.googlesource.com/c/platform/build/+/1976678

Change-Id: Ie7320298cd0c1fa511e2174e13fe4f34fe1e8ac5
2022-02-14 12:43:40 +00:00
Artur Satayev
ac87c5e13a Merge "Introduce ro.build.version.known_codenames sysprop." 2022-02-14 12:08:04 +00:00
Treehugger Robot
0171332b5a Merge "Add macros for declaring copied file licenses." am: 6d361637e3 am: 3d0b257b0a
Original change: https://android-review.googlesource.com/c/platform/build/+/1978047

Change-Id: I527b9f9d5cad79132802e580f58ea11e28155291
2022-02-12 02:30:37 +00:00
Treehugger Robot
6d361637e3 Merge "Add macros for declaring copied file licenses." 2022-02-12 01:59:49 +00:00
Bassem Khalife
6c815b28f9 Update Security String to 2022-04-05 am: 41a3269dd6
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/16742828

Change-Id: Ia3b5d968b608239a114ebb9ea844386c7f0eb98d
2022-02-12 01:55:19 +00:00
Bob Badour
8cbb845e37 Add macros for declaring copied file licenses.
The PRODUCT_COPY_FILES is populated before definitions.mk mapping
source files to installed files that get copied unchanged.

Need to be able to declare license metadata for the copied files such
that similarly named files in different projects can have different
licenses.

Need a macro to convert target names to their corresponding license
metadata.

Bug: 68860345
Bug: 151177513
Bug: 151953481
Bug: 213388645
Bug: 210912771

Test: m nothing

Change-Id: Ic244b3525e72b6cd8c4c4305bf5ad430d6e24ccb
2022-02-11 14:10:06 -08:00
satayev
2d94586cff Introduce ro.build.version.known_codenames sysprop.
It defines values for Build.VERSION.KNOWN_CODENAMES constant, and should
contain all codenames starting from Q, including current codename
for in development branches.

Bug: 211747008
Test: presubmit
Change-Id: If8995750e369ba39bfc7041580c21b2f96632a78
2022-02-11 13:20:49 +00:00
Xin Li
b3a96bd273 Merge sc-v2-dev-plus-aosp-without-vendor@8084891
Bug: 214455710
Merged-In: Ibcb32225098883b4098807da6468a539e1c41c0c
Change-Id: I408a03e95c0240420c5e5492988abdc4937a0a62
2022-02-11 07:01:21 +00:00
Treehugger Robot
a482a6030d Merge "Export runtime dependencies in module-info" am: b52c28d026 am: 8829ee1440 am: 5fb866e401
Original change: https://android-review.googlesource.com/c/platform/build/+/1964821

Change-Id: I9ceb8bc86c07697218592a80e2042af39f2353c8
2022-02-11 01:47:25 +00:00
Treehugger Robot
5fb866e401 Merge "Export runtime dependencies in module-info" am: b52c28d026 am: 8829ee1440
Original change: https://android-review.googlesource.com/c/platform/build/+/1964821

Change-Id: I9c6e9676de29f784cdb029b5dd35416a6effc0e1
2022-02-11 01:18:26 +00:00
Treehugger Robot
b52c28d026 Merge "Export runtime dependencies in module-info" 2022-02-11 00:56:26 +00:00
Treehugger Robot
0d48483d39 Merge "Add an misc_info.txt entry to customize VABC compression" am: 3c84e5f114 am: a1e8783ffd am: f76bbe1ddb
Original change: https://android-review.googlesource.com/c/platform/build/+/1978746

Change-Id: I41eb3c619adf01b15782af5afb14d4abacf4cf62
2022-02-10 10:06:08 +00:00
Treehugger Robot
f76bbe1ddb Merge "Add an misc_info.txt entry to customize VABC compression" am: 3c84e5f114 am: a1e8783ffd
Original change: https://android-review.googlesource.com/c/platform/build/+/1978746

Change-Id: Ia77f8027543d5216c8715bdc87a3a28cfdeac44e
2022-02-10 09:49:36 +00:00
Treehugger Robot
256e3a38fb Merge "Add missing LOCAL_ROTATION_MIN_SDK_VERSION" am: 901ee09c90 am: c9512971a9 am: d6d974ebcc
Original change: https://android-review.googlesource.com/c/platform/build/+/1977691

Change-Id: I033a596ae7a2f51fa885b0d9e8a0c7cea94bfff7
2022-02-10 09:28:13 +00:00
Treehugger Robot
3c84e5f114 Merge "Add an misc_info.txt entry to customize VABC compression" 2022-02-10 08:41:04 +00:00
Treehugger Robot
d6d974ebcc Merge "Add missing LOCAL_ROTATION_MIN_SDK_VERSION" am: 901ee09c90 am: c9512971a9
Original change: https://android-review.googlesource.com/c/platform/build/+/1977691

Change-Id: I7b0e1580e840494ad1a8c3a2048fc14a240446e7
2022-02-10 08:39:00 +00:00
yangbill
fa5026c4d8 Export runtime dependencies in module-info
This change exports the list of dependencies that are required by
modules at runtime. Note that only the host case is currently
handled.

Bug: 215243373
Test: m out/target/product/vsoc_x86_64/module-info.json
Change-Id: I05199c54da311e59c7ea87595397ee4eecfab6a3
2022-02-10 08:07:13 +00:00
yangbill
10adf32047 Add missing LOCAL_ROTATION_MIN_SDK_VERSION
This definition missing will cause merge conflict which is already in
main branch.

Bug: 215243373
Test: m out/target/product/vsoc_x86_64/module-info.json
Change-Id: Ifc103268aad9d6769822ff1eae4db1cc59aee57e
Merged-In: I3b5e9bb3985c2ae83381499a44b339a7b1deb05c
2022-02-10 08:05:06 +00:00
Bassem Khalife
41a3269dd6 Update Security String to 2022-04-05
Bug: 216579780
Change-Id: Ia4661819b2f7ad4cef86d026c97ce07c3be8e005
2022-02-10 06:19:50 +00:00
Kelvin Zhang
fa91e98985 Add an misc_info.txt entry to customize VABC compression
Products can define PRODUCT_VIRTUAL_AB_COMPRESSION_METHOD
to specify the compression algorithm they prefer, or "none"
for no compression at all.

Test: th
Change-Id: I4fa27bd2c87b8f46c51023168d079e9b47ce2924
2022-02-09 14:23:16 -08:00
Treehugger Robot
9e643c59f9 Merge "Pass --makefile_list to rbc board configuration" am: a95befe008 am: 975d03f73d am: 4fc71bedb8
Original change: https://android-review.googlesource.com/c/platform/build/+/1975866

Change-Id: I221cebcf3193e8c94556a64e0ac47ee90cb09426
2022-02-08 21:00:12 +00:00
Treehugger Robot
4fc71bedb8 Merge "Pass --makefile_list to rbc board configuration" am: a95befe008 am: 975d03f73d
Original change: https://android-review.googlesource.com/c/platform/build/+/1975866

Change-Id: I0edb0b0351855a5473f78a2e5d253002c5293fc6
2022-02-08 20:44:42 +00:00
Treehugger Robot
a95befe008 Merge "Pass --makefile_list to rbc board configuration" 2022-02-08 20:06:45 +00:00
Mitch Phillips
2912b901ff [cc_fuzz] Revert 'disable LTO' patches.
The toolchain no longer has a problem with sancov + LTO.

Bug: 131771163
Test: make haiku
Change-Id: Ic509b00a1c465ce9fb18cf8fcfe8fc76270b0857
2022-02-08 10:53:23 -08:00
Xin Li
849ad3ba72 Merge SQ1A.220205.002
Bug: 213904741
Merged-In: Ifcc54fbdb18bb480e73c2f52ebefd968b52a1e27
Change-Id: I880096a3272bb9ae5b95e7f9b507b464b5aec856
2022-02-07 23:16:55 -08:00
Treehugger Robot
12667b84f7 Merge "Update default system Proguard config rules" am: 2624cfa2dc am: d836e794d6 am: f1e502094c
Original change: https://android-review.googlesource.com/c/platform/build/+/1975127

Change-Id: I59af4cc92a60a1f27361e8c300987cf11d06d4eb
2022-02-08 06:04:47 +00:00
Pirama Arumuga Nainar
5b6a981a79 Merge "Add GLOBAL_CLANG_EXTERNAL_CFLAGS_NO_OVERRIDE to third-party code" am: 9335286372 am: 1d88752712 am: 68f0520a1d
Original change: https://android-review.googlesource.com/c/platform/build/+/1973521

Change-Id: I2a99d9d64f05a6dd3dcf2dfd7288064acd80d014
2022-02-08 06:04:39 +00:00
Treehugger Robot
f1e502094c Merge "Update default system Proguard config rules" am: 2624cfa2dc am: d836e794d6
Original change: https://android-review.googlesource.com/c/platform/build/+/1975127

Change-Id: Icf938b594a4b48fb1ab6d32d224b566002b12dc7
2022-02-08 05:53:16 +00:00
Pirama Arumuga Nainar
68f0520a1d Merge "Add GLOBAL_CLANG_EXTERNAL_CFLAGS_NO_OVERRIDE to third-party code" am: 9335286372 am: 1d88752712
Original change: https://android-review.googlesource.com/c/platform/build/+/1973521

Change-Id: I4a2594fb1f00d05ca0123ad4511297e89baf2acf
2022-02-08 05:46:35 +00:00
Treehugger Robot
2624cfa2dc Merge "Update default system Proguard config rules" 2022-02-08 05:35:04 +00:00
Pirama Arumuga Nainar
9335286372 Merge "Add GLOBAL_CLANG_EXTERNAL_CFLAGS_NO_OVERRIDE to third-party code" 2022-02-08 05:01:59 +00:00