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

Side by Side Diff: scripts/slave/recipes/cronet.expected/cronet_try.json

Issue 2402583003: Revert "Fix file.copy recipe_module to not fail if files are already equal." (Closed)
Patch Set: Created 4 years, 2 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 651 matching lines...) Expand 10 before | Expand all | Expand 10 after
662 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Debug", 662 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Debug",
663 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 663 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
664 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 664 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
665 }, 665 },
666 "name": "stack_tool_with_logcat_dump" 666 "name": "stack_tool_with_logcat_dump"
667 }, 667 },
668 { 668 {
669 "cmd": [ 669 "cmd": [
670 "python", 670 "python",
671 "-u", 671 "-u",
672 "\nimport shutil\nimport sys\n# Apparently, shutil.copy fails if files are binary-equal on *nix OSes.\n# See http://crbug.com/636168#c8.\nif hasattr(shuti l, '_samefile'):\n if shutil._samefile(sys.argv[1], sys.argv[2]):\n sys.exit (0)\nshutil.copy(sys.argv[1], sys.argv[2])\n", 672 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
673 "[SLAVE_BUILD]/src/chrome/VERSION", 673 "[SLAVE_BUILD]/src/chrome/VERSION",
674 "/path/to/tmp/" 674 "/path/to/tmp/"
675 ], 675 ],
676 "name": "get version" 676 "name": "get version"
677 }, 677 },
678 { 678 {
679 "cmd": [ 679 "cmd": [
680 "[SLAVE_BUILD]/src/build/android/tombstones.py", 680 "[SLAVE_BUILD]/src/build/android/tombstones.py",
681 "-a", 681 "-a",
682 "-s", 682 "-s",
(...skipping 24 matching lines...) Expand all
707 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", 707 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
708 "@@@STEP_LOG_END@python.inline@@@" 708 "@@@STEP_LOG_END@python.inline@@@"
709 ] 709 ]
710 }, 710 },
711 { 711 {
712 "name": "$result", 712 "name": "$result",
713 "recipe_result": null, 713 "recipe_result": null,
714 "status_code": 0 714 "status_code": 0
715 } 715 }
716 ] 716 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698