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

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

Issue 2288063002: WebRTC: Repurpose GN bots to GYP for all but iOS (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Fix typo Created 4 years, 3 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
(Empty)
1 [
2 {
3 "cmd": [
4 "python",
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_dbg",
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",
28 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py",
29 "--master",
30 "tryserver.webrtc",
31 "--builder",
32 "android_gn_dbg",
33 "--slave",
34 "slavename",
35 "--spec",
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']",
37 "--root",
38 "src",
39 "--revision_mapping_file",
40 "{\"src\": \"got_revision\"}",
41 "--git-cache-dir",
42 "[GIT_CACHE]",
43 "--issue",
44 "666666",
45 "--patchset",
46 "1",
47 "--rietveld_server",
48 "https://fake.rietveld.url",
49 "--output_json",
50 "/path/to/tmp/json",
51 "--revision",
52 "src@12345",
53 "--output_manifest"
54 ],
55 "cwd": "[BUILDER_CACHE]/android_gn_dbg",
56 "env": {
57 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
58 },
59 "name": "bot_update",
60 "~followup_annotations": [
61 "@@@STEP_TEXT@Some step text@@@",
62 "@@@STEP_LOG_LINE@json.output@{@@@",
63 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
64 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
65 "@@@STEP_LOG_LINE@json.output@ \"src\": \"12345\"@@@",
66 "@@@STEP_LOG_LINE@json.output@ }, @@@",
67 "@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@",
68 "@@@STEP_LOG_LINE@json.output@ \"src\": {@@@",
69 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src .git\", @@@",
70 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"f27fede2220bcd326aee3e 86ddfd4ebd0fe58cb9\"@@@",
71 "@@@STEP_LOG_LINE@json.output@ }@@@",
72 "@@@STEP_LOG_LINE@json.output@ }, @@@",
73 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@",
74 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"src\", @@@",
75 "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@",
76 "@@@STEP_LOG_LINE@json.output@ \"got_revision\": \"f27fede2220bcd326aee 3e86ddfd4ebd0fe58cb9\", @@@",
77 "@@@STEP_LOG_LINE@json.output@ \"got_revision_cp\": \"refs/heads/master @{#170242}\"@@@",
78 "@@@STEP_LOG_LINE@json.output@ }, @@@",
79 "@@@STEP_LOG_LINE@json.output@ \"root\": \"src\", @@@",
80 "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@",
81 "@@@STEP_LOG_LINE@json.output@}@@@",
82 "@@@STEP_LOG_END@json.output@@@",
83 "@@@SET_BUILD_PROPERTY@got_revision@\"f27fede2220bcd326aee3e86ddfd4ebd0fe5 8cb9\"@@@",
84 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@"
85 ]
86 },
87 {
88 "cmd": [
89 "python",
90 "-u",
91 "RECIPE_MODULE[build::webrtc]/resources/cleanup_files.py",
92 "[BUILDER_CACHE]/android_gn_dbg/src/out"
93 ],
94 "name": "clean test output files"
95 },
96 {
97 "cmd": [
98 "python",
99 "-u",
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",
101 "[BUILDER_CACHE]/android_gn_dbg/src/out/Debug/debug_info_dumps",
102 "[BUILDER_CACHE]/android_gn_dbg/src/out/Debug/test_logs",
103 "[BUILDER_CACHE]/android_gn_dbg/src/out/build_product.zip",
104 "[BUILDER_CACHE]/android_gn_dbg/src"
105 ],
106 "name": "clean local files",
107 "~followup_annotations": [
108 "@@@STEP_LOG_LINE@python.inline@@@@",
109 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@",
110 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@",
111 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@",
112 "@@@STEP_LOG_LINE@python.inline@try:@@@",
113 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@",
114 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@",
115 "@@@STEP_LOG_LINE@python.inline@ pass@@@",
116 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv [4]):@@@",
117 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@",
118 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@",
119 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@" ,
120 "@@@STEP_LOG_END@python.inline@@@"
121 ]
122 },
123 {
124 "cmd": [],
125 "name": "ensure_goma"
126 },
127 {
128 "cmd": [
129 "python",
130 "-u",
131 "RECIPE_MODULE[depot_tools::cipd]/resources/bootstrap.py",
132 "--platform",
133 "linux-386",
134 "--dest-directory",
135 "[SLAVE_BUILD]/cipd",
136 "--json-output",
137 "/path/to/tmp/json"
138 ],
139 "name": "ensure_goma.install cipd",
140 "~followup_annotations": [
141 "@@@STEP_NEST_LEVEL@1@@@",
142 "@@@STEP_TEXT@cipd instance_id: 40-chars-fake-of-the-package-instance_id@@ @",
143 "@@@STEP_LOG_LINE@json.output@{@@@",
144 "@@@STEP_LOG_LINE@json.output@ \"executable\": \"[SLAVE_BUILD]/cipd/cipd\ ", @@@",
145 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-pa ckage-instance_id\"@@@",
146 "@@@STEP_LOG_LINE@json.output@}@@@",
147 "@@@STEP_LOG_END@json.output@@@"
148 ]
149 },
150 {
151 "cmd": [
152 "[SLAVE_BUILD]/cipd/cipd",
153 "ensure",
154 "--root",
155 "[CACHE]/cipd/goma",
156 "--list",
157 "infra/tools/cloudtail/linux-386 git_revision:c6b17d5aa4fa6396c5f971248120 e0e624c21fb3\ninfra_internal/goma/client/linux-386 release",
158 "--json-output",
159 "/path/to/tmp/json",
160 "--service-account-json",
161 "/creds/service_accounts/service-account-goma-client.json"
162 ],
163 "name": "ensure_goma.ensure_installed",
164 "~followup_annotations": [
165 "@@@STEP_NEST_LEVEL@1@@@",
166 "@@@STEP_LOG_LINE@json.output@{@@@",
167 "@@@STEP_LOG_LINE@json.output@ \"result\": [@@@",
168 "@@@STEP_LOG_LINE@json.output@ {@@@",
169 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_i d-of-git_revision:c6b\", @@@",
170 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/cloudtail/l inux-386\"@@@",
171 "@@@STEP_LOG_LINE@json.output@ }, @@@",
172 "@@@STEP_LOG_LINE@json.output@ {@@@",
173 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_i d-of-release---------\", @@@",
174 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra_internal/goma/cli ent/linux-386\"@@@",
175 "@@@STEP_LOG_LINE@json.output@ }@@@",
176 "@@@STEP_LOG_LINE@json.output@ ]@@@",
177 "@@@STEP_LOG_LINE@json.output@}@@@",
178 "@@@STEP_LOG_END@json.output@@@"
179 ]
180 },
181 {
182 "cmd": [
183 "python",
184 "-u",
185 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
186 "runhooks"
187 ],
188 "cwd": "[BUILDER_CACHE]/android_gn_dbg/src",
189 "env": {
190 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
191 "GYP_CHROMIUM_NO_ACTION": "1",
192 "GYP_CROSSCOMPILE": "1",
193 "GYP_DEFINES": "OS=android component=static_library dcheck_always_on=1 fas tbuild=1 gomadir='[CACHE]/cipd/goma' target_arch=arm use_goma=1",
194 "PATH": "[BUILDER_CACHE]/android_gn_dbg/src/third_party/android_tools/sdk/ platform-tools:[BUILDER_CACHE]/android_gn_dbg/src/build/android:%(PATH)s:RECIPE_ PACKAGE_REPO[depot_tools]"
195 },
196 "name": "gclient runhooks"
197 },
198 {
199 "cmd": [
200 "python",
201 "-u",
202 "[BUILDER_CACHE]/android_gn_dbg/src/tools/mb/mb.py",
203 "gen",
204 "-m",
205 "tryserver.webrtc",
206 "-b",
207 "android_gn_dbg",
208 "--config-file",
209 "[BUILDER_CACHE]/android_gn_dbg/src/webrtc/build/mb_config.pyl",
210 "--goma-dir",
211 "[CACHE]/cipd/goma",
212 "--gyp-script=[BUILDER_CACHE]/android_gn_dbg/src/webrtc/build/gyp_webrtc.p y",
213 "//out/Debug"
214 ],
215 "cwd": "[BUILDER_CACHE]/android_gn_dbg/src",
216 "env": {
217 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
218 },
219 "name": "generate_build_files"
220 },
221 {
222 "cmd": [
223 "python",
224 "-u",
225 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py",
226 "--show-path",
227 "python",
228 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py",
229 "--gsutil-py-path",
230 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
231 "--ninja-path",
232 "RECIPE_PACKAGE_REPO[depot_tools]/ninja",
233 "--target",
234 "Debug",
235 "--src-dir",
236 "[BUILDER_CACHE]/android_gn_dbg/src",
237 "--goma-cache-dir",
238 "[GOMA_CACHE]",
239 "--goma-deps-cache-dir",
240 "[GOMA_DEPS_CACHE]",
241 "--compiler",
242 "goma",
243 "--goma-jsonstatus",
244 "/path/to/tmp/json",
245 "--goma-service-account-json-file",
246 "/creds/service_accounts/service-account-goma-client.json",
247 "--goma-dir",
248 "[CACHE]/cipd/goma",
249 "--goma-fail-fast",
250 "--goma-disable-local-fallback",
251 "--",
252 "all"
253 ],
254 "env": {
255 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
256 "PATH": "[BUILDER_CACHE]/android_gn_dbg/src/third_party/android_tools/sdk/ platform-tools:[BUILDER_CACHE]/android_gn_dbg/src/build/android:%(PATH)s"
257 },
258 "name": "compile",
259 "~followup_annotations": [
260 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@",
261 "@@@STEP_LOG_END@json.output (invalid)@@@"
262 ]
263 },
264 {
265 "name": "$result",
266 "recipe_result": null,
267 "status_code": 0
268 }
269 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698