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

Side by Side Diff: scripts/slave/recipe_modules/cronet/example.expected/gn_test.json

Issue 2103523002: Revert of adb: move known devices file under cache so it works with remote_run (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 4 years, 5 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 "\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 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 }, 388 },
389 { 389 {
390 "cmd": [], 390 "cmd": [],
391 "name": "fix_device_file_format" 391 "name": "fix_device_file_format"
392 }, 392 },
393 { 393 {
394 "cmd": [ 394 "cmd": [
395 "python", 395 "python",
396 "-u", 396 "-u",
397 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 397 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
398 "[CACHE]/known_android_devices", 398 "[BUILD]/site_config/.known_devices",
399 "/path/to/tmp/" 399 "/path/to/tmp/"
400 ], 400 ],
401 "name": "fix_device_file_format.read_device_file", 401 "name": "fix_device_file_format.read_device_file",
402 "~followup_annotations": [ 402 "~followup_annotations": [
403 "@@@STEP_NEST_LEVEL@1@@@", 403 "@@@STEP_NEST_LEVEL@1@@@",
404 "@@@STEP_TEXT@file format is compatible@@@" 404 "@@@STEP_TEXT@file format is compatible@@@"
405 ] 405 ]
406 }, 406 },
407 { 407 {
408 "cmd": [ 408 "cmd": [
409 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", 409 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py",
410 "--adb-path", 410 "--adb-path",
411 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", 411 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
412 "--blacklist-file", 412 "--blacklist-file",
413 "[SLAVE_BUILD]/src/out/bad_devices.json", 413 "[SLAVE_BUILD]/src/out/bad_devices.json",
414 "--json-output", 414 "--json-output",
415 "/path/to/tmp/json", 415 "/path/to/tmp/json",
416 "--known-devices-file", 416 "--known-devices-file",
417 "[CACHE]/known_android_devices" 417 "[BUILD]/site_config/.known_devices"
418 ], 418 ],
419 "env": { 419 "env": {
420 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 420 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
421 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 421 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
422 }, 422 },
423 "name": "device_status_check", 423 "name": "device_status_check",
424 "~followup_annotations": [ 424 "~followup_annotations": [
425 "@@@STEP_TEXT@Online devices: 1@@@", 425 "@@@STEP_TEXT@Online devices: 1@@@",
426 "@@@STEP_LOG_LINE@json.output@[@@@", 426 "@@@STEP_LOG_LINE@json.output@[@@@",
427 "@@@STEP_LOG_LINE@json.output@ {@@@", 427 "@@@STEP_LOG_LINE@json.output@ {@@@",
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
723 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", 723 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
724 "@@@STEP_LOG_END@python.inline@@@" 724 "@@@STEP_LOG_END@python.inline@@@"
725 ] 725 ]
726 }, 726 },
727 { 727 {
728 "name": "$result", 728 "name": "$result",
729 "recipe_result": null, 729 "recipe_result": null,
730 "status_code": 0 730 "status_code": 0
731 } 731 }
732 ] 732 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698