Commit graph

76214 commits

Author SHA1 Message Date
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
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
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
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
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
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
Yihan Dong
6d88026ef5 Merge "Add additional license dependencies for VTS" 2022-04-08 01:26:05 +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
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
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
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
4a5e47d83b Merge "Fix single value variable inheritance order" am: 52233be25c am: e7951493a1
Original change: https://android-review.googlesource.com/c/platform/build/+/2054306

Change-Id: I3552b69f6f7a226a2ca4c9d61e097f6730c60eab
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-05 22:17:37 +00:00
Treehugger Robot
e7951493a1 Merge "Fix single value variable inheritance order" am: 52233be25c
Original change: https://android-review.googlesource.com/c/platform/build/+/2054306

Change-Id: I85c48e5a65f29de320e3da046f83acea2a1654cb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-05 21:59:18 +00:00
Treehugger Robot
52233be25c Merge "Fix single value variable inheritance order" 2022-04-05 21:34:26 +00:00
Colin Cross
1a652183f3 Merge "Revert "Produce mappings of hashes to elf symbols and r8 dictionaries"" am: cba35df61b am: e662f2e4db
Original change: https://android-review.googlesource.com/c/platform/build/+/2055033

Change-Id: I45047c52911af2b0d829672a99f1a2f2faa7b776
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-05 20:13:03 +00:00
Treehugger Robot
7a1cca449f Merge "prevent unintended m bp2build "" when running b" am: 54dbc8c36a am: 83cd363614
Original change: https://android-review.googlesource.com/c/platform/build/+/2055109

Change-Id: I7c1f40c59653e3c2cd9cb7a76bbbfe4256b4da0c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-05 20:11:36 +00:00
Colin Cross
e662f2e4db Merge "Revert "Produce mappings of hashes to elf symbols and r8 dictionaries"" am: cba35df61b
Original change: https://android-review.googlesource.com/c/platform/build/+/2055033

Change-Id: I28b3b2e9de7f5ec04abfb52a51e8971e4c569859
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-05 19:56:30 +00:00
Treehugger Robot
83cd363614 Merge "prevent unintended m bp2build "" when running b" am: 54dbc8c36a
Original change: https://android-review.googlesource.com/c/platform/build/+/2055109

Change-Id: I654dd587a07486f03d8ab1aa761c1f972e3fada1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-05 19:47:47 +00:00
Colin Cross
cba35df61b Merge "Revert "Produce mappings of hashes to elf symbols and r8 dictionaries"" 2022-04-05 17:53:24 +00:00
Colin Cross
59ecb9e016 Revert "Produce mappings of hashes to elf symbols and r8 dictionaries"
This reverts commit 3570b3ed86.

Reason for revert: b/228195288

Bug: 218888599
Change-Id: I17b38ca1b6f8940d682f2782515bfd5f8db1ce58
2022-04-05 17:47:27 +00:00
Treehugger Robot
54dbc8c36a Merge "prevent unintended m bp2build "" when running b" 2022-04-05 17:45:08 +00:00
Trevor Radcliffe
0cbaeda125 Merge "Make changes to support test_suites for test lib" am: f190db2a0c am: 0eaf156a31
Original change: https://android-review.googlesource.com/c/platform/build/+/2051889

Change-Id: If3544c3b920cd68cb5cf4759f9785f67bc8e6681
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-05 16:11:09 +00:00
Trevor Radcliffe
0eaf156a31 Merge "Make changes to support test_suites for test lib" am: f190db2a0c
Original change: https://android-review.googlesource.com/c/platform/build/+/2051889

Change-Id: I49ddf54d1edbd5a921da6df6060988f2126159cd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-05 15:54:59 +00:00
Trevor Radcliffe
f190db2a0c Merge "Make changes to support test_suites for test lib" 2022-04-05 15:34:53 +00:00
Colin Cross
25681b47af Merge "Produce mappings of hashes to elf symbols and r8 dictionaries" am: 229fb33e39 am: 47e2aed61d
Original change: https://android-review.googlesource.com/c/platform/build/+/2035523

Change-Id: I437de9a6adac586a18e40941be0215e49f9e7928
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-05 15:00:17 +00:00
Colin Cross
47e2aed61d Merge "Produce mappings of hashes to elf symbols and r8 dictionaries" am: 229fb33e39
Original change: https://android-review.googlesource.com/c/platform/build/+/2035523

Change-Id: I34ea998f92e1d744831a5209792f2db75f319d21
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-05 14:39:39 +00:00
Colin Cross
229fb33e39 Merge "Produce mappings of hashes to elf symbols and r8 dictionaries" 2022-04-05 14:16:16 +00:00
Sam Delmerico
89a4702555 prevent unintended m bp2build "" when running b
cl/2045666 allowed the --skip-soong-tests flag to pass through
invocations of the `b` command to soong_ui. But when the flag was
missing, an extra `""` argument was passed instead which caused soong_ui
to invoke a build of the droid target.

Test: m clean && b build '...'  # verify Soong does not run a build
Change-Id: I7b99437d225786eb1698a88d0c755ce897550e70
2022-04-05 13:47:32 +00:00
Orion Hodson
6542d0fcf5 Merge "Update checkowners.py to support python3" am: 2f4e021780 am: 982f400a15
Original change: https://android-review.googlesource.com/c/platform/build/+/2053986

Change-Id: I693d2723ea12bf1744d328248e92562626f3fb9c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-05 10:06:37 +00:00
Orion Hodson
982f400a15 Merge "Update checkowners.py to support python3" am: 2f4e021780
Original change: https://android-review.googlesource.com/c/platform/build/+/2053986

Change-Id: I2ab99b872cdce1486a00ea805f644bf1e4282fa5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-05 08:43:44 +00:00
Orion Hodson
2f4e021780 Merge "Update checkowners.py to support python3" 2022-04-05 08:22:38 +00:00
Treehugger Robot
c8e5998100 Merge "Support more dependencies for license metadata." am: d17518474a am: e13c9771a6
Original change: https://android-review.googlesource.com/c/platform/build/+/2043296

Change-Id: I0c64006c5bb8044b64de79196475a9ae2dee70f3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-05 01:30:03 +00:00
Treehugger Robot
e13c9771a6 Merge "Support more dependencies for license metadata." am: d17518474a
Original change: https://android-review.googlesource.com/c/platform/build/+/2043296

Change-Id: I0848b4b15098e04242ec32147bbb885a461356d3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-05 01:06:22 +00:00
Treehugger Robot
d17518474a Merge "Support more dependencies for license metadata." 2022-04-05 00:22:12 +00:00
Colin Cross
3570b3ed86 Produce mappings of hashes to elf symbols and r8 dictionaries
Run the symbols_map tool on each unstripped binary and proguard
dictionary while copying it to produce a textproto that maps the
hash to the symbol/dictionary file location.  Combine the textprotos
into a mapping file when producing the zipped build artifacts.

Bug: 218888599
Test: m dist
Change-Id: I78997e2f3b631ed74213903cc8e72415b2d7eee0
2022-04-04 16:04:52 -07:00