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

Side by Side Diff: scripts/slave/recipes/android_webview_aosp.expected/can_clobber.json

Issue 1115453002: Recipes: make cwd default to slave_build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: rebase Created 5 years, 7 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 | Annotate | Revision Log
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "python", 4 "python",
5 "-u", 5 "-u",
6 "[BUILD]/scripts/slave/bot_update.py", 6 "[BUILD]/scripts/slave/bot_update.py",
7 "--master", 7 "--master",
8 "chromium.testing.master", 8 "chromium.testing.master",
9 "--builder", 9 "--builder",
10 "TestBuilder", 10 "TestBuilder",
11 "--slave", 11 "--slave",
12 "TestSlavename", 12 "TestSlavename",
13 "--spec", 13 "--spec",
14 "cache_dir = None\nsolutions = [{'custom_vars': {'googlecode_url': 'svn:// svn-mirror.golo.chromium.org/%s', 'nacl_trunk': 'svn://svn-mirror.golo.chromium. org/native_client/trunk', 'sourceforge_url': 'svn://svn-mirror.golo.chromium.org /%(repo)s', 'webkit_trunk': 'svn://svn-mirror.golo.chromium.org/blink/trunk'}, ' deps_file': 'DEPS', 'managed': True, 'name': 'src', 'url': 'svn://svn-mirror.gol o.chromium.org/chrome/trunk/src'}]\ntarget_os = ['android']", 14 "cache_dir = None\nsolutions = [{'custom_vars': {'googlecode_url': 'svn:// svn-mirror.golo.chromium.org/%s', 'nacl_trunk': 'svn://svn-mirror.golo.chromium. org/native_client/trunk', 'sourceforge_url': 'svn://svn-mirror.golo.chromium.org /%(repo)s', 'webkit_trunk': 'svn://svn-mirror.golo.chromium.org/blink/trunk'}, ' deps_file': 'DEPS', 'managed': True, 'name': 'src', 'url': 'svn://svn-mirror.gol o.chromium.org/chrome/trunk/src'}]\ntarget_os = ['android']",
15 "--root", 15 "--root",
16 "src", 16 "src",
17 "--revision_mapping_file", 17 "--revision_mapping_file",
18 "{}", 18 "{}",
19 "--output_json", 19 "--output_json",
20 "/path/to/tmp/json", 20 "/path/to/tmp/json",
21 "--revision", 21 "--revision",
22 "src@204787" 22 "src@204787"
23 ], 23 ],
24 "cwd": "[SLAVE_BUILD]",
24 "name": "bot_update", 25 "name": "bot_update",
25 "~followup_annotations": [ 26 "~followup_annotations": [
26 "@@@STEP_LOG_LINE@json.output@{@@@", 27 "@@@STEP_LOG_LINE@json.output@{@@@",
27 "@@@STEP_LOG_LINE@json.output@ \"did_run\": false, @@@", 28 "@@@STEP_LOG_LINE@json.output@ \"did_run\": false, @@@",
28 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false@@@", 29 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false@@@",
29 "@@@STEP_LOG_LINE@json.output@}@@@", 30 "@@@STEP_LOG_LINE@json.output@}@@@",
30 "@@@STEP_LOG_END@json.output@@@" 31 "@@@STEP_LOG_END@json.output@@@"
31 ] 32 ]
32 }, 33 },
33 { 34 {
34 "cmd": [ 35 "cmd": [
35 "python", 36 "python",
36 "-u", 37 "-u",
37 "[DEPOT_TOOLS]/gclient.py", 38 "[DEPOT_TOOLS]/gclient.py",
38 "config", 39 "config",
39 "--spec", 40 "--spec",
40 "cache_dir = None\nsolutions = [{'custom_vars': {'googlecode_url': 'svn:// svn-mirror.golo.chromium.org/%s', 'nacl_trunk': 'svn://svn-mirror.golo.chromium. org/native_client/trunk', 'sourceforge_url': 'svn://svn-mirror.golo.chromium.org /%(repo)s', 'webkit_trunk': 'svn://svn-mirror.golo.chromium.org/blink/trunk'}, ' deps_file': 'DEPS', 'managed': True, 'name': 'src', 'url': 'svn://svn-mirror.gol o.chromium.org/chrome/trunk/src'}]\ntarget_os = ['android']" 41 "cache_dir = None\nsolutions = [{'custom_vars': {'googlecode_url': 'svn:// svn-mirror.golo.chromium.org/%s', 'nacl_trunk': 'svn://svn-mirror.golo.chromium. org/native_client/trunk', 'sourceforge_url': 'svn://svn-mirror.golo.chromium.org /%(repo)s', 'webkit_trunk': 'svn://svn-mirror.golo.chromium.org/blink/trunk'}, ' deps_file': 'DEPS', 'managed': True, 'name': 'src', 'url': 'svn://svn-mirror.gol o.chromium.org/chrome/trunk/src'}]\ntarget_os = ['android']"
41 ], 42 ],
43 "cwd": "[SLAVE_BUILD]",
42 "name": "gclient setup" 44 "name": "gclient setup"
43 }, 45 },
44 { 46 {
45 "cmd": [ 47 "cmd": [
46 "python", 48 "python",
47 "-u", 49 "-u",
48 "[DEPOT_TOOLS]/gclient.py", 50 "[DEPOT_TOOLS]/gclient.py",
49 "sync", 51 "sync",
50 "--nohooks", 52 "--nohooks",
51 "--force", 53 "--force",
52 "--verbose", 54 "--verbose",
53 "--delete_unversioned_trees", 55 "--delete_unversioned_trees",
54 "--revision", 56 "--revision",
55 "src@204787", 57 "src@204787",
56 "--output-json", 58 "--output-json",
57 "/path/to/tmp/json" 59 "/path/to/tmp/json"
58 ], 60 ],
61 "cwd": "[SLAVE_BUILD]",
59 "name": "gclient sync", 62 "name": "gclient sync",
60 "~followup_annotations": [ 63 "~followup_annotations": [
61 "@@@STEP_LOG_LINE@json.output@{@@@", 64 "@@@STEP_LOG_LINE@json.output@{@@@",
62 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", 65 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@",
63 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@", 66 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@",
64 "@@@STEP_LOG_LINE@json.output@ \"revision\": 170242@@@", 67 "@@@STEP_LOG_LINE@json.output@ \"revision\": 170242@@@",
65 "@@@STEP_LOG_LINE@json.output@ }, @@@", 68 "@@@STEP_LOG_LINE@json.output@ }, @@@",
66 "@@@STEP_LOG_LINE@json.output@ \"src/native_client/\": {@@@", 69 "@@@STEP_LOG_LINE@json.output@ \"src/native_client/\": {@@@",
67 "@@@STEP_LOG_LINE@json.output@ \"revision\": 274981@@@", 70 "@@@STEP_LOG_LINE@json.output@ \"revision\": 274981@@@",
68 "@@@STEP_LOG_LINE@json.output@ }, @@@", 71 "@@@STEP_LOG_LINE@json.output@ }, @@@",
(...skipping 20 matching lines...) Expand all
89 "@@@SET_BUILD_PROPERTY@got_v8_revision@43426@@@" 92 "@@@SET_BUILD_PROPERTY@got_v8_revision@43426@@@"
90 ] 93 ]
91 }, 94 },
92 { 95 {
93 "cmd": [ 96 "cmd": [
94 "python", 97 "python",
95 "-u", 98 "-u",
96 "[DEPOT_TOOLS]/gclient.py", 99 "[DEPOT_TOOLS]/gclient.py",
97 "runhooks" 100 "runhooks"
98 ], 101 ],
102 "cwd": "[SLAVE_BUILD]",
99 "env": { 103 "env": {
100 "GYP_CHROMIUM_NO_ACTION": "1" 104 "GYP_CHROMIUM_NO_ACTION": "1"
101 }, 105 },
102 "name": "gclient runhooks" 106 "name": "gclient runhooks"
103 }, 107 },
104 { 108 {
105 "cmd": [ 109 "cmd": [
106 "[SLAVE_BUILD]/src/build/util/lastchange.py", 110 "[SLAVE_BUILD]/src/build/util/lastchange.py",
107 "-o", 111 "-o",
108 "[SLAVE_BUILD]/src/build/util/LASTCHANGE", 112 "[SLAVE_BUILD]/src/build/util/LASTCHANGE",
109 "-s", 113 "-s",
110 "[SLAVE_BUILD]/src" 114 "[SLAVE_BUILD]/src"
111 ], 115 ],
116 "cwd": "[SLAVE_BUILD]",
112 "name": "Chromium LASTCHANGE" 117 "name": "Chromium LASTCHANGE"
113 }, 118 },
114 { 119 {
115 "cmd": [ 120 "cmd": [
116 "[SLAVE_BUILD]/src/build/util/lastchange.py", 121 "[SLAVE_BUILD]/src/build/util/lastchange.py",
117 "-o", 122 "-o",
118 "[SLAVE_BUILD]/src/build/util/LASTCHANGE.blink", 123 "[SLAVE_BUILD]/src/build/util/LASTCHANGE.blink",
119 "-s", 124 "-s",
120 "[SLAVE_BUILD]/src/third_party/WebKit" 125 "[SLAVE_BUILD]/src/third_party/WebKit"
121 ], 126 ],
127 "cwd": "[SLAVE_BUILD]",
122 "name": "Blink LASTCHANGE" 128 "name": "Blink LASTCHANGE"
123 }, 129 },
124 { 130 {
125 "cmd": [ 131 "cmd": [
126 "python", 132 "python",
127 "-u", 133 "-u",
128 "\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", 134 "\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",
129 "[SLAVE_BUILD]/android-src", 135 "[SLAVE_BUILD]/android-src",
130 "511" 136 "511"
131 ], 137 ],
138 "cwd": "[SLAVE_BUILD]",
132 "name": "makedirs android source root", 139 "name": "makedirs android source root",
133 "~followup_annotations": [ 140 "~followup_annotations": [
134 "@@@STEP_LOG_LINE@python.inline@@@@", 141 "@@@STEP_LOG_LINE@python.inline@@@@",
135 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", 142 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
136 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", 143 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
137 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", 144 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
138 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", 145 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
139 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", 146 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
140 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", 147 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
141 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", 148 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
(...skipping 29 matching lines...) Expand all
171 { 178 {
172 "cmd": [ 179 "cmd": [
173 "[SLAVE_BUILD]/src/android_webview/buildbot/deps_whitelist.py", 180 "[SLAVE_BUILD]/src/android_webview/buildbot/deps_whitelist.py",
174 "--method", 181 "--method",
175 "android_rsync_build", 182 "android_rsync_build",
176 "--path-to-deps", 183 "--path-to-deps",
177 "[SLAVE_BUILD]/src/DEPS", 184 "[SLAVE_BUILD]/src/DEPS",
178 "--output-json", 185 "--output-json",
179 "/path/to/tmp/json" 186 "/path/to/tmp/json"
180 ], 187 ],
188 "cwd": "[SLAVE_BUILD]",
181 "name": "calculate blacklist", 189 "name": "calculate blacklist",
182 "~followup_annotations": [ 190 "~followup_annotations": [
183 "@@@STEP_LOG_LINE@json.output@{@@@", 191 "@@@STEP_LOG_LINE@json.output@{@@@",
184 "@@@STEP_LOG_LINE@json.output@ \"blacklist\": [@@@", 192 "@@@STEP_LOG_LINE@json.output@ \"blacklist\": [@@@",
185 "@@@STEP_LOG_LINE@json.output@ \"blacklist/project/1\", @@@", 193 "@@@STEP_LOG_LINE@json.output@ \"blacklist/project/1\", @@@",
186 "@@@STEP_LOG_LINE@json.output@ \"blacklist/project/2\"@@@", 194 "@@@STEP_LOG_LINE@json.output@ \"blacklist/project/2\"@@@",
187 "@@@STEP_LOG_LINE@json.output@ ]@@@", 195 "@@@STEP_LOG_LINE@json.output@ ]@@@",
188 "@@@STEP_LOG_LINE@json.output@}@@@", 196 "@@@STEP_LOG_LINE@json.output@}@@@",
189 "@@@STEP_LOG_END@json.output@@@" 197 "@@@STEP_LOG_END@json.output@@@"
190 ] 198 ]
191 }, 199 },
192 { 200 {
193 "cmd": [ 201 "cmd": [
194 "rsync", 202 "rsync",
195 "-rav", 203 "-rav",
196 "--delete", 204 "--delete",
197 "--delete-excluded", 205 "--delete-excluded",
198 "--exclude=.svn", 206 "--exclude=.svn",
199 "--exclude=.git", 207 "--exclude=.git",
200 "--exclude=blacklist/project/1", 208 "--exclude=blacklist/project/1",
201 "--exclude=blacklist/project/2", 209 "--exclude=blacklist/project/2",
202 "[SLAVE_BUILD]/src/", 210 "[SLAVE_BUILD]/src/",
203 "[SLAVE_BUILD]/android-src/external/chromium_org" 211 "[SLAVE_BUILD]/android-src/external/chromium_org"
204 ], 212 ],
213 "cwd": "[SLAVE_BUILD]",
205 "name": "rsync chromium_org" 214 "name": "rsync chromium_org"
206 }, 215 },
207 { 216 {
208 "cmd": [ 217 "cmd": [
209 "[BUILD]/scripts/slave/android/with_lunch", 218 "[BUILD]/scripts/slave/android/with_lunch",
210 "[SLAVE_BUILD]/android-src", 219 "[SLAVE_BUILD]/android-src",
211 "full-eng", 220 "full-eng",
212 "[SLAVE_BUILD]/android-src/external/chromium_org/android_webview/tools/gyp _webview", 221 "[SLAVE_BUILD]/android-src/external/chromium_org/android_webview/tools/gyp _webview",
213 "all" 222 "all"
214 ], 223 ],
215 "cwd": "[SLAVE_BUILD]/android-src/external/chromium_org", 224 "cwd": "[SLAVE_BUILD]/android-src/external/chromium_org",
216 "name": "gyp_webview" 225 "name": "gyp_webview"
217 }, 226 },
218 { 227 {
219 "cmd": [ 228 "cmd": [
220 "python", 229 "python",
221 "-u", 230 "-u",
222 "[SLAVE_BUILD]/android-src/external/chromium_org/android_webview/tools/web view_licenses.py", 231 "[SLAVE_BUILD]/android-src/external/chromium_org/android_webview/tools/web view_licenses.py",
223 "all_incompatible_directories" 232 "all_incompatible_directories"
224 ], 233 ],
234 "cwd": "[SLAVE_BUILD]",
225 "name": "incompatible directories" 235 "name": "incompatible directories"
226 }, 236 },
227 { 237 {
228 "cmd": [ 238 "cmd": [
229 "git", 239 "git",
230 "diff", 240 "diff",
231 "--cached", 241 "--cached",
232 "--name-only" 242 "--name-only"
233 ], 243 ],
234 "cwd": "[SLAVE_BUILD]/src", 244 "cwd": "[SLAVE_BUILD]/src",
235 "name": "git diff to analyze patch", 245 "name": "git diff to analyze patch",
236 "stdout": "/path/to/tmp/", 246 "stdout": "/path/to/tmp/",
237 "~followup_annotations": [ 247 "~followup_annotations": [
238 "@@@STEP_LOG_LINE@files@foo.cc@@@", 248 "@@@STEP_LOG_LINE@files@foo.cc@@@",
239 "@@@STEP_LOG_END@files@@@" 249 "@@@STEP_LOG_END@files@@@"
240 ] 250 ]
241 }, 251 },
242 { 252 {
243 "cmd": [ 253 "cmd": [
244 "python", 254 "python",
245 "-u", 255 "-u",
246 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 256 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
247 "[SLAVE_BUILD]/src/testing/buildbot/trybot_analyze_config.json", 257 "[SLAVE_BUILD]/src/testing/buildbot/trybot_analyze_config.json",
248 "/path/to/tmp/json" 258 "/path/to/tmp/json"
249 ], 259 ],
260 "cwd": "[SLAVE_BUILD]",
250 "name": "read filter exclusion spec", 261 "name": "read filter exclusion spec",
251 "~followup_annotations": [ 262 "~followup_annotations": [
252 "@@@STEP_TEXT@path: 'testing/buildbot/trybot_analyze_config.json'@@@", 263 "@@@STEP_TEXT@path: 'testing/buildbot/trybot_analyze_config.json'@@@",
253 "@@@STEP_LOG_LINE@json.output@{@@@", 264 "@@@STEP_LOG_LINE@json.output@{@@@",
254 "@@@STEP_LOG_LINE@json.output@ \"android_webview\": {@@@", 265 "@@@STEP_LOG_LINE@json.output@ \"android_webview\": {@@@",
255 "@@@STEP_LOG_LINE@json.output@ \"exclusions\": [@@@", 266 "@@@STEP_LOG_LINE@json.output@ \"exclusions\": [@@@",
256 "@@@STEP_LOG_LINE@json.output@ \"android_webview/.*\"@@@", 267 "@@@STEP_LOG_LINE@json.output@ \"android_webview/.*\"@@@",
257 "@@@STEP_LOG_LINE@json.output@ ]@@@", 268 "@@@STEP_LOG_LINE@json.output@ ]@@@",
258 "@@@STEP_LOG_LINE@json.output@ }, @@@", 269 "@@@STEP_LOG_LINE@json.output@ }, @@@",
259 "@@@STEP_LOG_LINE@json.output@ \"base\": {@@@", 270 "@@@STEP_LOG_LINE@json.output@ \"base\": {@@@",
260 "@@@STEP_LOG_LINE@json.output@ \"exclusions\": []@@@", 271 "@@@STEP_LOG_LINE@json.output@ \"exclusions\": []@@@",
261 "@@@STEP_LOG_LINE@json.output@ }@@@", 272 "@@@STEP_LOG_LINE@json.output@ }@@@",
262 "@@@STEP_LOG_LINE@json.output@}@@@", 273 "@@@STEP_LOG_LINE@json.output@}@@@",
263 "@@@STEP_LOG_END@json.output@@@" 274 "@@@STEP_LOG_END@json.output@@@"
264 ] 275 ]
265 }, 276 },
266 { 277 {
267 "cmd": [ 278 "cmd": [
268 "python", 279 "python",
269 "-u", 280 "-u",
270 "[SLAVE_BUILD]/src/build/gyp_chromium", 281 "[SLAVE_BUILD]/src/build/gyp_chromium",
271 "--analyzer", 282 "--analyzer",
272 "{\"files\": [\"foo.cc\"], \"targets\": [\"android_webview_apk\"]}", 283 "{\"files\": [\"foo.cc\"], \"targets\": [\"android_webview_apk\"]}",
273 "/path/to/tmp/json" 284 "/path/to/tmp/json"
274 ], 285 ],
286 "cwd": "[SLAVE_BUILD]",
275 "env": { 287 "env": {
276 "GYP_CROSSCOMPILE": "1", 288 "GYP_CROSSCOMPILE": "1",
277 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 target_arc h=arm" 289 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 target_arc h=arm"
278 }, 290 },
279 "name": "analyze", 291 "name": "analyze",
280 "~followup_annotations": [ 292 "~followup_annotations": [
281 "@@@STEP_LOG_LINE@json.output@{@@@", 293 "@@@STEP_LOG_LINE@json.output@{@@@",
282 "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [@@@", 294 "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [@@@",
283 "@@@STEP_LOG_LINE@json.output@ \"some_target\"@@@", 295 "@@@STEP_LOG_LINE@json.output@ \"some_target\"@@@",
284 "@@@STEP_LOG_LINE@json.output@ ], @@@", 296 "@@@STEP_LOG_LINE@json.output@ ], @@@",
(...skipping 18 matching lines...) Expand all
303 "[SLAVE_BUILD]/android-src", 315 "[SLAVE_BUILD]/android-src",
304 "--build-tool", 316 "--build-tool",
305 "make-android", 317 "make-android",
306 "--verbose", 318 "--verbose",
307 "--clobber" 319 "--clobber"
308 ], 320 ],
309 "cwd": "[SLAVE_BUILD]", 321 "cwd": "[SLAVE_BUILD]",
310 "name": "compile" 322 "name": "compile"
311 } 323 }
312 ] 324 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698