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

Side by Side Diff: scripts/slave/recipe_modules/chromium_android/example.expected/downgrade_install_tester_basic.json

Issue 2065843002: [Android] Only pass --adb-path to adb_install_apk for M51 and above. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@update-version
Patch Set: rebase Created 4 years, 6 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 518 matching lines...) Expand 10 before | Expand all | Expand 10 after
529 "1800" 529 "1800"
530 ], 530 ],
531 "env": { 531 "env": {
532 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 532 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
533 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 533 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
534 }, 534 },
535 "name": "provision_devices (2)" 535 "name": "provision_devices (2)"
536 }, 536 },
537 { 537 {
538 "cmd": [ 538 "cmd": [
539 "python",
540 "-u",
541 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
542 "[SLAVE_BUILD]/src/chrome/VERSION",
543 "/path/to/tmp/"
544 ],
545 "name": "get version (2)"
546 },
547 {
548 "cmd": [
539 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py", 549 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py",
540 "apk", 550 "apk",
541 "-v", 551 "-v",
542 "--blacklist-file", 552 "--blacklist-file",
543 "[SLAVE_BUILD]/src/out/bad_devices.json", 553 "[SLAVE_BUILD]/src/out/bad_devices.json",
544 "--adb-path", 554 "--adb-path",
545 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", 555 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
546 "--downgrade", 556 "--downgrade",
547 "--release" 557 "--release"
548 ], 558 ],
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
700 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 710 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
701 }, 711 },
702 "name": "stack_tool_for_asan" 712 "name": "stack_tool_for_asan"
703 }, 713 },
704 { 714 {
705 "name": "$result", 715 "name": "$result",
706 "recipe_result": null, 716 "recipe_result": null,
707 "status_code": 0 717 "status_code": 0
708 } 718 }
709 ] 719 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698