Commit graph

30563 commits

Author SHA1 Message Date
Treehugger Robot
9bad3e7e91 Merge "Create lists of projects to share per dist target" am: 746806b3bb am: 8a4f747caf am: 87a7663b8d
Original change: https://android-review.googlesource.com/c/platform/build/+/2064290

Change-Id: I0e5ee56ac9ea244ef90d78e60a5717325f3cac9c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-14 23:20:46 +00:00
Treehugger Robot
22b0086c76 Merge "Non-module targets." am: fc0dcc1bc1 am: 664fd353b1 am: 1e1639229b
Original change: https://android-review.googlesource.com/c/platform/build/+/2063380

Change-Id: Ib0e42d451a58426c82dd6990c22d089b9c8202fe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-14 23:19:08 +00:00
Hongguang Chen
89939ccf89 Merge "Filter out TV GSI build targets" into tm-dev 2022-04-14 23:12:47 +00:00
Treehugger Robot
87a7663b8d Merge "Create lists of projects to share per dist target" am: 746806b3bb am: 8a4f747caf
Original change: https://android-review.googlesource.com/c/platform/build/+/2064290

Change-Id: I837799bb7f6cd3657f13bfe7e34ce1ad608a0126
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-14 22:45:10 +00:00
Treehugger Robot
1e1639229b Merge "Non-module targets." am: fc0dcc1bc1 am: 664fd353b1
Original change: https://android-review.googlesource.com/c/platform/build/+/2063380

Change-Id: I9c7a835e9ede2295b3fc7a8d6a6c78596ff7804e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-14 22:44:21 +00:00
Treehugger Robot
8a4f747caf Merge "Create lists of projects to share per dist target" am: 746806b3bb
Original change: https://android-review.googlesource.com/c/platform/build/+/2064290

Change-Id: Ib35ef1c1a8da7d81ce63aede3bc36d6ff99f7597
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-14 22:27:39 +00:00
Treehugger Robot
664fd353b1 Merge "Non-module targets." am: fc0dcc1bc1
Original change: https://android-review.googlesource.com/c/platform/build/+/2063380

Change-Id: Ia5b028d82cf1625f7dad1f26c84b069026d2ddbb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-14 22:25:51 +00:00
Treehugger Robot
746806b3bb Merge "Create lists of projects to share per dist target" 2022-04-14 22:09:19 +00:00
Treehugger Robot
fc0dcc1bc1 Merge "Non-module targets." 2022-04-14 22:02:53 +00:00
Cole Faust
70d6a6d43a Merge "Allow setting PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS to false" am: 95601112d5 am: 2c90bc41c8 am: a73e42248b
Original change: https://android-review.googlesource.com/c/platform/build/+/2061701

Change-Id: I3af89608bbccdf1d7f2716055b5101dc2f024af5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-14 18:24:42 +00:00
Cole Faust
e7c1d6e578 Merge changes from topic "colefaust_enforce_product_packages_exist" am: 1be3bddbfa am: 547767afb8 am: 704d539ea3
Original change: https://android-review.googlesource.com/c/platform/build/+/2063512

Change-Id: I2313436f2f4f1c8e9826485eb5ccbc69ff9f4914
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-14 18:24:13 +00:00
Cole Faust
22785265e1 Optionally dump RBC variables at the end of config.mk am: ec8316de2e am: 414100caeb am: aedeb66f24
Original change: https://android-review.googlesource.com/c/platform/build/+/2063509

Change-Id: I5172ef87c0833b0cefadebd40ce54cf81fef0f34
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-14 18:24:12 +00:00
Cole Faust
28afecfd45 Merge "Remove usages of long-form variables" am: b760b469c7 am: 85f941cf3a am: c091ee15fb
Original change: https://android-review.googlesource.com/c/platform/build/+/2064287

Change-Id: I2610a8c39679c34cb82cb4dbd679dadf5f797666
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-14 18:23:48 +00:00
Cole Faust
a73e42248b Merge "Allow setting PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS to false" am: 95601112d5 am: 2c90bc41c8
Original change: https://android-review.googlesource.com/c/platform/build/+/2061701

Change-Id: Ia955f7a4cb19f9b035c759b02184366e41b7b880
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-14 18:07:02 +00:00
Cole Faust
704d539ea3 Merge changes from topic "colefaust_enforce_product_packages_exist" am: 1be3bddbfa am: 547767afb8
Original change: https://android-review.googlesource.com/c/platform/build/+/2063512

Change-Id: I1cf81bfc62bf0f2c67828f344644996845767306
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-14 18:06:48 +00:00
Cole Faust
aedeb66f24 Optionally dump RBC variables at the end of config.mk am: ec8316de2e am: 414100caeb
Original change: https://android-review.googlesource.com/c/platform/build/+/2063509

Change-Id: Ia1a854e0a060b890c292418db8001506d24e340b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-14 18:06:46 +00:00
Cole Faust
c091ee15fb Merge "Remove usages of long-form variables" am: b760b469c7 am: 85f941cf3a
Original change: https://android-review.googlesource.com/c/platform/build/+/2064287

Change-Id: I0cab896091bd7a668a23c3dbea13bbcb09b0b6f2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-14 18:06:29 +00:00
Cole Faust
2c90bc41c8 Merge "Allow setting PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS to false" am: 95601112d5
Original change: https://android-review.googlesource.com/c/platform/build/+/2061701

Change-Id: I52e14079ac1f8c7592361b8818643317aeb11e05
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-14 17:39:42 +00:00
Cole Faust
547767afb8 Merge changes from topic "colefaust_enforce_product_packages_exist" am: 1be3bddbfa
Original change: https://android-review.googlesource.com/c/platform/build/+/2063512

Change-Id: I3d98fec7c04e8e846821eedcc0ab495055ba79dc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-14 17:38:45 +00:00
Cole Faust
414100caeb Optionally dump RBC variables at the end of config.mk am: ec8316de2e
Original change: https://android-review.googlesource.com/c/platform/build/+/2063509

Change-Id: Ia4f6119c1f325cf26198891d9d17fc26c63cc7f2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-14 17:38:44 +00:00
Cole Faust
85f941cf3a Merge "Remove usages of long-form variables" am: b760b469c7
Original change: https://android-review.googlesource.com/c/platform/build/+/2064287

Change-Id: I981c3dc7abf4d3508d06ba19bbdbadaa2107327d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-14 17:38:15 +00:00
Cole Faust
95601112d5 Merge "Allow setting PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS to false" 2022-04-14 16:57:39 +00:00
Cole Faust
1be3bddbfa Merge changes from topic "colefaust_enforce_product_packages_exist"
* changes:
  Implement enforce_product_packages_exist
  Optionally dump RBC variables at the end of config.mk
2022-04-14 16:56:28 +00:00
Hongguang
bbe4842e31 Filter out TV GSI build targets
Bug: 228179256
Bug: 226020975
Test: lunch gsi_tv_arm-userdebug and gsi_tv_arm64-userdebug
Change-Id: Idee55259d5f24638895afd6eaf76cdf854e5807f
2022-04-14 08:06:47 +00:00
Cole Faust
81f1e92ed8 Remove usages of long-form variables
The long-form variables (PRODUCTS.<makefile>.<variable>)
are used to get information about multiple products.
However, they've never really worked correctly, and so
importing multiple products is deprecated behavior.

Remove as many usages of the long-form variables and
multi-product imports as possible.

Bug: 228518445
Test: Manually
Change-Id: I0b67f16360ff8bdcdb39638de739440472bccf76
2022-04-13 15:49:56 -07:00
Cole Faust
e050e8fec0 Implement enforce_product_packages_exist
This is something that didn't show up as a regression
when testing ninja files, but does show up when testing
make variables.

Bug: 229132189
Test: New --quick mode in rbc_dashboard.py
Change-Id: I6c1219cdc5ee1d8b3cc39e8f944e99fc380d4668
2022-04-13 14:48:59 -07:00
Cole Faust
ec8316de2e Optionally dump RBC variables at the end of config.mk
config.mk represents essentially the entire product/board
configuration. In order to develop a "quick" rbc regression
test, dump all the make variables at the end of config.mk.

We can then compare these variable dumps instead of ninja
files, because the ninja files take much longer to generate.

Bug: 229132189
Test: Manually
Change-Id: I4e8371be446b7e511aba22dff58530a6d9ff072f
2022-04-13 14:48:32 -07:00
Bob Badour
1fd4bda634 Create lists of projects to share per dist target
Bug: 151177513
Bug: 213388645
Bug: 210912771

Test: m droid dist reportmissinglicenses
Change-Id: I23ee3a983c205ee2a62e47edc2039b7cc713c420
2022-04-13 11:27:59 -07:00
Bob Badour
b03c16badc Non-module targets.
Bug: 151177513
Bug: 213388645
Bug: 210912771

Test: m droid dist reportmissinglicenses

Change-Id: I4ee8fd67ee30a3e21723e13642fdb89cd626a2dd
2022-04-12 18:57:15 -07:00
Cole Faust
5d46c6133b Allow setting PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS to false
Some products clear PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS
in order to disable it. But oftentimes this clearing relies on
the fact that clearing a variable will also cause it to not
inherit from any already-inherited files. Starlark doesn't support
this inheritance behavior, so allow setting
PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS to false so that it
can be explicetly disabled instead of relying on the clearing
behavior.

Bug: 221312707
Test: Manually
Change-Id: I03a227911c6985a65fc5d210682bbd4ac9bd6747
2022-04-12 13:43:28 -07:00
Yurii Zubrytskyi
97191b2095 platform/build/make - T is now 33
Bug: 225745567
Test: Build
Change-Id: If115998c2ef9ef58329faa937e11d673f5585aab
2022-04-12 12:47:25 -07:00
Treehugger Robot
f18826ae8c Merge "Put javac, d8 and r8 rules into RBE ninja pool" am: 7bc6d0e71d am: ffa398e6a2 am: a98fd151ea
Original change: https://android-review.googlesource.com/c/platform/build/+/2059990

Change-Id: I7cd8b1c59323e9deb314e8f2d9b17e4d8a57bd80
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-12 15:19:48 +00:00
Treehugger Robot
a98fd151ea Merge "Put javac, d8 and r8 rules into RBE ninja pool" am: 7bc6d0e71d am: ffa398e6a2
Original change: https://android-review.googlesource.com/c/platform/build/+/2059990

Change-Id: I5112f75f2edc2701819592fbca88d28bdbd5bee8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-12 14:59:51 +00:00
Treehugger Robot
ffa398e6a2 Merge "Put javac, d8 and r8 rules into RBE ninja pool" am: 7bc6d0e71d
Original change: https://android-review.googlesource.com/c/platform/build/+/2059990

Change-Id: I54635a2f6372bd81ab082a8b0ad07c8ceb5f8da3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-12 14:43:57 +00:00
Treehugger Robot
7bc6d0e71d Merge "Put javac, d8 and r8 rules into RBE ninja pool" 2022-04-12 14:27:24 +00:00
Treehugger Robot
d816479292 Merge "Remove unused combine-notice-files macro." am: 2f6aa08f69 am: 5324ea0ca6 am: 2de37f9424
Original change: https://android-review.googlesource.com/c/platform/build/+/2055032

Change-Id: I2751ba90417c8960ab5539f2fe181c66b4c69b15
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-11 20:43:39 +00:00
Treehugger Robot
fdfbd833eb Merge "Non-module targets." am: ff15a27bd7 am: 7c30a61bc6 am: 6687e127b0
Original change: https://android-review.googlesource.com/c/platform/build/+/2055031

Change-Id: I5a6aa6499b4c39a8933ffee3d622023f2e8e0bf1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-11 20:43:09 +00:00
Treehugger Robot
2de37f9424 Merge "Remove unused combine-notice-files macro." am: 2f6aa08f69 am: 5324ea0ca6
Original change: https://android-review.googlesource.com/c/platform/build/+/2055032

Change-Id: I05a20192bdbb375729a7b19fa0215b5223bc4727
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-11 20:26:52 +00:00
Treehugger Robot
6687e127b0 Merge "Non-module targets." am: ff15a27bd7 am: 7c30a61bc6
Original change: https://android-review.googlesource.com/c/platform/build/+/2055031

Change-Id: I3ee4934b40b57652945d81dea7a3f63b495ae5ff
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-11 20:26:21 +00:00
Treehugger Robot
5324ea0ca6 Merge "Remove unused combine-notice-files macro." am: 2f6aa08f69
Original change: https://android-review.googlesource.com/c/platform/build/+/2055032

Change-Id: Iae8c43ab5fa0236b75b98baa34ab429ab4051a9f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-11 20:11:51 +00:00
Treehugger Robot
7c30a61bc6 Merge "Non-module targets." am: ff15a27bd7
Original change: https://android-review.googlesource.com/c/platform/build/+/2055031

Change-Id: I188d24d5bcfbd11d5ad1b894e3ddc211a882d48a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-11 20:11:01 +00:00
Treehugger Robot
2f6aa08f69 Merge "Remove unused combine-notice-files macro." 2022-04-11 19:42:48 +00:00
Treehugger Robot
ff15a27bd7 Merge "Non-module targets." 2022-04-11 19:42:29 +00:00
TreeHugger Robot
97ca005658 Merge changes from topic "presubmit-am-286363504fe543f8a04966cf7cc71a4b" into sc-v2-dev-plus-aosp am: 31d5f5bb57
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/17615283

Change-Id: Iee3240448514a7486bbc66427f6bd5bfdb045af0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-11 19:37:43 +00:00
TreeHugger Robot
31d5f5bb57 Merge changes from topic "presubmit-am-286363504fe543f8a04966cf7cc71a4b" into sc-v2-dev-plus-aosp
* changes:
  [automerge] Update Security String to 2022-06-05 2p: ed13206d0e
  Update Security String to 2022-06-05
2022-04-11 19:01:43 +00:00
Albert Martin
28c7f40837 Merge "Add flag to globally override updateable apexes' min_sdk_version" am: 7366fcbca6 am: e84e7041e2
Original change: https://android-review.googlesource.com/c/platform/build/+/2059368

Change-Id: I79d9bfc8c1805123dd7e599c37e998408ac5e081
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-11 13:17:55 +00:00
Albert Martin
e84e7041e2 Merge "Add flag to globally override updateable apexes' min_sdk_version" am: 7366fcbca6
Original change: https://android-review.googlesource.com/c/platform/build/+/2059368

Change-Id: I87968a9fd420f9739d61c93e996217326d33e828
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-11 12:48:42 +00:00
Albert Martin
7366fcbca6 Merge "Add flag to globally override updateable apexes' min_sdk_version" 2022-04-11 12:29:09 +00:00
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