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

Side by Side Diff: scripts/slave/recipe_modules/cronet/example.expected/gn_test.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 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 "name": "compile", 303 "name": "compile",
304 "~followup_annotations": [ 304 "~followup_annotations": [
305 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", 305 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@",
306 "@@@STEP_LOG_END@json.output (invalid)@@@" 306 "@@@STEP_LOG_END@json.output (invalid)@@@"
307 ] 307 ]
308 }, 308 },
309 { 309 {
310 "cmd": [ 310 "cmd": [
311 "python", 311 "python",
312 "-u", 312 "-u",
313 "\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", 313 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
314 "[SLAVE_BUILD]/src/chrome/VERSION", 314 "[SLAVE_BUILD]/src/chrome/VERSION",
315 "/path/to/tmp/" 315 "/path/to/tmp/"
316 ], 316 ],
317 "name": "get version" 317 "name": "get version"
318 }, 318 },
319 { 319 {
320 "cmd": [ 320 "cmd": [
321 "python", 321 "python",
322 "-u", 322 "-u",
323 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", 323 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after
686 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Debug", 686 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Debug",
687 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 687 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
688 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 688 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
689 }, 689 },
690 "name": "stack_tool_with_logcat_dump" 690 "name": "stack_tool_with_logcat_dump"
691 }, 691 },
692 { 692 {
693 "cmd": [ 693 "cmd": [
694 "python", 694 "python",
695 "-u", 695 "-u",
696 "\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", 696 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
697 "[SLAVE_BUILD]/src/chrome/VERSION", 697 "[SLAVE_BUILD]/src/chrome/VERSION",
698 "/path/to/tmp/" 698 "/path/to/tmp/"
699 ], 699 ],
700 "name": "get version (2)" 700 "name": "get version (2)"
701 }, 701 },
702 { 702 {
703 "cmd": [ 703 "cmd": [
704 "[SLAVE_BUILD]/src/build/android/tombstones.py", 704 "[SLAVE_BUILD]/src/build/android/tombstones.py",
705 "-a", 705 "-a",
706 "-s", 706 "-s",
(...skipping 24 matching lines...) Expand all
731 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", 731 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
732 "@@@STEP_LOG_END@python.inline@@@" 732 "@@@STEP_LOG_END@python.inline@@@"
733 ] 733 ]
734 }, 734 },
735 { 735 {
736 "name": "$result", 736 "name": "$result",
737 "recipe_result": null, 737 "recipe_result": null,
738 "status_code": 0 738 "status_code": 0
739 } 739 }
740 ] 740 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698