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

Side by Side Diff: scripts/slave/recipe_modules/chromium_android/example.expected/coverage_builder_basic.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
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "python", 4 "python",
5 "-u", 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", 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]" 7 "[SLAVE_BUILD]"
8 ], 8 ],
9 "name": "cleanup index.lock", 9 "name": "cleanup index.lock",
10 "~followup_annotations": [ 10 "~followup_annotations": [
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 "name": "Version: some_builder_1234" 163 "name": "Version: some_builder_1234"
164 }, 164 },
165 { 165 {
166 "cmd": [ 166 "cmd": [
167 "python", 167 "python",
168 "-u", 168 "-u",
169 "[DEPOT_TOOLS]/gclient.py", 169 "[DEPOT_TOOLS]/gclient.py",
170 "runhooks" 170 "runhooks"
171 ], 171 ],
172 "env": { 172 "env": {
173 "EXTRA_LANDMINES_SCRIPT": "[SLAVE_BUILD]/src/clank/build/get_internal_land mines.py",
173 "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 target_arch=arm", 174 "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 target_arch=arm",
174 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 175 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
175 }, 176 },
176 "name": "gclient runhooks" 177 "name": "gclient runhooks"
177 }, 178 },
178 { 179 {
179 "abort_on_failure": true, 180 "abort_on_failure": true,
180 "cmd": [ 181 "cmd": [
181 "python", 182 "python",
182 "-u", 183 "-u",
183 "[BUILD]/scripts/slave/compile.py", 184 "[BUILD]/scripts/slave/compile.py",
184 "--target", 185 "--target",
185 "Release", 186 "Release",
186 "--src-dir", 187 "--src-dir",
187 "[SLAVE_BUILD]/src", 188 "[SLAVE_BUILD]/src",
188 "--build-tool", 189 "--build-tool",
189 "ninja", 190 "ninja",
190 "--" 191 "--"
191 ], 192 ],
192 "env": { 193 "env": {
193 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 194 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
194 }, 195 },
195 "name": "compile" 196 "name": "compile"
196 }, 197 },
197 { 198 {
198 "cmd": [ 199 "cmd": [
199 "[DEPOT_TOOLS]/git_number.py"
200 ],
201 "cwd": "[SLAVE_BUILD]/src",
202 "name": "git_number",
203 "stdout": "/path/to/tmp/"
204 },
205 {
206 "always_run": true,
207 "cmd": [
208 "python",
209 "-u",
210 "[BUILD]/scripts/slave/android/archive_build.py",
211 "--target",
212 "Release",
213 "--name",
214 "build_product.zip"
215 ],
216 "cwd": "[SLAVE_BUILD]/src",
217 "name": "zip_build_product"
218 },
219 {
220 "cmd": [
221 "python",
222 "-u",
223 "[BUILD]/scripts/slave/recipe_modules/gsutil/resources/gsutil_wrapper.py",
224 "--",
225 "[DEPOT_TOOLS]/third_party/gsutil/gsutil",
226 "cp",
227 "[SLAVE_BUILD]/src/out/build_product.zip",
228 "gs://build-bucket/coverage_builder/build_product_4f4b02f6b7fa20a3a25682c4 57bbc8ad589c8a00.zip"
229 ],
230 "name": "gsutil upload_build_product",
231 "~followup_annotations": [
232 "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/build-bucket/ coverage_builder/build_product_4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00.zip@@@"
233 ]
234 },
235 {
236 "cmd": [
237 "python", 200 "python",
238 "-u", 201 "-u",
239 "[BUILD]/scripts/slave/recipe_modules/adb/resources/list_devices.py", 202 "[BUILD]/scripts/slave/recipe_modules/adb/resources/list_devices.py",
240 "['[BUILD_INTERNAL]/scripts/slave/android/adb', 'devices']", 203 "['[BUILD_INTERNAL]/scripts/slave/android/adb', 'devices']",
241 "/path/to/tmp/json" 204 "/path/to/tmp/json"
242 ], 205 ],
243 "name": "List adb devices", 206 "name": "List adb devices",
244 "~followup_annotations": [ 207 "~followup_annotations": [
245 "@@@STEP_LOG_LINE@json.output@[@@@", 208 "@@@STEP_LOG_LINE@json.output@[@@@",
246 "@@@STEP_LOG_LINE@json.output@ \"014E1F310401C009\"@@@", 209 "@@@STEP_LOG_LINE@json.output@ \"014E1F310401C009\"@@@",
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
537 ], 500 ],
538 "name": "gsutil upload coverage report", 501 "name": "gsutil upload coverage report",
539 "~followup_annotations": [ 502 "~followup_annotations": [
540 "@@@STEP_LINK@Coverage report@https://storage.cloud.google.com/chrome-code -coverage/java/coverage_builder/4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00@@@" 503 "@@@STEP_LINK@Coverage report@https://storage.cloud.google.com/chrome-code -coverage/java/coverage_builder/4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00@@@"
541 ] 504 ]
542 }, 505 },
543 { 506 {
544 "always_run": true, 507 "always_run": true,
545 "cmd": [ 508 "cmd": [
546 "rm", 509 "rm",
547 "-rf", 510 "-rf"
548 "[SLAVE_BUILD]/src/out/build_product.zip"
549 ], 511 ],
550 "name": "cleanup_build" 512 "name": "cleanup_build"
551 } 513 }
552 ] 514 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698