Index: scripts/slave/recipes/chromium.expected/full_chromium_fyi_ThinLTO_Linux_ToT.json |
diff --git a/scripts/slave/recipes/chromium.expected/full_chromium_fyi_ThinLTO_Linux_ToT.json b/scripts/slave/recipes/chromium.expected/full_chromium_fyi_ThinLTO_Linux_ToT.json |
index 82c871e4c03b207f4a118c8750503eef8e2d17a7..937d367dbd507646dd35dcec7fa03e825de52417 100644 |
--- a/scripts/slave/recipes/chromium.expected/full_chromium_fyi_ThinLTO_Linux_ToT.json |
+++ b/scripts/slave/recipes/chromium.expected/full_chromium_fyi_ThinLTO_Linux_ToT.json |
@@ -122,63 +122,6 @@ |
] |
}, |
{ |
- "name": "ensure_goma" |
- }, |
- { |
- "cmd": [ |
- "python", |
- "-u", |
- "RECIPE_MODULE[depot_tools::cipd]/resources/bootstrap.py", |
- "--platform", |
- "linux-amd64", |
- "--dest-directory", |
- "[SLAVE_BUILD]/cipd", |
- "--json-output", |
- "/path/to/tmp/json" |
- ], |
- "name": "ensure_goma.install cipd", |
- "~followup_annotations": [ |
- "@@@STEP_NEST_LEVEL@1@@@", |
- "@@@STEP_TEXT@cipd instance_id: 40-chars-fake-of-the-package-instance_id@@@", |
- "@@@STEP_LOG_LINE@json.output@{@@@", |
- "@@@STEP_LOG_LINE@json.output@ \"executable\": \"[SLAVE_BUILD]/cipd/cipd\", @@@", |
- "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\"@@@", |
- "@@@STEP_LOG_LINE@json.output@}@@@", |
- "@@@STEP_LOG_END@json.output@@@" |
- ] |
- }, |
- { |
- "cmd": [ |
- "[SLAVE_BUILD]/cipd/cipd", |
- "ensure", |
- "--root", |
- "[CACHE]/cipd/goma", |
- "--list", |
- "infra/tools/cloudtail/linux-amd64 goma_recipe_module\ninfra_internal/goma/client/linux-amd64 release", |
- "--json-output", |
- "/path/to/tmp/json", |
- "--service-account-json", |
- "/creds/service_accounts/service-account-goma-client.json" |
- ], |
- "name": "ensure_goma.ensure_installed", |
- "~followup_annotations": [ |
- "@@@STEP_NEST_LEVEL@1@@@", |
- "@@@STEP_LOG_LINE@json.output@{@@@", |
- "@@@STEP_LOG_LINE@json.output@ \"result\": [@@@", |
- "@@@STEP_LOG_LINE@json.output@ {@@@", |
- "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-goma_recipe_modu\", @@@", |
- "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/cloudtail/linux-amd64\"@@@", |
- "@@@STEP_LOG_LINE@json.output@ }, @@@", |
- "@@@STEP_LOG_LINE@json.output@ {@@@", |
- "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-release---------\", @@@", |
- "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra_internal/goma/client/linux-amd64\"@@@", |
- "@@@STEP_LOG_LINE@json.output@ }@@@", |
- "@@@STEP_LOG_LINE@json.output@ ]@@@", |
- "@@@STEP_LOG_LINE@json.output@}@@@", |
- "@@@STEP_LOG_END@json.output@@@" |
- ] |
- }, |
- { |
"cmd": [ |
"python", |
"-u", |
@@ -189,7 +132,7 @@ |
"env": { |
"GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json", |
"GYP_CHROMIUM_NO_ACTION": "1", |
- "GYP_DEFINES": "clang_use_chrome_plugins=0 component=static_library gomadir='[CACHE]/cipd/goma' target_arch=x64 use_goma=1", |
+ "GYP_DEFINES": "clang=1 clang_use_chrome_plugins=0 component=static_library target_arch=x64", |
"LLVM_FORCE_HEAD_REVISION": "YES", |
"PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
}, |
@@ -254,8 +197,6 @@ |
"ThinLTO Linux ToT", |
"--config-file", |
"[BUILDER_CACHE]/ThinLTO_Linux_ToT/src/tools/mb/mb_config.pyl", |
- "--goma-dir", |
- "[CACHE]/cipd/goma", |
"//out/Release" |
], |
"cwd": "[BUILDER_CACHE]/ThinLTO_Linux_ToT/src", |
@@ -265,6 +206,29 @@ |
"name": "generate_build_files" |
}, |
{ |
+ "allow_subannotations": true, |
+ "cmd": [ |
+ "python", |
+ "-u", |
+ "RECIPE_PACKAGE_REPO[build]/scripts/slave/clang_revision.py", |
+ "--src-dir", |
+ "[BUILDER_CACHE]/ThinLTO_Linux_ToT/src", |
+ "--output-json", |
+ "/path/to/tmp/json" |
+ ], |
+ "env": { |
+ "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json", |
+ "LLVM_FORCE_HEAD_REVISION": "YES" |
+ }, |
+ "name": "clang_revision", |
+ "~followup_annotations": [ |
+ "@@@STEP_LOG_LINE@json.output@{@@@", |
+ "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@", |
+ "@@@STEP_LOG_LINE@json.output@}@@@", |
+ "@@@STEP_LOG_END@json.output@@@" |
+ ] |
+ }, |
+ { |
"cmd": [ |
"python", |
"-u", |
@@ -293,26 +257,14 @@ |
"--build-data-dir", |
"[ROOT]/build_data_dir", |
"--compiler", |
- "goma", |
- "--goma-jsonstatus", |
- "/path/to/tmp/json", |
- "--goma-service-account-json-file", |
- "/creds/service_accounts/service-account-goma-client.json", |
- "--goma-dir", |
- "[CACHE]/cipd/goma", |
- "--", |
- "All", |
- "chromium_builder_tests" |
+ "clang", |
+ "--" |
], |
"env": { |
"GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json", |
"LLVM_FORCE_HEAD_REVISION": "YES" |
}, |
- "name": "compile", |
- "~followup_annotations": [ |
- "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", |
- "@@@STEP_LOG_END@json.output (invalid)@@@" |
- ] |
+ "name": "compile" |
}, |
{ |
"name": "$result", |