Commit graph

78484 commits

Author SHA1 Message Date
Cole Faust
69cb5fb275 Merge "Fix "posix_spawn: Argument list too long" issue" am: ea935b5ad9 am: dac2c71fbd am: 1b12b21993
Original change: https://android-review.googlesource.com/c/platform/build/+/2056514

Change-Id: I247b85108b0530e4af41f8f23042f4b0e97bbed3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-08 21:43:00 +00:00
Cole Faust
1b12b21993 Merge "Fix "posix_spawn: Argument list too long" issue" am: ea935b5ad9 am: dac2c71fbd
Original change: https://android-review.googlesource.com/c/platform/build/+/2056514

Change-Id: I928168c13ecadab5df690a2b26acb8fb27d86776
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-08 21:22:45 +00:00
Cole Faust
dac2c71fbd Merge "Fix "posix_spawn: Argument list too long" issue" am: ea935b5ad9
Original change: https://android-review.googlesource.com/c/platform/build/+/2056514

Change-Id: I9c5f05d53de58a7c561f312cd51ebca3d32ebee2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-08 21:04:09 +00:00
Cole Faust
ea935b5ad9 Merge "Fix "posix_spawn: Argument list too long" issue" 2022-04-08 20:44:38 +00:00
Bill Yi
a0be287620 [automerger skipped] Merge "Merge SP2A.220405.004 to aosp-master - DO NOT MERGE" am: bd6df21f31 -s ours am: ef46aa1f16 -s ours am: 66a20a72ca -s ours
am skip reason: subject contains skip directive

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

Change-Id: I64eed29aca86968e05f479461dfb2513222fc440
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-08 19:46:44 +00:00
Bill Yi
ac29a99cee [automerger skipped] Merge SP2A.220405.004 to aosp-master - DO NOT MERGE am: 9d994cd06b -s ours am: efd1c33a85 -s ours am: 2d73d5925f -s ours
am skip reason: subject contains skip directive

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

Change-Id: I8f2420092e2095c9fa7989bc8300972084261153
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-08 19:46:28 +00:00
Bill Yi
66a20a72ca [automerger skipped] Merge "Merge SP2A.220405.004 to aosp-master - DO NOT MERGE" am: bd6df21f31 -s ours am: ef46aa1f16 -s ours
am skip reason: Merged-In Ifba8d5912e2c39f2b403c829d44fa6d09468138d with SHA-1 9bb87d3f51 is already in history

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

Change-Id: I14c8a73e04a3504bc46703b7837a8ee0b8aaa9d4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-08 19:14:51 +00:00
Bill Yi
2d73d5925f [automerger skipped] Merge SP2A.220405.004 to aosp-master - DO NOT MERGE am: 9d994cd06b -s ours am: efd1c33a85 -s ours
am skip reason: Merged-In Ifba8d5912e2c39f2b403c829d44fa6d09468138d with SHA-1 9bb87d3f51 is already in history

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

Change-Id: Ie8cee5e323fb903729e49e559a3c8525120e7788
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-08 19:14:31 +00:00
Treehugger Robot
2c83b2d9fa Merge changes from topic "colefaust_artifact_path_requirements" am: 7b51e8cbdf am: 41c46ae68b am: 31831fdcd0
Original change: https://android-review.googlesource.com/c/platform/build/+/2035323

Change-Id: I967bb597bcda67b283e4ef7c2bf58090bc422433
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-08 18:37:22 +00:00
Cole Faust
fdf0ae2216 Support m product-graph in Starlark product config am: 0472730380 am: 5303c98614 am: 922e9538b3
Original change: https://android-review.googlesource.com/c/platform/build/+/2002321

Change-Id: I6ac63a153e3c4cebef7510c93fa2c7e5c9dbb11c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-08 18:37:18 +00:00
Bill Yi
ef46aa1f16 [automerger skipped] Merge "Merge SP2A.220405.004 to aosp-master - DO NOT MERGE" am: bd6df21f31 -s ours
am skip reason: Merged-In Ifba8d5912e2c39f2b403c829d44fa6d09468138d with SHA-1 9bb87d3f51 is already in history

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

Change-Id: I40dfe5a20fb048cf87703674359fc0004230b79a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-08 18:31:39 +00:00
Bill Yi
efd1c33a85 [automerger skipped] Merge SP2A.220405.004 to aosp-master - DO NOT MERGE am: 9d994cd06b -s ours
am skip reason: Merged-In Ifba8d5912e2c39f2b403c829d44fa6d09468138d with SHA-1 9bb87d3f51 is already in history

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

Change-Id: I5ac50a96e31ddf5c6429ff11b6be79ab687155c2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-08 18:31:21 +00:00
Treehugger Robot
31831fdcd0 Merge changes from topic "colefaust_artifact_path_requirements" am: 7b51e8cbdf am: 41c46ae68b
Original change: https://android-review.googlesource.com/c/platform/build/+/2035323

Change-Id: I67f09ce038c3e12fe50e343b4c9f7a4082929323
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-08 18:14:27 +00:00
Cole Faust
922e9538b3 Support m product-graph in Starlark product config am: 0472730380 am: 5303c98614
Original change: https://android-review.googlesource.com/c/platform/build/+/2002321

Change-Id: I86e49f2b9e2151d95bd976b2d78124402f5b8094
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-08 18:14:21 +00:00
Bill Yi
bd6df21f31 Merge "Merge SP2A.220405.004 to aosp-master - DO NOT MERGE" 2022-04-08 18:08:24 +00:00
Treehugger Robot
41c46ae68b Merge changes from topic "colefaust_artifact_path_requirements" am: 7b51e8cbdf
Original change: https://android-review.googlesource.com/c/platform/build/+/2035323

Change-Id: I56ab0dda40d6c9325312299930423f448ad8e67a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-08 17:50:52 +00:00
Cole Faust
5303c98614 Support m product-graph in Starlark product config am: 0472730380
Original change: https://android-review.googlesource.com/c/platform/build/+/2002321

Change-Id: I016f906bfb07832b40a8470b03733ba02fda3b3c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-08 17:50:48 +00:00
Treehugger Robot
7b51e8cbdf Merge changes from topic "colefaust_artifact_path_requirements"
* changes:
  Add artifact path requirement support to Starlark
  Support `m product-graph` in Starlark product config
2022-04-08 17:32:25 +00:00
Yuntao Xu
69caac0966 Merge "Make file list by partitions for all lunch targets" am: 722d0a602a am: 990145b2ad am: 6a9f5909ca
Original change: https://android-review.googlesource.com/c/platform/build/+/2034494

Change-Id: I9fc699864750a3b7c0893ffbb9315572a2bfc24a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-08 17:08:51 +00:00
Yuntao Xu
6a9f5909ca Merge "Make file list by partitions for all lunch targets" am: 722d0a602a am: 990145b2ad
Original change: https://android-review.googlesource.com/c/platform/build/+/2034494

Change-Id: I07da4f0a8857a60919e0a83903ed41921d42665a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-08 16:22:31 +00:00
Albert Martin
713fdc0335 Merge "Add flag to globally override updateable apexes' min_sdk_version" into tm-dev 2022-04-08 16:05:23 +00:00
Yuntao Xu
990145b2ad Merge "Make file list by partitions for all lunch targets" am: 722d0a602a
Original change: https://android-review.googlesource.com/c/platform/build/+/2034494

Change-Id: I93227a42219b8b95ee61fc65cc4fd012495d6ba8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-08 15:50:22 +00:00
Yuntao Xu
722d0a602a Merge "Make file list by partitions for all lunch targets" 2022-04-08 15:29:15 +00:00
SzuWei Lin
c9d8f2dde1 Merge "Support building EROFS for GSI targets" am: 36fc586e07 am: f1d3b2638b am: f68f5fd173
Original change: https://android-review.googlesource.com/c/platform/build/+/2052705

Change-Id: If425b06759d9c0a3f179ad34cf59818945c9569c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-08 09:49:02 +00:00
SzuWei Lin
f68f5fd173 Merge "Support building EROFS for GSI targets" am: 36fc586e07 am: f1d3b2638b
Original change: https://android-review.googlesource.com/c/platform/build/+/2052705

Change-Id: I6bf7cffe5b505b7209f2e3f94699d5f9036fbf21
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-08 09:36:22 +00:00
SzuWei Lin
f1d3b2638b Merge "Support building EROFS for GSI targets" am: 36fc586e07
Original change: https://android-review.googlesource.com/c/platform/build/+/2052705

Change-Id: Ie8252d86ba3e883defdfe7867cc203cbc7318d49
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-08 09:12:19 +00:00
SzuWei Lin
36fc586e07 Merge "Support building EROFS for GSI targets" 2022-04-08 08:43:01 +00:00
Yihan Dong
48dc218fd8 Merge "Add additional license dependencies for VTS" am: 6d88026ef5 am: 9bac086900 am: 1aa7f9bfd1
Original change: https://android-review.googlesource.com/c/platform/build/+/2043034

Change-Id: I23189621662bf76ce553b89dc520835f745faf69
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-08 03:19:49 +00:00
Yihan Dong
1aa7f9bfd1 Merge "Add additional license dependencies for VTS" am: 6d88026ef5 am: 9bac086900
Original change: https://android-review.googlesource.com/c/platform/build/+/2043034

Change-Id: I9e1ab7ccd4c384a1f2de1490f81a24dbc0946f9e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-08 02:28:09 +00:00
Yihan Dong
9bac086900 Merge "Add additional license dependencies for VTS" am: 6d88026ef5
Original change: https://android-review.googlesource.com/c/platform/build/+/2043034

Change-Id: Ie5e3488ec7ea16cb60c4a11984f918a99beeb1f2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-08 02:11:10 +00:00
Bill Yi
9d994cd06b Merge SP2A.220405.004 to aosp-master - DO NOT MERGE
Merged-In: Ifba8d5912e2c39f2b403c829d44fa6d09468138d
Merged-In: Icf93f9597f78033049785cd2d2fe37d835c19b31
Change-Id: I7b4f130d0246e83d82ef6c100318a7684ef5642a
2022-04-08 02:03:17 +00:00
Yihan Dong
6d88026ef5 Merge "Add additional license dependencies for VTS" 2022-04-08 01:26:05 +00:00
Cole Faust
9866f93b45 Merge "Add mksort implementation" am: 475b885ad3 am: 2af278f1a1 am: 459742135b
Original change: https://android-review.googlesource.com/c/platform/build/+/2056828

Change-Id: I8568ea5029bc007a297195c018f6078597e35e12
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 23:51:18 +00:00
Cole Faust
459742135b Merge "Add mksort implementation" am: 475b885ad3 am: 2af278f1a1
Original change: https://android-review.googlesource.com/c/platform/build/+/2056828

Change-Id: Ibf34695c0d49e334e4a373f4db0c29d68bbbd653
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 23:27:57 +00:00
Cole Faust
2af278f1a1 Merge "Add mksort implementation" am: 475b885ad3
Original change: https://android-review.googlesource.com/c/platform/build/+/2056828

Change-Id: I27352af07c39988b8533b190abfc3f674b5febb6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-07 23:09:49 +00:00
Cole Faust
475b885ad3 Merge "Add mksort implementation" 2022-04-07 21:59:00 +00:00
Yuntao Xu
c21dc3c8c1 Make file list by partitions for all lunch targets
1. Filtered out the Android.mk file if the Make modules on them are
   not in the PRODUCT_PACKAGES or the correspoding deps;
2. Merged the Android.mk file list by partitions for all lunch targets.

Bug: 225256154
Test: lunch aosp_coral-eng; m
out/target/product/coral/mk2bp_remaining.html
Test: python3 build/make/tools/mk2bp_partition.py

Change-Id: I40919e81ab3c6bd516379f0acd72932e8db50088
2022-04-07 11:01:19 -07:00
Cole Faust
971ef8ecd6 Fix "posix_spawn: Argument list too long" issue
The shell command was too long when it listed all the make variables.
Dump them to a file instead.

Fixes: 228347189
Test: RBC_BOARD_CONFIG=1 m nothing on aosp_arm64
Change-Id: I325c78810f5efbe87df2c3ffc269ed78db8c3732
2022-04-07 10:19:21 -07:00
SzuWei Lin
0c791bedb4 Support building EROFS for GSI targets
The EROFS is planned to replace the ext4 as the file system format
of readonly partitions. This patch is enabling the ability to
build GSI with EROFS. The usage is

  $ GSI_FILE_SYSTEM_TYPE=erofs make -j

Bug: 227552340
Test: lunch gsi_arm64-user; GSI_FILE_SYSTEM_TYPE=erofs make -j
Test: Verify the file system format of system.img
Change-Id: Ie815002c677d099c4db0ab7ca22db16ac6123659
2022-04-07 07:11:24 +00:00
Zach Johnson
ecc1a4b3e8 Merge "Copy com_google_android_bluetooth_services certs for sepolicy" into tm-dev 2022-04-07 00:45:19 +00:00
Colin Cross
e03e64a4c9 Merge "Revert "Revert "Produce mappings of hashes to elf symbols and r8 dictionaries""" am: d8cf9a5a30 am: 9bb87d3f51 am: e64f092723
Original change: https://android-review.googlesource.com/c/platform/build/+/2056437

Change-Id: Ibfb3b0f9bc648ef0d68e93841daf65b2a788a4b1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 22:47:57 +00:00
Colin Cross
e64f092723 Merge "Revert "Revert "Produce mappings of hashes to elf symbols and r8 dictionaries""" am: d8cf9a5a30 am: 9bb87d3f51
Original change: https://android-review.googlesource.com/c/platform/build/+/2056437

Change-Id: Icf93f9597f78033049785cd2d2fe37d835c19b31
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 21:25:46 +00:00
Colin Cross
9bb87d3f51 Merge "Revert "Revert "Produce mappings of hashes to elf symbols and r8 dictionaries""" am: d8cf9a5a30
Original change: https://android-review.googlesource.com/c/platform/build/+/2056437

Change-Id: Ifba8d5912e2c39f2b403c829d44fa6d09468138d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 21:06:22 +00:00
Colin Cross
d8cf9a5a30 Merge "Revert "Revert "Produce mappings of hashes to elf symbols and r8 dictionaries""" 2022-04-06 18:20:43 +00:00
Albert Martin
b42ddf95d1 Add flag to globally override updateable apexes' min_sdk_version
Override all mainline updateable apexes' min_sdk_version to same version to get a single shared native lib version on DCLA.

Test: Run "vendor/google/build/go/mainline_go_modules_arm.sh" and inspect built apexes
Bug: 212609891
Change-Id: I8edf09ca3c91ee52e9c2138c71d9b155b4448f66
2022-04-06 17:38:51 +00:00
Colin Cross
ac7febc9c7 Revert "Revert "Produce mappings of hashes to elf symbols and r8 dictionaries""
This reverts commit 59ecb9e016.

Reason for revert: symbols_map is fixed to ignore non-elf files

Bug: 218888599
Change-Id: I88654b2dba3dfb9ab2809b0555544277279f345d
2022-04-06 01:11:20 +00:00
Cole Faust
2e8bb7989e Add artifact path requirement support to Starlark
Artifact path requirements requires setting some new variables,
and also dumping the state of the product config variables
after evaluating partial products that set artifact path requirements.

Bug: 188079133
Test: Removed the code that disabled artifacts path requirements from the rbc dashboard script,
      and verified that it was still green for aosp_arm64
Change-Id: I228e35285d788f4c83aa695c0f28b7c7db02544c
2022-04-05 16:53:38 -07:00
Cole Faust
0472730380 Support m product-graph in Starlark product config
Bug: 221312856
Test: Manually
Change-Id: Ia3a78df2de356801c83b1ba5c17601acfc026d06
2022-04-05 16:52:23 -07:00
Cole Faust
2491ad52c1 Add mksort implementation
Bug: 218736658
Test: ./out/rbcrun ./build/make/tests/run.rbc
Change-Id: I0069e7059453c16d299cc650f56c320d905f1958
2022-04-05 16:36:27 -07:00
Treehugger Robot
0f7ccf239b Merge "Fix single value variable inheritance order" am: 52233be25c am: e7951493a1 am: 4a5e47d83b
Original change: https://android-review.googlesource.com/c/platform/build/+/2054306

Change-Id: If73de1184f7fb8b69c86e56f71bfc34842433bd5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-05 22:30:49 +00:00