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 "Mac64 Debug (GN)", | 10 "Mac64 Debug (GN)", |
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'}]", | 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'}]", |
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_CHROMIUM_NO_ACTION": "1", | 60 "GYP_CHROMIUM_NO_ACTION": "1", |
59 "GYP_DEFINES": "clang=1 component=shared_library gomadir='[ROOT]/b/build/g
oma' target_arch=x64 use_goma=1", | 61 "GYP_DEFINES": "clang=1 component=shared_library gomadir='[BUILD]/goma' ta
rget_arch=x64 use_goma=1", |
60 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 62 "PATH": "%(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 "[ROOT]/b/depot_tools/gn.py", | 70 "[DEPOT_TOOLS]/gn.py", |
69 "--root=[CWD]/src", | 71 "--root=[SLAVE_BUILD]/src", |
70 "gen", | 72 "gen", |
71 "//out/Debug", | 73 "//out/Debug", |
72 "--args=is_debug=true target_cpu=\"x64\" use_goma=true goma_dir=\"[ROOT]/b
/build/goma\"" | 74 "--args=is_debug=true target_cpu=\"x64\" use_goma=true goma_dir=\"[BUILD]/
goma\"" |
73 ], | 75 ], |
| 76 "cwd": "[SLAVE_BUILD]", |
74 "name": "gn" | 77 "name": "gn" |
75 }, | 78 }, |
76 { | 79 { |
77 "allow_subannotations": true, | 80 "allow_subannotations": true, |
78 "cmd": [ | 81 "cmd": [ |
79 "python", | 82 "python", |
80 "-u", | 83 "-u", |
81 "RECIPE_PACKAGE_REPO[build]/scripts/slave/clang_revision.py", | 84 "RECIPE_PACKAGE_REPO[build]/scripts/slave/clang_revision.py", |
82 "--src-dir", | 85 "--src-dir", |
83 "[CWD]/src", | 86 "[SLAVE_BUILD]/src", |
84 "--output-json", | 87 "--output-json", |
85 "/path/to/tmp/json" | 88 "/path/to/tmp/json" |
86 ], | 89 ], |
| 90 "cwd": "[SLAVE_BUILD]", |
87 "env": { | 91 "env": { |
88 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | 92 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
89 }, | 93 }, |
90 "name": "clang_revision", | 94 "name": "clang_revision", |
91 "~followup_annotations": [ | 95 "~followup_annotations": [ |
92 "@@@STEP_LOG_LINE@json.output@{@@@", | 96 "@@@STEP_LOG_LINE@json.output@{@@@", |
93 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@", | 97 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@", |
94 "@@@STEP_LOG_LINE@json.output@}@@@", | 98 "@@@STEP_LOG_LINE@json.output@}@@@", |
95 "@@@STEP_LOG_END@json.output@@@" | 99 "@@@STEP_LOG_END@json.output@@@" |
96 ] | 100 ] |
97 }, | 101 }, |
98 { | 102 { |
99 "cmd": [ | 103 "cmd": [ |
100 "python", | 104 "python", |
101 "-u", | 105 "-u", |
102 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", | 106 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", |
103 "--show-path", | 107 "--show-path", |
104 "python", | 108 "python", |
105 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py", | 109 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py", |
106 "--gsutil-py-path", | 110 "--gsutil-py-path", |
107 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", | 111 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", |
108 "--ninja-path", | 112 "--ninja-path", |
109 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", | 113 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", |
110 "--target", | 114 "--target", |
111 "Debug", | 115 "Debug", |
112 "--src-dir", | 116 "--src-dir", |
113 "[CWD]/src", | 117 "[SLAVE_BUILD]/src", |
114 "--goma-cache-dir", | 118 "--goma-cache-dir", |
115 "[ROOT]/b/build/slave/goma_cache", | 119 "[GOMA_CACHE]", |
116 "--build-tool", | 120 "--build-tool", |
117 "ninja", | 121 "ninja", |
118 "--compiler", | 122 "--compiler", |
119 "goma-clang", | 123 "goma-clang", |
120 "--goma-jsonstatus", | 124 "--goma-jsonstatus", |
121 "/path/to/tmp/json", | 125 "/path/to/tmp/json", |
122 "--goma-service-account-json-file", | 126 "--goma-service-account-json-file", |
123 "/creds/service_accounts/service-account-goma-client.json", | 127 "/creds/service_accounts/service-account-goma-client.json", |
124 "--goma-dir", | 128 "--goma-dir", |
125 "[ROOT]/b/build/goma", | 129 "[BUILD]/goma", |
126 "--", | 130 "--", |
127 "all" | 131 "all" |
128 ], | 132 ], |
| 133 "cwd": "[SLAVE_BUILD]", |
129 "env": { | 134 "env": { |
130 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | 135 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" |
131 }, | 136 }, |
132 "name": "compile", | 137 "name": "compile", |
133 "~followup_annotations": [ | 138 "~followup_annotations": [ |
134 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", | 139 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", |
135 "@@@STEP_LOG_END@json.output (invalid)@@@" | 140 "@@@STEP_LOG_END@json.output (invalid)@@@" |
136 ] | 141 ] |
137 }, | 142 }, |
138 { | 143 { |
139 "name": "$result", | 144 "name": "$result", |
140 "recipe_result": null, | 145 "recipe_result": null, |
141 "status_code": 0 | 146 "status_code": 0 |
142 } | 147 } |
143 ] | 148 ] |
OLD | NEW |