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

Side by Side Diff: scripts/slave/recipe_modules/chromium_android/example.expected/gerrit_refs.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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 "src", 181 "src",
182 "foo", 182 "foo",
183 "src/repo" 183 "src/repo"
184 ], 184 ],
185 "name": "tree truth steps" 185 "name": "tree truth steps"
186 }, 186 },
187 { 187 {
188 "cmd": [ 188 "cmd": [
189 "python", 189 "python",
190 "-u", 190 "-u",
191 "\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", 191 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
192 "[SLAVE_BUILD]/src/chrome/VERSION", 192 "[SLAVE_BUILD]/src/chrome/VERSION",
193 "/path/to/tmp/" 193 "/path/to/tmp/"
194 ], 194 ],
195 "name": "get version" 195 "name": "get version"
196 }, 196 },
197 { 197 {
198 "cmd": [ 198 "cmd": [
199 "[SLAVE_BUILD]/src/testing/scripts/host_info.py", 199 "[SLAVE_BUILD]/src/testing/scripts/host_info.py",
200 "--args", 200 "--args",
201 "[\"--known-devices-file\", \"[HOME]/.android/known_devices.json\"]", 201 "[\"--known-devices-file\", \"[HOME]/.android/known_devices.json\"]",
(...skipping 462 matching lines...) Expand 10 before | Expand all | Expand 10 after
664 ] 664 ]
665 }, 665 },
666 { 666 {
667 "cmd": [], 667 "cmd": [],
668 "name": "fix_device_file_format" 668 "name": "fix_device_file_format"
669 }, 669 },
670 { 670 {
671 "cmd": [ 671 "cmd": [
672 "python", 672 "python",
673 "-u", 673 "-u",
674 "\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", 674 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
675 "[HOME]/.android/known_devices.json", 675 "[HOME]/.android/known_devices.json",
676 "/path/to/tmp/" 676 "/path/to/tmp/"
677 ], 677 ],
678 "name": "fix_device_file_format.read_device_file", 678 "name": "fix_device_file_format.read_device_file",
679 "~followup_annotations": [ 679 "~followup_annotations": [
680 "@@@STEP_NEST_LEVEL@1@@@", 680 "@@@STEP_NEST_LEVEL@1@@@",
681 "@@@STEP_TEXT@file format is compatible@@@" 681 "@@@STEP_TEXT@file format is compatible@@@"
682 ] 682 ]
683 }, 683 },
684 { 684 {
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
954 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", 954 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release",
955 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 955 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
956 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 956 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
957 }, 957 },
958 "name": "stack_tool_with_logcat_dump" 958 "name": "stack_tool_with_logcat_dump"
959 }, 959 },
960 { 960 {
961 "cmd": [ 961 "cmd": [
962 "python", 962 "python",
963 "-u", 963 "-u",
964 "\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", 964 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
965 "[SLAVE_BUILD]/src/chrome/VERSION", 965 "[SLAVE_BUILD]/src/chrome/VERSION",
966 "/path/to/tmp/" 966 "/path/to/tmp/"
967 ], 967 ],
968 "name": "get version (2)" 968 "name": "get version (2)"
969 }, 969 },
970 { 970 {
971 "cmd": [ 971 "cmd": [
972 "[SLAVE_BUILD]/src/build/android/tombstones.py", 972 "[SLAVE_BUILD]/src/build/android/tombstones.py",
973 "-a", 973 "-a",
974 "-s", 974 "-s",
(...skipping 18 matching lines...) Expand all
993 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 993 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
994 }, 994 },
995 "name": "stack_tool_for_asan" 995 "name": "stack_tool_for_asan"
996 }, 996 },
997 { 997 {
998 "name": "$result", 998 "name": "$result",
999 "recipe_result": null, 999 "recipe_result": null,
1000 "status_code": 0 1000 "status_code": 0
1001 } 1001 }
1002 ] 1002 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698