aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-02-19Snap for 11462403 from 2a1fd78105f12550535eb4479b4799a0b8b365f0 to ↵q_tzdata_aml_297100400q_tzdata_aml_297100300q_tzdata_aml_297100000q_tzdata_aml_297100000Android Build Coastguard Worker
qt-aml-tzdata-release Change-Id: I85af48064d960dae13d8bcb1be98c63056312ca3
2023-11-08fix potential encoding issues in remote actions am: db56d5a229Anas Sulaiman
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/soong/+/25262953 Change-Id: I10cac36a94f9a30266d7d076f668bc8fe2f351bf Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-02fix potential encoding issues in remote actionsAnas Sulaiman
The new docker image contains all en_*.UTF-8 locales to ensure Java (and other) actions produce the correct bytes. Bug: b/300624128 Test: Ran an android build and verified there are no encoding issues in metalava outputs. Change-Id: Icb52f7f073867648a133c857de68175d821ca56c
2022-10-13Snap for 9170954 from f6c29aa6c96510a7e88642117177aebaf8a31586 to ↵q_tzdata_aml_296200000q_tzdata_aml_295600118q_tzdata_aml_295600110q_tzdata_aml_295500002q_tzdata_aml_295500001android10-mainline-tzdata-releaseandroid10-android13-mainline-tzdata-releaseAndroid Build Coastguard Worker
qt-aml-tzdata-release Change-Id: I5dffe19a3059bdf856af1fe99c9918f859a12224
2022-06-15Add google_prod_creds to the list of auth mechanisms am: f7574b5484Kousik Kumar
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/soong/+/18890432 Change-Id: I93471e06ccadb585f9601d1ae2fd17117d1d8d4d Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-15Allowlist stubby to be run within the path imposer am: 00327e6dfaKousik Kumar
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/soong/+/18881794 Change-Id: I7a1161fb40581e3e396c0742ef36cf1f7c03a440 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-15Add additional directories from which env config can be loaded am: ef073be177Kousik Kumar
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/soong/+/18881793 Change-Id: If9f884d90e83ed958a929e0e2bb387b01d0a21c7 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-14Add google_prod_creds to the list of auth mechanismsKousik Kumar
This is to ensure that we don't default to using application_default_creds when it is not set and rather "RBE_use_google_prod_creds" variable is set. This is necessary to rollout RBE gcert auth. Bug: b/235861862, b/224446621 Change-Id: I51e3f1aefadf282240b8f861efafde6b9b61d305 Merged-In: I51e3f1aefadf282240b8f861efafde6b9b61d305
2022-06-14Allowlist stubby to be run within the path imposerKousik Kumar
To support using google prod credentials for Google developers, we need to be able to make an RPC call to exchange credentials. This RPC call needs to be issued via stubby and hence allowlisting the stubby binary. dwillemsen@ also pointed out that this should be less effective for other tools running within the build since network access is disabled for the other tools anyway via sandboxing. Bug: b/222484146,b/235861862 Merged-In: I29aec9576e86b9ed3051df7943404abd478c549b Change-Id: Iaabb5c51929768fef0a330ad300b25d72be6f0df
2022-06-14Add additional directories from which env config can be loadedKousik Kumar
This is useful for external users to be able to specify their own config files that can be loaded by soong during startup. In addition, we need this for upcoming changes to incorporate an experiments framework in Soong since the config file will be fetched from CDPush and put into the OUT_DIR folder by the config file fetcher binary. Note: Once this is merged into internal branch, I'll fully get rid of the vendor/google/ path from Soong in aosp. Test: 1. Ran a build in aosp with these changes and no config file was loaded. 2. Ran a build in internal master with these changes and the current config file inside vendor/google was loaded as expected. Bug: b/214035335,b/235861862 Merged-In: I9af83687d4eaeee1ffb0f88a750cfeb7c6d2bafb Change-Id: Ica2248c57828e90ec78fccceed6f8e73280360cc
2021-10-07Snap for 7802995 from e78212a55c4742169d788f5c5b9ae9001b95da2e to ↵q_tzdata_aml_294400310android-mainline-12.0.0_r54android-mainline-12.0.0_r111android-mainline-10.0.0_r13android12-mainline-tzdata-releaseAndroid Build Coastguard Worker
qt-aml-tzdata-release Change-Id: Id4788364284af31a448a2ba063f974e510693f7f
2021-09-07Merge "Check UseRBE is set before replacing any template with the RE ↵Kousik Kumar
version." am: 3e0b9c031c am: 4e2977ee81 Original change: https://googleplex-android-review.googlesource.com/c/platform/build/soong/+/15747538 Change-Id: Ifa33cdad01dac8e81724d97f6373b745ff775ca9
2021-09-02Merge "Check UseRBE is set before replacing any template with the RE ↵Kousik Kumar
version." am: 3e0b9c031c Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1419252 Test: 1. Applied https://googleplex-android-review.git.corp.google.com/c/platform/build/soong/+/15723183, confirmed that the build fails on rvc-dev (by running `USE_RBE=false m `) 2. Subsequently applied this patch and tested to confirm that the failure is fixed (by running `USE_RBE=false m out/soong/.intermediates/vendor/qcom/sm7250/proprietary/commonsys/qcrilOemHook/qcrilmsgtunnel/android_common/combined/qcrilmsgtunnel.jar` and `USE_RBE=true m out/soong/.intermediates/vendor/qcom/sm7250/proprietary/commonsys/qcrilOemHook/qcrilmsgtunnel/android_common/combined/qcrilmsgtunnel.jar`). Bug: b/198045383 Merged-In: I6df58b4e700f0d231367af2710672d731d20a736 Change-Id: I52b7a3810fdf3314ae107f4b8330e9d6f62c6302 (cherry picked from commit f15ed4fe6116a60a9518a8c8ca193da1b4439d62)
2021-08-05Merge "Load RBE related env vars from config files" am: b3a5d18470 am: ↵Kousik Kumar
9f6fa868c5 Original change: https://googleplex-android-review.googlesource.com/c/platform/build/soong/+/15454953 Change-Id: Ie1e7b2bdb392c33a286d7f52e0fee4ccf560b1b7
2021-08-03Merge "Load RBE related env vars from config files" am: b3a5d18470Kousik Kumar
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1773209 Bug: b/194679562 Change-Id: Id84167a3ae6ab15c8b74b72b4cc2c179e0da5d0c Merged-In: I416e8da75f84aa2b53995f525cf50501488dc972 (cherry picked from commit a7ab7c9394ccfc80e163b5e405792a3975eaf2f3)
2021-04-30Print the output from RBE bootstrap shutdown am: 91a46d0ef4Kousik Kumar
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/soong/+/14371203 Change-Id: Ie450c8f1b27f21246b5f17ae6a56b918b7a3a78a
2021-04-29Print the output from RBE bootstrap shutdownKousik Kumar
The output from bootstrap would contain the a one-line summary of RBE download / upload stats. Bug: b/183007125 Change-Id: I90082a8433504e40bbf92992c3c8d1d656c49429 Merged-In: I90082a8433504e40bbf92992c3c8d1d656c49429
2021-03-19[automerger skipped] Minimal license feature. am: 459beab694 -s ours am: ↵Bob Badour
b5d58b3eaa -s ours am skip reason: skip tag Change-Id Ic78672cd25da13aa9078a48b06446f66780c792d with SHA-1 58d85b87bc is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/build/soong/+/13928045 Change-Id: I4393e98e96b34b0e4604e0c03a7cc2b16e7a5c2e
2021-03-19[automerger skipped] Minimal license feature. am: 459beab694 -s oursBob Badour
am skip reason: skip tag Change-Id Ic78672cd25da13aa9078a48b06446f66780c792d with SHA-1 58d85b87bc is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/build/soong/+/13928045 Change-Id: If527f71987f23aee63aa0a1209572479672398c5
2021-03-19Minimal license feature. am: 58d85b87bcBob Badour
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/soong/+/13929165 Change-Id: I49453a723ea46a2bda5d21655e569c212564c076
2021-03-19Minimal license feature.Bob Badour
Keeps license declarations from breaking the build without implementing the full feature. Test: m all Bug: 181768532 Change-Id: Ic78672cd25da13aa9078a48b06446f66780c792d Merged-in: Ic78672cd25da13aa9078a48b06446f66780c792d Merged-in: If3fbc157c6ffed8e3ee4bdd9aa56fabe2c24444b Merged-in: Ie7e1695ecb8cd943124426a0cad2c0d1db2b46ed
2021-03-19Minimal license feature.Bob Badour
Keeps license declarations from breaking the build without implementing the full feature. Test: m all Bug: 181768532 Change-Id: Ic78672cd25da13aa9078a48b06446f66780c792d Merged-in: Ic78672cd25da13aa9078a48b06446f66780c792d Merged-in: If3fbc157c6ffed8e3ee4bdd9aa56fabe2c24444b Merged-in: Ie7e1695ecb8cd943124426a0cad2c0d1db2b46ed
2020-11-19Snap for 6983956 from 43743ee2ce573280c3f3413c7b2b057a5d967cc6 to ↵android-mainline-10.0.0_r12android-build-team Robot
qt-aml-tzdata-release Change-Id: Iab32c5613ad04673fb2ab639b7b2e2455a2e3357
2020-11-02[DO NOT MERGE] Capture the build command that executed the build system. am: ↵Patrice Arruda
807a8f9142 Original change: https://googleplex-android-review.googlesource.com/c/platform/build/soong/+/12969335 Change-Id: Ib496613df81acb9e17f1ca4b717583fab39643cc
2020-11-02[DO NOT MERGE] Capture the build command that executed the build system.Patrice Arruda
We need to capture the user build command to understand what additional arguments is passed in to Soong. This data is useful to know which targets are being executed and have statistics on top build targets are specified. Bug: b/169453712 Test: ran "m blueprint_tools", "m nothing", "lunch 1" and checked in soong_metrics proto. Change-Id: I7ab94dcf037211f1abffe6afd012b03ffbf99756 Merged-In: I7ab94dcf037211f1abffe6afd012b03ffbf99756
2020-10-21Snap for 6921388 from 04f6efa7160b91274ebf432cdba15cd9da52b1b2 to ↵android-build-team Robot
qt-aml-tzdata-release Change-Id: I619d444b4ddecc05c220b2a360c3baf2165259ab
2020-10-21Deprecate both USE_GOMA and FORCE_USE_GOMA flags am: 6d0034f49fKousik Kumar
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/soong/+/12886656 Change-Id: If52cdcd09678cc154257b22b869f6ebabd8557f0
2020-10-20Deprecate both USE_GOMA and FORCE_USE_GOMA flagsKousik Kumar
Test: m USE_GOMA=true GOMA_DIR=$(goma_ctl goma_dir) toybox m FORCE_USE_GOMA=true GOMA_DIR=$(goma_ctl goma_dir) toybox both result in error message being printed. Bug: b/171325288 Change-Id: I94ccaf217dba71aca990d88d205bad669a49a2f5 Merged-In: I94ccaf217dba71aca990d88d205bad669a49a2f5
2020-10-15Collect the hostname of the machine as a metric. am: af7b75b8dbPatrice Arruda
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/soong/+/12849657 Change-Id: I21d6d894ce261bb9181dc6863c41ff67c5af904a
2020-10-15Collect the hostname of the machine as a metric.Patrice Arruda
The hostname is collected during a build to determine where the user is build from (from office workstation, cloudtop, etc...). This is a useful metrics for RBE related builds. Bug: b/169395325 Test: m nothing, ran printproto to verify that soong_metrics has the hostname. Change-Id: I3e5d64f948ae43c5dda60de1d4a52b187e36dff8 Merged-In: I3e5d64f948ae43c5dda60de1d4a52b187e36dff8 Merged-In: Ib6898b49c16a830d814efe74581bde463caedf76
2020-09-29Collect FORCE_USE_GOMA environment variable as a metric. am: 3fc4c98bd9Patrice Arruda
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/soong/+/12722544 Change-Id: I97b6cc360664bb8a2c2f959a632efd99b9d9021a
2020-09-29Deprecate USE_GOMA and replace with FORCE_USE_GOMA am: dbe59cdd81Kousik Kumar
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/soong/+/12721330 Change-Id: I6ff581a4b66298a34453282c5709102fbc691d7d
2020-09-29Collect FORCE_USE_GOMA environment variable as a metric.Patrice Arruda
FORCE_USE_GOMA is needed to be collected as a metric for the deprecation of GOMA on Android builds. Bug: b/169423400 Test: m nothing, ran printproto command Change-Id: I12300389f1f27239d8f21875d1b6e4ad069d95d7 Merged-In: I12300389f1f27239d8f21875d1b6e4ad069d95d7
2020-09-29Deprecate USE_GOMA and replace with FORCE_USE_GOMAKousik Kumar
Bug: b/163361527 Test: Ran builds with USE_GOMA / FORCE_USE_GOMA flags Change-Id: I67b229fbf52e913b0c4f5e7932021132ddc0598f Merged-In: I67b229fbf52e913b0c4f5e7932021132ddc0598f
2020-09-16Merge "[DO NOT MERGE] Add Goma deprecation PSA to soong." into qt-dev am: ↵TreeHugger Robot
3f4bdf5015 Original change: https://googleplex-android-review.googlesource.com/c/platform/build/soong/+/12614869 Change-Id: I37b43e7591eeedc1e78da38362b6b90bfc98118f
2020-09-16[DO NOT MERGE] Add Goma deprecation PSA to soong. am: ee50d5b5b0Ramy Medhat
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/soong/+/12614869 Change-Id: I9503e5c8bbd0412973439f57ffe22f470201d092
2020-09-16Merge "Start collecting build configuration metrics." into qt-dev am: b4435196a3TreeHugger Robot
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/soong/+/12618631 Change-Id: Ifa3de692aea1bb7a9434d9660dbc845f7f56e3f5
2020-09-16Merge "[DO NOT MERGE] Add Goma deprecation PSA to soong." into qt-devTreeHugger Robot
2020-09-16Merge "Start collecting build configuration metrics." into qt-devTreeHugger Robot
2020-09-16Merge "Add eakammer and patricearruda to OWNERS" into qt-dev am: 0a129a52cfTreeHugger Robot
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/soong/+/12617609 Change-Id: I6e16f05db1d0b0963b69af04758894e26608d2c0
2020-09-16Merge "Add eakammer and patricearruda to OWNERS" into qt-devTreeHugger Robot
2020-09-16Start collecting build configuration metrics.Patrice Arruda
This is an initial CL that collects the environment variables USE_GOMA and USE_RBE. This is a needed metric to determine how many users are currently using GOMA so we can help them migrate to RBE. Bug: b/163598127 Test: m nothing and checked soong_metrics Change-Id: I39536eabad01aafbb3bd7182515d72230b36f658 Merged-In: I39536eabad01aafbb3bd7182515d72230b36f658
2020-09-16[DO NOT MERGE] Make the default exec strategy for javac/r8/d8 remote local ↵Ramy Medhat
fallback. am: 320c041797 Original change: https://googleplex-android-review.googlesource.com/c/platform/build/soong/+/12595318 Change-Id: I8d2efe13bd6ff2bacc45606ef8dcc5d3ea24dae9
2020-09-16[DO NOT MERGE] Add a default value for the RBE_log_dir variable. am: 8229916e1fRamy Medhat
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/soong/+/12595317 Change-Id: I6b392c782a248305d7d4e8380d7695015b548c9e
2020-09-16[DO NOT MERGE] Do not generate a random socket address for RBE if ↵Ramy Medhat
NOSTART_RBE is set. am: 00ff4cc1ef Original change: https://googleplex-android-review.googlesource.com/c/platform/build/soong/+/12595316 Change-Id: I998695e40231538fdcaf485ba2e2dccad0480606
2020-09-16[DO NOT MERGE] Add reasonable defaults to RBE configuration parameters. am: ↵Ramy Medhat
19c39230e9 Original change: https://googleplex-android-review.googlesource.com/c/platform/build/soong/+/12595315 Change-Id: I684817629c64a6cb8a953ce10a7e98548343e1ee
2020-09-16[DO NOT MERGE] Add newline to each generated bash script in rbe_test.go. am: ↵Patrice Arruda
b258d9367c Original change: https://googleplex-android-review.googlesource.com/c/platform/build/soong/+/12598126 Change-Id: I67d348cbdc93248976c1d22b1554e0c365e7644d
2020-09-16[DO NOT MERGE] Add Goma deprecation PSA to soong.Ramy Medhat
Test: build with Goma Bug: b/166273085 Change-Id: Ie7e146285afd40bc0a1dc17a0b898960f57a118b Merged-In: Ie7e146285afd40bc0a1dc17a0b898960f57a118b
2020-09-16Add eakammer and patricearruda to OWNERSColin Cross
Bug: b/168709033 Test: N/A Change-Id: I4209fc5149dcce6bf75aef130afc69c4600c7f3b Merged-In: I4209fc5149dcce6bf75aef130afc69c4600c7f3b
2020-09-16[DO NOT MERGE] Add RBE metrics dump in Soong UI. am: fbc4e3f9b6Patrice Arruda
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/soong/+/12595314 Change-Id: I7086330bf6e2637cd3cc3ff494027aae7a30818e