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

Side by Side Diff: scripts/slave/recipes/android/android_builder.expected/x86_try_builder.json

Issue 297793005: Revert of Simplified android_builder and moved internal-only methods to internal module (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 6 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
« no previous file with comments | « scripts/slave/recipes/android/android_builder.expected/x86_builder.json ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 [
2 {
3 "cmd": [
4 "python",
5 "-u",
6 "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat h):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files :\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.joi n(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove (path_to_file)\n",
7 "[SLAVE_BUILD]"
8 ],
9 "name": "cleanup index.lock",
10 "~followup_annotations": [
11 "@@@STEP_LOG_LINE@python.inline@@@@",
12 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
13 "@@@STEP_LOG_LINE@python.inline@@@@",
14 "@@@STEP_LOG_LINE@python.inline@build_path = sys.argv[1]@@@",
15 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(build_path):@@@",
16 "@@@STEP_LOG_LINE@python.inline@ for (path, dir, files) in os.walk(build_ path):@@@",
17 "@@@STEP_LOG_LINE@python.inline@ for cur_file in files:@@@",
18 "@@@STEP_LOG_LINE@python.inline@ if cur_file.endswith('index.lock'):@ @@",
19 "@@@STEP_LOG_LINE@python.inline@ path_to_file = os.path.join(path, cur_file)@@@",
20 "@@@STEP_LOG_LINE@python.inline@ print 'deleting %s' % path_to_file @@@",
21 "@@@STEP_LOG_LINE@python.inline@ os.remove(path_to_file)@@@",
22 "@@@STEP_LOG_END@python.inline@@@"
23 ]
24 },
25 {
26 "abort_on_failure": true,
27 "cmd": [
28 "python",
29 "-u",
30 "[BUILD]/scripts/slave/bot_update.py",
31 "--master",
32 "chromium.testing.master",
33 "--builder",
34 "x86_try_builder",
35 "--slave",
36 "TestSlavename",
37 "--spec",
38 "cache_dir = None\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True , 'name': 'src/repo', 'url': 'svn://svn.chromium.org/chrome/trunk/src'}]\ntarget _os = ['android']",
39 "--revision_mapping_file",
40 "{}",
41 "--patch_url",
42 "try_job_svn_patch",
43 "--output_json",
44 "/path/to/tmp/json",
45 "--revision",
46 "refs/remotes/origin/master"
47 ],
48 "name": "bot_update",
49 "~followup_annotations": [
50 "@@@STEP_LOG_LINE@json.output@{@@@",
51 "@@@STEP_LOG_LINE@json.output@ \"did_run\": false@@@",
52 "@@@STEP_LOG_LINE@json.output@}@@@",
53 "@@@STEP_LOG_END@json.output@@@"
54 ]
55 },
56 {
57 "cmd": [
58 "python",
59 "-u",
60 "[DEPOT_TOOLS]/gclient.py",
61 "config",
62 "--spec",
63 "cache_dir = None\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True , 'name': 'src/repo', 'url': 'svn://svn.chromium.org/chrome/trunk/src'}]\ntarget _os = ['android']"
64 ],
65 "name": "gclient setup"
66 },
67 {
68 "abort_on_failure": true,
69 "cmd": [
70 "python",
71 "-u",
72 "[BUILD]/scripts/slave/gclient_safe_revert.py",
73 ".",
74 "[DEPOT_TOOLS]/gclient"
75 ],
76 "name": "gclient revert"
77 },
78 {
79 "abort_on_failure": true,
80 "cmd": [
81 "python",
82 "-u",
83 "[DEPOT_TOOLS]/gclient.py",
84 "sync",
85 "--nohooks",
86 "--delete_unversioned_trees",
87 "--force",
88 "--verbose",
89 "--revision",
90 "src/repo@refs/remotes/origin/master",
91 "--output-json",
92 "/path/to/tmp/json"
93 ],
94 "name": "gclient sync",
95 "~followup_annotations": [
96 "@@@STEP_LOG_LINE@json.output@{@@@",
97 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@",
98 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@",
99 "@@@STEP_LOG_LINE@json.output@ \"revision\": 170242@@@",
100 "@@@STEP_LOG_LINE@json.output@ }, @@@",
101 "@@@STEP_LOG_LINE@json.output@ \"src/native_client/\": {@@@",
102 "@@@STEP_LOG_LINE@json.output@ \"revision\": 274981@@@",
103 "@@@STEP_LOG_LINE@json.output@ }, @@@",
104 "@@@STEP_LOG_LINE@json.output@ \"src/repo/\": {@@@",
105 "@@@STEP_LOG_LINE@json.output@ \"revision\": 126336@@@",
106 "@@@STEP_LOG_LINE@json.output@ }, @@@",
107 "@@@STEP_LOG_LINE@json.output@ \"src/third_party/WebKit/\": {@@@",
108 "@@@STEP_LOG_LINE@json.output@ \"revision\": 124383@@@",
109 "@@@STEP_LOG_LINE@json.output@ }, @@@",
110 "@@@STEP_LOG_LINE@json.output@ \"src/third_party/webrtc/\": {@@@",
111 "@@@STEP_LOG_LINE@json.output@ \"revision\": 120644@@@",
112 "@@@STEP_LOG_LINE@json.output@ }, @@@",
113 "@@@STEP_LOG_LINE@json.output@ \"src/tools/swarm_client/\": {@@@",
114 "@@@STEP_LOG_LINE@json.output@ \"revision\": 200767@@@",
115 "@@@STEP_LOG_LINE@json.output@ }, @@@",
116 "@@@STEP_LOG_LINE@json.output@ \"src/tools/swarming_client/\": {@@@",
117 "@@@STEP_LOG_LINE@json.output@ \"revision\": 276089@@@",
118 "@@@STEP_LOG_LINE@json.output@ }, @@@",
119 "@@@STEP_LOG_LINE@json.output@ \"src/v8/\": {@@@",
120 "@@@STEP_LOG_LINE@json.output@ \"revision\": 43426@@@",
121 "@@@STEP_LOG_LINE@json.output@ }@@@",
122 "@@@STEP_LOG_LINE@json.output@ }@@@",
123 "@@@STEP_LOG_LINE@json.output@}@@@",
124 "@@@STEP_LOG_END@json.output@@@",
125 "@@@SET_BUILD_PROPERTY@got_nacl_revision@274981@@@",
126 "@@@SET_BUILD_PROPERTY@got_webkit_revision@124383@@@",
127 "@@@SET_BUILD_PROPERTY@got_src_revision@170242@@@",
128 "@@@SET_BUILD_PROPERTY@got_webrtc_revision@120644@@@",
129 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision@276089@@@",
130 "@@@SET_BUILD_PROPERTY@got_v8_revision@43426@@@",
131 "@@@SET_BUILD_PROPERTY@got_swarm_client_revision@200767@@@"
132 ]
133 },
134 {
135 "cmd": [
136 "[SLAVE_BUILD]/src/clank/build/dump_app_manifest_vars.py",
137 "-b",
138 "x86_try_builder",
139 "-v",
140 "[SLAVE_BUILD]/src/chrome/VERSION",
141 "--output-json",
142 "/path/to/tmp/json"
143 ],
144 "name": "get app_manifest_vars",
145 "~followup_annotations": [
146 "@@@STEP_LOG_LINE@json.output@{@@@",
147 "@@@STEP_LOG_LINE@json.output@ \"build_id\": 3333, @@@",
148 "@@@STEP_LOG_LINE@json.output@ \"date_string\": 6001, @@@",
149 "@@@STEP_LOG_LINE@json.output@ \"version_code\": 10, @@@",
150 "@@@STEP_LOG_LINE@json.output@ \"version_name\": \"some_builder_1234\"@@@ ",
151 "@@@STEP_LOG_LINE@json.output@}@@@",
152 "@@@STEP_LOG_END@json.output@@@"
153 ]
154 },
155 {
156 "cmd": [
157 "[SLAVE_BUILD]/src/clank/build/dump_internal_names.py",
158 "--output-json",
159 "/path/to/tmp/json"
160 ],
161 "name": "get_internal_names",
162 "~followup_annotations": [
163 "@@@STEP_LOG_LINE@json.output@{@@@",
164 "@@@STEP_LOG_LINE@json.output@ \"BUILD_BUCKET\": \"build-bucket\", @@@",
165 "@@@STEP_LOG_LINE@json.output@ \"FLAKINESS_DASHBOARD_SERVER\": \"test-res ults.appspot.com\", @@@",
166 "@@@STEP_LOG_LINE@json.output@ \"INSTRUMENTATION_TEST_DATA\": \"a:b/test/ data/android/device_files\", @@@",
167 "@@@STEP_LOG_LINE@json.output@ \"SCREENSHOT_BUCKET\": \"screenshot-archiv e\"@@@",
168 "@@@STEP_LOG_LINE@json.output@}@@@",
169 "@@@STEP_LOG_END@json.output@@@"
170 ]
171 },
172 {
173 "cmd": [
174 "python",
175 "-u",
176 "\nimport shutil, sys, os\nshutil.rmtree(sys.argv[1], True)\nshutil.rmtree (sys.argv[2], True)\nfor base, _dirs, files in os.walk(sys.argv[3]):\n for f in files:\n if f.endswith('.pyc'):\n os.remove(os.path.join(base, f))\n",
177 "[SLAVE_BUILD]/src/out/Debug/debug_info_dumps",
178 "[SLAVE_BUILD]/src/out/Debug/test_logs",
179 "[SLAVE_BUILD]/src"
180 ],
181 "name": "clean local files",
182 "~followup_annotations": [
183 "@@@STEP_LOG_LINE@python.inline@@@@",
184 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@",
185 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@",
186 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@",
187 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv [3]):@@@",
188 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@",
189 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@",
190 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@" ,
191 "@@@STEP_LOG_END@python.inline@@@"
192 ]
193 },
194 {
195 "allow_subannotations": false,
196 "cmd": [
197 "[SLAVE_BUILD]/src/build/tree_truth.sh",
198 "[SLAVE_BUILD]/src",
199 "src",
200 "src-internal",
201 "src/repo"
202 ],
203 "name": "tree truth steps"
204 },
205 {
206 "cmd": [
207 "python",
208 "-u",
209 "[DEPOT_TOOLS]/gclient.py",
210 "runhooks"
211 ],
212 "env": {
213 "EXTRA_LANDMINES_SCRIPT": "[SLAVE_BUILD]/src/clank/build/get_internal_land mines.py",
214 "GYP_DEFINES": "OS=android app_manifest_version_code=10 app_manifest_versi on_name=some_builder_1234 chrome_build_id=3333 component=static_library fastbuil d=1 gomadir='[BUILD]/goma' target_arch=ia32 use_goma=1",
215 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
216 },
217 "name": "gclient runhooks"
218 },
219 {
220 "cmd": [
221 "[BUILD]/scripts/slave/apply_svn_patch.py",
222 "-p",
223 "try_job_svn_patch",
224 "-r",
225 "[SLAVE_BUILD]/src/clank"
226 ],
227 "name": "apply_patch"
228 },
229 {
230 "abort_on_failure": true,
231 "cmd": [
232 "python",
233 "-u",
234 "[BUILD]/scripts/slave/compile.py",
235 "--target",
236 "Debug",
237 "--src-dir",
238 "[SLAVE_BUILD]/src",
239 "--build-tool",
240 "ninja",
241 "--compiler",
242 "goma",
243 "--goma-dir",
244 "[BUILD]/goma",
245 "--"
246 ],
247 "env": {
248 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
249 },
250 "name": "compile"
251 },
252 {
253 "cmd": [
254 "[SLAVE_BUILD]/src/build/android/findbugs_diff.py",
255 "-b",
256 "[SLAVE_BUILD]/src/clank/bin/findbugs_filter",
257 "-o",
258 "com.google.android.apps.chrome.-,org.chromium.-"
259 ],
260 "env": {
261 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
262 },
263 "name": "findbugs internal"
264 },
265 {
266 "cmd": [
267 "[SLAVE_BUILD]/src/clank/bin/lint.py"
268 ],
269 "env": {
270 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
271 },
272 "name": "lint"
273 },
274 {
275 "always_run": true,
276 "cmd": [
277 "python",
278 "-u",
279 "[BUILD]/scripts/slave/android/archive_build.py",
280 "--target",
281 "Debug",
282 "--name",
283 "build_product.zip"
284 ],
285 "cwd": "[SLAVE_BUILD]/src",
286 "name": "zip_build_product"
287 },
288 {
289 "cmd": [
290 "python",
291 "-u",
292 "[BUILD]/scripts/slave/recipe_modules/gsutil/resources/gsutil_wrapper.py",
293 "--",
294 "[DEPOT_TOOLS]/third_party/gsutil/gsutil",
295 "cp",
296 "[SLAVE_BUILD]/src/out/build_product.zip",
297 "gs://build-bucket/x86_try_builder/build_product_refs/remotes/origin/maste r.zip"
298 ],
299 "name": "gsutil upload_build_product",
300 "~followup_annotations": [
301 "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/build-bucket/ x86_try_builder/build_product_refs/remotes/origin/master.zip@@@"
302 ]
303 },
304 {
305 "always_run": true,
306 "cmd": [
307 "rm",
308 "-rf",
309 "[SLAVE_BUILD]/src/out/build_product.zip"
310 ],
311 "name": "cleanup_build"
312 }
313 ]
OLDNEW
« no previous file with comments | « scripts/slave/recipes/android/android_builder.expected/x86_builder.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698