Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(164)

Side by Side Diff: scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_android_gn_rel.json

Issue 2226283002: webrtc: prepare for running under remote_run (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "python", 4 "python",
5 "-u", 5 "-u",
6 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os. path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n",
7 "[BUILDER_CACHE]/android_gn_rel",
8 "511"
9 ],
10 "name": "makedirs checkout path",
11 "~followup_annotations": [
12 "@@@STEP_LOG_LINE@python.inline@@@@",
13 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
14 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
15 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
16 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
17 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
18 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
19 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
20 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
21 "@@@STEP_LOG_END@python.inline@@@"
22 ]
23 },
24 {
25 "cmd": [
26 "python",
27 "-u",
6 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", 28 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py",
7 "--master", 29 "--master",
8 "tryserver.webrtc", 30 "tryserver.webrtc",
9 "--builder", 31 "--builder",
10 "android_gn_rel", 32 "android_gn_rel",
11 "--slave", 33 "--slave",
12 "slavename", 34 "slavename",
13 "--spec", 35 "--spec",
14 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': 'DEPS', 'managed': True, 'name': 'src', 'url': 'https://chromium.googlesource.com/external/webrtc'} , {'deps_file': 'DEPS', 'managed': True, 'name': 'webrtc-limited', 'url': 'https ://chrome-internal.googlesource.com/chrome/deps/webrtc-limited'}]\ntarget_os = [ 'android']", 36 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': 'DEPS', 'managed': True, 'name': 'src', 'url': 'https://chromium.googlesource.com/external/webrtc'} , {'deps_file': 'DEPS', 'managed': True, 'name': 'webrtc-limited', 'url': 'https ://chrome-internal.googlesource.com/chrome/deps/webrtc-limited'}]\ntarget_os = [ 'android']",
15 "--root", 37 "--root",
16 "src", 38 "src",
17 "--revision_mapping_file", 39 "--revision_mapping_file",
18 "{\"src\": \"got_revision\"}", 40 "{\"src\": \"got_revision\"}",
19 "--git-cache-dir", 41 "--git-cache-dir",
20 "[GIT_CACHE]", 42 "[GIT_CACHE]",
21 "--issue", 43 "--issue",
22 "666666", 44 "666666",
23 "--patchset", 45 "--patchset",
24 "1", 46 "1",
25 "--rietveld_server", 47 "--rietveld_server",
26 "https://fake.rietveld.url", 48 "https://fake.rietveld.url",
27 "--output_json", 49 "--output_json",
28 "/path/to/tmp/json", 50 "/path/to/tmp/json",
29 "--revision", 51 "--revision",
30 "src@12345", 52 "src@12345",
31 "--output_manifest" 53 "--output_manifest"
32 ], 54 ],
55 "cwd": "[BUILDER_CACHE]/android_gn_rel",
33 "env": { 56 "env": {
34 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 57 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
35 }, 58 },
36 "name": "bot_update", 59 "name": "bot_update",
37 "~followup_annotations": [ 60 "~followup_annotations": [
38 "@@@STEP_TEXT@Some step text@@@", 61 "@@@STEP_TEXT@Some step text@@@",
39 "@@@STEP_LOG_LINE@json.output@{@@@", 62 "@@@STEP_LOG_LINE@json.output@{@@@",
40 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", 63 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
41 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", 64 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
42 "@@@STEP_LOG_LINE@json.output@ \"src\": \"12345\"@@@", 65 "@@@STEP_LOG_LINE@json.output@ \"src\": \"12345\"@@@",
(...skipping 16 matching lines...) Expand all
59 "@@@STEP_LOG_END@json.output@@@", 82 "@@@STEP_LOG_END@json.output@@@",
60 "@@@SET_BUILD_PROPERTY@got_revision@\"f27fede2220bcd326aee3e86ddfd4ebd0fe5 8cb9\"@@@", 83 "@@@SET_BUILD_PROPERTY@got_revision@\"f27fede2220bcd326aee3e86ddfd4ebd0fe5 8cb9\"@@@",
61 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@" 84 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@"
62 ] 85 ]
63 }, 86 },
64 { 87 {
65 "cmd": [ 88 "cmd": [
66 "python", 89 "python",
67 "-u", 90 "-u",
68 "RECIPE_MODULE[build::webrtc]/resources/cleanup_files.py", 91 "RECIPE_MODULE[build::webrtc]/resources/cleanup_files.py",
69 "[SLAVE_BUILD]/src/out" 92 "[BUILDER_CACHE]/android_gn_rel/src/out"
70 ], 93 ],
71 "name": "clean test output files" 94 "name": "clean test output files"
72 }, 95 },
73 { 96 {
74 "cmd": [ 97 "cmd": [
75 "python", 98 "python",
76 "-u", 99 "-u",
77 "\nimport shutil, sys, os\nshutil.rmtree(sys.argv[1], True)\nshutil.rmtree (sys.argv[2], True)\ntry:\n os.remove(sys.argv[3])\nexcept OSError:\n pass\nfo r base, _dirs, files in os.walk(sys.argv[4]):\n for f in files:\n if f.endsw ith('.pyc'):\n os.remove(os.path.join(base, f))\n", 100 "\nimport shutil, sys, os\nshutil.rmtree(sys.argv[1], True)\nshutil.rmtree (sys.argv[2], True)\ntry:\n os.remove(sys.argv[3])\nexcept OSError:\n pass\nfo r base, _dirs, files in os.walk(sys.argv[4]):\n for f in files:\n if f.endsw ith('.pyc'):\n os.remove(os.path.join(base, f))\n",
78 "[SLAVE_BUILD]/src/out/Release/debug_info_dumps", 101 "[BUILDER_CACHE]/android_gn_rel/src/out/Release/debug_info_dumps",
79 "[SLAVE_BUILD]/src/out/Release/test_logs", 102 "[BUILDER_CACHE]/android_gn_rel/src/out/Release/test_logs",
80 "[SLAVE_BUILD]/src/out/build_product.zip", 103 "[BUILDER_CACHE]/android_gn_rel/src/out/build_product.zip",
81 "[SLAVE_BUILD]/src" 104 "[BUILDER_CACHE]/android_gn_rel/src"
82 ], 105 ],
83 "name": "clean local files", 106 "name": "clean local files",
84 "~followup_annotations": [ 107 "~followup_annotations": [
85 "@@@STEP_LOG_LINE@python.inline@@@@", 108 "@@@STEP_LOG_LINE@python.inline@@@@",
86 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", 109 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@",
87 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", 110 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@",
88 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", 111 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@",
89 "@@@STEP_LOG_LINE@python.inline@try:@@@", 112 "@@@STEP_LOG_LINE@python.inline@try:@@@",
90 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", 113 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@",
91 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", 114 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@",
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 "@@@STEP_LOG_END@json.output@@@" 174 "@@@STEP_LOG_END@json.output@@@"
152 ] 175 ]
153 }, 176 },
154 { 177 {
155 "cmd": [ 178 "cmd": [
156 "python", 179 "python",
157 "-u", 180 "-u",
158 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 181 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
159 "runhooks" 182 "runhooks"
160 ], 183 ],
161 "cwd": "[SLAVE_BUILD]/src", 184 "cwd": "[BUILDER_CACHE]/android_gn_rel/src",
162 "env": { 185 "env": {
163 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 186 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
164 "GYP_CHROMIUM_NO_ACTION": "1", 187 "GYP_CHROMIUM_NO_ACTION": "1",
165 "GYP_CROSSCOMPILE": "1", 188 "GYP_CROSSCOMPILE": "1",
166 "GYP_DEFINES": "OS=android component=static_library dcheck_always_on=1 fas tbuild=1 gomadir='[CACHE]/cipd/goma' target_arch=arm use_goma=1", 189 "GYP_DEFINES": "OS=android component=static_library dcheck_always_on=1 fas tbuild=1 gomadir='[CACHE]/cipd/goma' target_arch=arm use_goma=1",
167 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 190 "PATH": "[BUILDER_CACHE]/android_gn_rel/src/third_party/android_tools/sdk/ platform-tools:[BUILDER_CACHE]/android_gn_rel/src/build/android:%(PATH)s:RECIPE_ PACKAGE_REPO[depot_tools]"
168 }, 191 },
169 "name": "gclient runhooks" 192 "name": "gclient runhooks"
170 }, 193 },
171 { 194 {
172 "cmd": [ 195 "cmd": [
173 "python", 196 "python",
174 "-u", 197 "-u",
175 "[DEPOT_TOOLS]/gn.py", 198 "RECIPE_PACKAGE_REPO[depot_tools]/gn.py",
176 "--root=[SLAVE_BUILD]/src", 199 "--root=[BUILDER_CACHE]/android_gn_rel/src",
177 "gen", 200 "gen",
178 "//out/Release", 201 "//out/Release",
179 "--args=is_debug=false target_os=\"android\" target_cpu=\"arm\" use_goma=t rue goma_dir=\"[CACHE]/cipd/goma\"" 202 "--args=is_debug=false target_os=\"android\" target_cpu=\"arm\" use_goma=t rue goma_dir=\"[CACHE]/cipd/goma\""
180 ], 203 ],
181 "name": "gn" 204 "name": "gn"
182 }, 205 },
183 { 206 {
184 "cmd": [ 207 "cmd": [
185 "python", 208 "python",
186 "-u", 209 "-u",
187 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", 210 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py",
188 "--show-path", 211 "--show-path",
189 "python", 212 "python",
190 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py", 213 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py",
191 "--gsutil-py-path", 214 "--gsutil-py-path",
192 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", 215 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
193 "--ninja-path", 216 "--ninja-path",
194 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", 217 "RECIPE_PACKAGE_REPO[depot_tools]/ninja",
195 "--target", 218 "--target",
196 "Release", 219 "Release",
197 "--src-dir", 220 "--src-dir",
198 "[SLAVE_BUILD]/src", 221 "[BUILDER_CACHE]/android_gn_rel/src",
199 "--goma-cache-dir", 222 "--goma-cache-dir",
200 "[GOMA_CACHE]", 223 "[GOMA_CACHE]",
224 "--goma-deps-cache-dir",
225 "[GOMA_DEPS_CACHE]",
201 "--compiler", 226 "--compiler",
202 "goma", 227 "goma",
203 "--goma-jsonstatus", 228 "--goma-jsonstatus",
204 "/path/to/tmp/json", 229 "/path/to/tmp/json",
205 "--goma-service-account-json-file", 230 "--goma-service-account-json-file",
206 "/creds/service_accounts/service-account-goma-client.json", 231 "/creds/service_accounts/service-account-goma-client.json",
207 "--goma-dir", 232 "--goma-dir",
208 "[CACHE]/cipd/goma", 233 "[CACHE]/cipd/goma",
209 "--goma-fail-fast", 234 "--goma-fail-fast",
210 "--goma-disable-local-fallback", 235 "--goma-disable-local-fallback",
211 "--", 236 "--",
212 "all" 237 "all"
213 ], 238 ],
214 "env": { 239 "env": {
215 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 240 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
216 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 241 "PATH": "[BUILDER_CACHE]/android_gn_rel/src/third_party/android_tools/sdk/ platform-tools:[BUILDER_CACHE]/android_gn_rel/src/build/android:%(PATH)s"
217 }, 242 },
218 "name": "compile", 243 "name": "compile",
219 "~followup_annotations": [ 244 "~followup_annotations": [
220 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", 245 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@",
221 "@@@STEP_LOG_END@json.output (invalid)@@@" 246 "@@@STEP_LOG_END@json.output (invalid)@@@"
222 ] 247 ]
223 }, 248 },
224 { 249 {
225 "name": "$result", 250 "name": "$result",
226 "recipe_result": null, 251 "recipe_result": null,
227 "status_code": 0 252 "status_code": 0
228 } 253 }
229 ] 254 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698