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

Side by Side Diff: scripts/slave/recipes/android/android_builder.expected/clang_release_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
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 "clang_release_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 "--output_json",
42 "/path/to/tmp/json",
43 "--revision",
44 "4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00"
45 ],
46 "name": "bot_update",
47 "~followup_annotations": [
48 "@@@STEP_LOG_LINE@json.output@{@@@",
49 "@@@STEP_LOG_LINE@json.output@ \"did_run\": false@@@",
50 "@@@STEP_LOG_LINE@json.output@}@@@",
51 "@@@STEP_LOG_END@json.output@@@"
52 ]
53 },
54 {
55 "cmd": [
56 "python",
57 "-u",
58 "[DEPOT_TOOLS]/gclient.py",
59 "config",
60 "--spec",
61 "cache_dir = None\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True , 'name': 'src/repo', 'url': 'svn://svn.chromium.org/chrome/trunk/src'}]\ntarget _os = ['android']"
62 ],
63 "name": "gclient setup"
64 },
65 {
66 "abort_on_failure": true,
67 "cmd": [
68 "python",
69 "-u",
70 "[DEPOT_TOOLS]/gclient.py",
71 "sync",
72 "--nohooks",
73 "--delete_unversioned_trees",
74 "--force",
75 "--verbose",
76 "--revision",
77 "src/repo@4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00",
78 "--output-json",
79 "/path/to/tmp/json"
80 ],
81 "name": "gclient sync",
82 "~followup_annotations": [
83 "@@@STEP_LOG_LINE@json.output@{@@@",
84 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@",
85 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@",
86 "@@@STEP_LOG_LINE@json.output@ \"revision\": 170242@@@",
87 "@@@STEP_LOG_LINE@json.output@ }, @@@",
88 "@@@STEP_LOG_LINE@json.output@ \"src/native_client/\": {@@@",
89 "@@@STEP_LOG_LINE@json.output@ \"revision\": 274981@@@",
90 "@@@STEP_LOG_LINE@json.output@ }, @@@",
91 "@@@STEP_LOG_LINE@json.output@ \"src/repo/\": {@@@",
92 "@@@STEP_LOG_LINE@json.output@ \"revision\": 126336@@@",
93 "@@@STEP_LOG_LINE@json.output@ }, @@@",
94 "@@@STEP_LOG_LINE@json.output@ \"src/third_party/WebKit/\": {@@@",
95 "@@@STEP_LOG_LINE@json.output@ \"revision\": 124383@@@",
96 "@@@STEP_LOG_LINE@json.output@ }, @@@",
97 "@@@STEP_LOG_LINE@json.output@ \"src/third_party/webrtc/\": {@@@",
98 "@@@STEP_LOG_LINE@json.output@ \"revision\": 120644@@@",
99 "@@@STEP_LOG_LINE@json.output@ }, @@@",
100 "@@@STEP_LOG_LINE@json.output@ \"src/tools/swarm_client/\": {@@@",
101 "@@@STEP_LOG_LINE@json.output@ \"revision\": 200767@@@",
102 "@@@STEP_LOG_LINE@json.output@ }, @@@",
103 "@@@STEP_LOG_LINE@json.output@ \"src/tools/swarming_client/\": {@@@",
104 "@@@STEP_LOG_LINE@json.output@ \"revision\": 276089@@@",
105 "@@@STEP_LOG_LINE@json.output@ }, @@@",
106 "@@@STEP_LOG_LINE@json.output@ \"src/v8/\": {@@@",
107 "@@@STEP_LOG_LINE@json.output@ \"revision\": 43426@@@",
108 "@@@STEP_LOG_LINE@json.output@ }@@@",
109 "@@@STEP_LOG_LINE@json.output@ }@@@",
110 "@@@STEP_LOG_LINE@json.output@}@@@",
111 "@@@STEP_LOG_END@json.output@@@",
112 "@@@SET_BUILD_PROPERTY@got_nacl_revision@274981@@@",
113 "@@@SET_BUILD_PROPERTY@got_webkit_revision@124383@@@",
114 "@@@SET_BUILD_PROPERTY@got_src_revision@170242@@@",
115 "@@@SET_BUILD_PROPERTY@got_webrtc_revision@120644@@@",
116 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision@276089@@@",
117 "@@@SET_BUILD_PROPERTY@got_v8_revision@43426@@@",
118 "@@@SET_BUILD_PROPERTY@got_swarm_client_revision@200767@@@"
119 ]
120 },
121 {
122 "cmd": [
123 "[SLAVE_BUILD]/src/clank/build/dump_app_manifest_vars.py",
124 "-b",
125 "clang_release_builder",
126 "-v",
127 "[SLAVE_BUILD]/src/chrome/VERSION",
128 "--output-json",
129 "/path/to/tmp/json"
130 ],
131 "name": "get app_manifest_vars",
132 "~followup_annotations": [
133 "@@@STEP_LOG_LINE@json.output@{@@@",
134 "@@@STEP_LOG_LINE@json.output@ \"build_id\": 3333, @@@",
135 "@@@STEP_LOG_LINE@json.output@ \"date_string\": 6001, @@@",
136 "@@@STEP_LOG_LINE@json.output@ \"version_code\": 10, @@@",
137 "@@@STEP_LOG_LINE@json.output@ \"version_name\": \"some_builder_1234\"@@@ ",
138 "@@@STEP_LOG_LINE@json.output@}@@@",
139 "@@@STEP_LOG_END@json.output@@@"
140 ]
141 },
142 {
143 "cmd": [
144 "[SLAVE_BUILD]/src/clank/build/dump_internal_names.py",
145 "--output-json",
146 "/path/to/tmp/json"
147 ],
148 "name": "get_internal_names",
149 "~followup_annotations": [
150 "@@@STEP_LOG_LINE@json.output@{@@@",
151 "@@@STEP_LOG_LINE@json.output@ \"BUILD_BUCKET\": \"build-bucket\", @@@",
152 "@@@STEP_LOG_LINE@json.output@ \"FLAKINESS_DASHBOARD_SERVER\": \"test-res ults.appspot.com\", @@@",
153 "@@@STEP_LOG_LINE@json.output@ \"INSTRUMENTATION_TEST_DATA\": \"a:b/test/ data/android/device_files\", @@@",
154 "@@@STEP_LOG_LINE@json.output@ \"SCREENSHOT_BUCKET\": \"screenshot-archiv e\"@@@",
155 "@@@STEP_LOG_LINE@json.output@}@@@",
156 "@@@STEP_LOG_END@json.output@@@"
157 ]
158 },
159 {
160 "cmd": [
161 "python",
162 "-u",
163 "\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",
164 "[SLAVE_BUILD]/src/out/Release/debug_info_dumps",
165 "[SLAVE_BUILD]/src/out/Release/test_logs",
166 "[SLAVE_BUILD]/src"
167 ],
168 "name": "clean local files",
169 "~followup_annotations": [
170 "@@@STEP_LOG_LINE@python.inline@@@@",
171 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@",
172 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@",
173 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@",
174 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv [3]):@@@",
175 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@",
176 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@",
177 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@" ,
178 "@@@STEP_LOG_END@python.inline@@@"
179 ]
180 },
181 {
182 "allow_subannotations": false,
183 "cmd": [
184 "[SLAVE_BUILD]/src/build/tree_truth.sh",
185 "[SLAVE_BUILD]/src",
186 "src",
187 "src-internal",
188 "src/repo"
189 ],
190 "name": "tree truth steps"
191 },
192 {
193 "cmd": [
194 "python",
195 "-u",
196 "[DEPOT_TOOLS]/gclient.py",
197 "runhooks"
198 ],
199 "env": {
200 "EXTRA_LANDMINES_SCRIPT": "[SLAVE_BUILD]/src/clank/build/get_internal_land mines.py",
201 "GYP_DEFINES": "OS=android app_manifest_version_code=10 app_manifest_versi on_name=some_builder_1234 asan=1 chrome_build_id=3333 clang=1 component=shared_l ibrary fastbuild=1 gomadir='[BUILD]/goma' target_arch=arm use_allocator=none use _goma=1",
202 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
203 },
204 "name": "gclient runhooks"
205 },
206 {
207 "abort_on_failure": true,
208 "cmd": [
209 "python",
210 "-u",
211 "[BUILD]/scripts/slave/compile.py",
212 "--target",
213 "Release",
214 "--src-dir",
215 "[SLAVE_BUILD]/src",
216 "--build-tool",
217 "ninja",
218 "--compiler",
219 "goma-clang",
220 "--goma-dir",
221 "[BUILD]/goma",
222 "--",
223 "chrome_apk"
224 ],
225 "env": {
226 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
227 },
228 "name": "compile"
229 },
230 {
231 "cmd": [
232 "[DEPOT_TOOLS]/git_number.py"
233 ],
234 "cwd": "[SLAVE_BUILD]/src",
235 "name": "git_number",
236 "stdout": "/path/to/tmp/"
237 },
238 {
239 "always_run": true,
240 "cmd": [
241 "python",
242 "-u",
243 "[BUILD]/scripts/slave/android/archive_build.py",
244 "--target",
245 "Release",
246 "--name",
247 "clusterfuzz.zip",
248 "--files",
249 "apks/*,lib/*.so,../../third_party/llvm-build/Release+Asserts/lib/clang/*/ lib/linux/libclang_rt.asan-arm-android.so",
250 "--ignore-subfolder-names"
251 ],
252 "cwd": "[SLAVE_BUILD]/src",
253 "name": "zip_clusterfuzz"
254 },
255 {
256 "always_run": true,
257 "cmd": [
258 "python",
259 "-u",
260 "[SLAVE_BUILD]/src/clank/build/clusterfuzz_generate_revision.py",
261 "--file",
262 "3000"
263 ],
264 "name": "git_revisions"
265 },
266 {
267 "cmd": [
268 "python",
269 "-u",
270 "[BUILD]/scripts/slave/recipe_modules/gsutil/resources/gsutil_wrapper.py",
271 "--",
272 "[DEPOT_TOOLS]/third_party/gsutil/gsutil",
273 "cp",
274 "[SLAVE_BUILD]/src/out/3000",
275 "gs://chrome-test-builds/android/revisions/3000"
276 ],
277 "name": "gsutil upload_revision_data",
278 "~followup_annotations": [
279 "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/chrome-test-b uilds/android/revisions/3000@@@"
280 ]
281 },
282 {
283 "cmd": [
284 "python",
285 "-u",
286 "[BUILD]/scripts/slave/recipe_modules/gsutil/resources/gsutil_wrapper.py",
287 "--",
288 "[DEPOT_TOOLS]/third_party/gsutil/gsutil",
289 "cp",
290 "[SLAVE_BUILD]/src/out/clusterfuzz.zip",
291 "gs://chrome-test-builds/android/asan-android-release-3000.zip"
292 ],
293 "name": "gsutil upload_clusterfuzz",
294 "~followup_annotations": [
295 "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/chrome-test-b uilds/android/asan-android-release-3000.zip@@@"
296 ]
297 },
298 {
299 "always_run": true,
300 "cmd": [
301 "rm",
302 "-rf",
303 "[SLAVE_BUILD]/src/out/clusterfuzz.zip"
304 ],
305 "name": "cleanup_build"
306 }
307 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698