OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "cmd": [ | 3 "cmd": [ |
4 "python", | 4 "python", |
5 "-u", | 5 "-u", |
6 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", | 6 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", |
7 "--master", | 7 "--master", |
8 "client.libyuv", | 8 "client.libyuv", |
9 "--builder", | 9 "--builder", |
10 "Android Release", | 10 "Android Release", |
11 "--slave", | 11 "--slave", |
12 "slavename", | 12 "slavename", |
13 "--spec", | 13 "--spec", |
14 "cache_dir = '[ROOT]/b/build/slave/cache_dir'\nsolutions = [{'custom_vars'
: {'root_dir': 'src'}, 'deps_file': 'DEPS', 'managed': True, 'name': 'src', 'url
': 'https://chromium.googlesource.com/libyuv/libyuv'}]\ntarget_os = ['android']"
, | 14 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'custom_vars': {'root_dir': 'src
'}, 'deps_file': 'DEPS', 'managed': True, 'name': 'src', 'url': 'https://chromiu
m.googlesource.com/libyuv/libyuv'}]\ntarget_os = ['android']", |
15 "--root", | 15 "--root", |
16 "src", | 16 "src", |
17 "--revision_mapping_file", | 17 "--revision_mapping_file", |
18 "{}", | 18 "{}", |
19 "--git-cache-dir", | 19 "--git-cache-dir", |
20 "[ROOT]/b/build/slave/cache_dir", | 20 "[GIT_CACHE]", |
21 "--output_json", | 21 "--output_json", |
22 "/path/to/tmp/json", | 22 "/path/to/tmp/json", |
23 "--revision", | 23 "--revision", |
24 "src@12345", | 24 "src@12345", |
25 "--force", | 25 "--force", |
26 "--output_manifest" | 26 "--output_manifest" |
27 ], | 27 ], |
| 28 "cwd": "[SLAVE_BUILD]", |
28 "env": { | 29 "env": { |
29 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 30 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
30 }, | 31 }, |
31 "name": "bot_update", | 32 "name": "bot_update", |
32 "~followup_annotations": [ | 33 "~followup_annotations": [ |
33 "@@@STEP_TEXT@Some step text@@@", | 34 "@@@STEP_TEXT@Some step text@@@", |
34 "@@@STEP_LOG_LINE@json.output@{@@@", | 35 "@@@STEP_LOG_LINE@json.output@{@@@", |
35 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", | 36 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", |
36 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", | 37 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", |
37 "@@@STEP_LOG_LINE@json.output@ \"src\": \"12345\"@@@", | 38 "@@@STEP_LOG_LINE@json.output@ \"src\": \"12345\"@@@", |
38 "@@@STEP_LOG_LINE@json.output@ }, @@@", | 39 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
39 "@@@STEP_LOG_LINE@json.output@ \"manifest\": {}, @@@", | 40 "@@@STEP_LOG_LINE@json.output@ \"manifest\": {}, @@@", |
40 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@", | 41 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@", |
41 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"src\", @@@", | 42 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"src\", @@@", |
42 "@@@STEP_LOG_LINE@json.output@ \"properties\": {}, @@@", | 43 "@@@STEP_LOG_LINE@json.output@ \"properties\": {}, @@@", |
43 "@@@STEP_LOG_LINE@json.output@ \"root\": \"src\", @@@", | 44 "@@@STEP_LOG_LINE@json.output@ \"root\": \"src\", @@@", |
44 "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@", | 45 "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@", |
45 "@@@STEP_LOG_LINE@json.output@}@@@", | 46 "@@@STEP_LOG_LINE@json.output@}@@@", |
46 "@@@STEP_LOG_END@json.output@@@" | 47 "@@@STEP_LOG_END@json.output@@@" |
47 ] | 48 ] |
48 }, | 49 }, |
49 { | 50 { |
50 "cmd": [ | 51 "cmd": [ |
51 "python", | 52 "python", |
52 "-u", | 53 "-u", |
53 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 54 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
54 "runhooks" | 55 "runhooks" |
55 ], | 56 ], |
| 57 "cwd": "[SLAVE_BUILD]", |
56 "env": { | 58 "env": { |
57 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 59 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
58 "GYP_CROSSCOMPILE": "1", | 60 "GYP_CROSSCOMPILE": "1", |
59 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[
ROOT]/b/build/goma' target_arch=arm use_goma=1", | 61 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[
BUILD]/goma' target_arch=arm use_goma=1", |
60 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 62 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
61 }, | 63 }, |
62 "name": "gclient runhooks" | 64 "name": "gclient runhooks" |
63 }, | 65 }, |
64 { | 66 { |
65 "cmd": [ | 67 "cmd": [ |
66 "python", | 68 "python", |
67 "-u", | 69 "-u", |
68 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", | 70 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", |
69 "--show-path", | 71 "--show-path", |
70 "python", | 72 "python", |
71 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py", | 73 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py", |
72 "--gsutil-py-path", | 74 "--gsutil-py-path", |
73 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", | 75 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", |
74 "--ninja-path", | 76 "--ninja-path", |
75 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", | 77 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", |
76 "--target", | 78 "--target", |
77 "Release", | 79 "Release", |
78 "--src-dir", | 80 "--src-dir", |
79 "[CWD]/src", | 81 "[SLAVE_BUILD]/src", |
80 "--goma-cache-dir", | 82 "--goma-cache-dir", |
81 "[ROOT]/b/build/slave/goma_cache", | 83 "[GOMA_CACHE]", |
82 "--build-tool", | 84 "--build-tool", |
83 "ninja", | 85 "ninja", |
84 "--compiler", | 86 "--compiler", |
85 "goma", | 87 "goma", |
86 "--goma-jsonstatus", | 88 "--goma-jsonstatus", |
87 "/path/to/tmp/json", | 89 "/path/to/tmp/json", |
88 "--goma-service-account-json-file", | 90 "--goma-service-account-json-file", |
89 "/creds/service_accounts/service-account-goma-client.json", | 91 "/creds/service_accounts/service-account-goma-client.json", |
90 "--goma-dir", | 92 "--goma-dir", |
91 "[ROOT]/b/build/goma", | 93 "[BUILD]/goma", |
92 "--" | 94 "--" |
93 ], | 95 ], |
| 96 "cwd": "[SLAVE_BUILD]", |
94 "env": { | 97 "env": { |
95 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 98 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
96 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 99 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
97 }, | 100 }, |
98 "name": "compile", | 101 "name": "compile", |
99 "~followup_annotations": [ | 102 "~followup_annotations": [ |
100 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", | 103 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", |
101 "@@@STEP_LOG_END@json.output (invalid)@@@" | 104 "@@@STEP_LOG_END@json.output (invalid)@@@" |
102 ] | 105 ] |
103 }, | 106 }, |
104 { | 107 { |
105 "name": "$result", | 108 "name": "$result", |
106 "recipe_result": null, | 109 "recipe_result": null, |
107 "status_code": 0 | 110 "status_code": 0 |
108 } | 111 } |
109 ] | 112 ] |
OLD | NEW |