From 2b030720acb6b4f573feec6c4466224eb7e28cc0 Mon Sep 17 00:00:00 2001 From: Alethea Rose Date: Tue, 14 Feb 2017 20:56:17 -0500 Subject: [PATCH 01/23] Fix python invocation to python2 --- common.gypi | 2 +- deps/cares/build/gcc_version.py | 2 +- deps/cares/common.gypi | 2 +- deps/cares/gyp_cares | 2 +- deps/uv/gyp_uv.py | 2 +- deps/v8/DEPS | 14 ++++++------ deps/v8/Makefile | 2 +- deps/v8/Makefile.android | 2 +- deps/v8/gypfiles/coverage_wrapper.py | 2 +- deps/v8/gypfiles/detect_v8_host_arch.py | 2 +- deps/v8/gypfiles/get_landmines.py | 2 +- deps/v8/gypfiles/gyp_v8 | 2 +- deps/v8/gypfiles/isolate.gypi | 2 +- deps/v8/gypfiles/landmines.py | 2 +- deps/v8/gypfiles/run-tests-legacy.py | 2 +- deps/v8/gypfiles/shim_headers.gypi | 2 +- deps/v8/gypfiles/standalone.gypi | 4 ++-- deps/v8/gypfiles/toolchain.gypi | 2 +- deps/v8/gypfiles/vs_toolchain.py | 2 +- deps/v8/src/d8.gyp | 2 +- deps/v8/src/v8.gyp | 22 +++++++++---------- deps/v8/tools/android-run.py | 2 +- deps/v8/tools/concatenate-files.py | 2 +- deps/v8/tools/disasm.py | 2 +- deps/v8/tools/eval_gc_nvp.py | 2 +- deps/v8/tools/find-commit-for-patch.py | 2 +- deps/v8/tools/fuzz-harness.sh | 2 +- deps/v8/tools/gc-nvp-to-csv.py | 2 +- deps/v8/tools/gc-nvp-trace-processor.py | 2 +- deps/v8/tools/gcmole/download_gcmole_tools.py | 2 +- deps/v8/tools/gcmole/gcmole.lua | 2 +- deps/v8/tools/gcmole/parallel.py | 2 +- deps/v8/tools/gcmole/run-gcmole.py | 2 +- deps/v8/tools/gen-postmortem-metadata.py | 2 +- deps/v8/tools/generate-builtins-tests.py | 2 +- .../generate_shim_headers.py | 2 +- deps/v8/tools/grokdump.py | 2 +- deps/v8/tools/isolate_driver.py | 2 +- deps/v8/tools/js2c.py | 2 +- deps/v8/tools/jsfunfuzz/download_jsfunfuzz.py | 2 +- deps/v8/tools/jsfunfuzz/fuzz-harness.sh | 2 +- deps/v8/tools/jsmin.py | 2 +- deps/v8/tools/ll_prof.py | 2 +- deps/v8/tools/mingw-generate-makefiles.sh | 2 +- deps/v8/tools/perf-to-html.py | 2 +- deps/v8/tools/presubmit.py | 2 +- deps/v8/tools/process-heap-prof.py | 2 +- deps/v8/tools/release/auto_push.py | 2 +- deps/v8/tools/release/auto_roll.py | 2 +- deps/v8/tools/release/auto_tag.py | 2 +- deps/v8/tools/release/check_clusterfuzz.py | 2 +- deps/v8/tools/release/common_includes.py | 2 +- deps/v8/tools/release/create_release.py | 2 +- deps/v8/tools/release/git_recipes.py | 2 +- deps/v8/tools/release/merge_to_branch.py | 2 +- deps/v8/tools/release/mergeinfo.py | 2 +- deps/v8/tools/release/push_to_candidates.py | 2 +- deps/v8/tools/release/releases.py | 2 +- deps/v8/tools/release/script_test.py | 2 +- .../tools/release/search_related_commits.py | 2 +- deps/v8/tools/release/test_scripts.py | 2 +- .../release/test_search_related_commits.py | 2 +- deps/v8/tools/run-deopt-fuzzer.py | 2 +- deps/v8/tools/run-valgrind.py | 2 +- deps/v8/tools/run.py | 2 +- deps/v8/tools/run_perf.py | 2 +- deps/v8/tools/sanitizers/sancov_formatter.py | 2 +- deps/v8/tools/sanitizers/sancov_merger.py | 2 +- deps/v8/tools/sanitizers/sanitize_pcs.py | 2 +- deps/v8/tools/stats-viewer.py | 2 +- deps/v8/tools/test-server.py | 2 +- deps/v8/tools/testrunner/local/pool.py | 2 +- .../tools/testrunner/local/pool_unittest.py | 2 +- deps/v8/tools/testrunner/server/daemon.py | 2 +- deps/v8/tools/trace-maps-processor.py | 2 +- deps/v8/tools/try_perf.py | 2 +- deps/v8/tools/unittests/run_perf_test.py | 2 +- deps/v8/tools/verify_source_deps.py | 2 +- 78 files changed, 95 insertions(+), 95 deletions(-) diff --git a/common.gypi b/common.gypi index 99351610..8721d76f 100644 --- a/common.gypi +++ b/common.gypi @@ -9,7 +9,7 @@ 'library%': 'static_library', # allow override to 'shared_library' for DLL/.so builds 'component%': 'static_library', # NB. these names match with what V8 expects 'msvs_multi_core_compile': '0', # we do enable multicore compiles, but not using the V8 way - 'python%': 'python', + 'python%': 'python2', 'node_shared%': 'false', 'force_dynamic_crt%': 0, diff --git a/deps/cares/build/gcc_version.py b/deps/cares/build/gcc_version.py index da019e86..b4223af7 100644 --- a/deps/cares/build/gcc_version.py +++ b/deps/cares/build/gcc_version.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 import os import re diff --git a/deps/cares/common.gypi b/deps/cares/common.gypi index 609ad62a..c1871966 100644 --- a/deps/cares/common.gypi +++ b/deps/cares/common.gypi @@ -139,7 +139,7 @@ [ 'OS in "linux freebsd openbsd solaris android aix"', { 'variables': { - 'gcc_version%': ')' + 'gcc_version%': ')' }, 'cflags': [ '-Wall' ], 'cflags_cc': [ '-fno-rtti', '-fno-exceptions' ], diff --git a/deps/cares/gyp_cares b/deps/cares/gyp_cares index d1f1640e..ecd3f0ae 100755 --- a/deps/cares/gyp_cares +++ b/deps/cares/gyp_cares @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 import glob import platform diff --git a/deps/uv/gyp_uv.py b/deps/uv/gyp_uv.py index bd37d95c..297059b5 100755 --- a/deps/uv/gyp_uv.py +++ b/deps/uv/gyp_uv.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 import os import platform diff --git a/deps/v8/DEPS b/deps/v8/DEPS index 4b64895c..271892e9 100644 --- a/deps/v8/DEPS +++ b/deps/v8/DEPS @@ -79,7 +79,7 @@ hooks = [ 'name': 'landmines', 'pattern': '.', 'action': [ - 'python', + 'python2', 'v8/gypfiles/landmines.py', ], }, @@ -121,7 +121,7 @@ hooks = [ 'name': 'gcmole', 'pattern': '.', 'action': [ - 'python', + 'python2', 'v8/tools/gcmole/download_gcmole_tools.py', ], }, @@ -129,7 +129,7 @@ hooks = [ 'name': 'jsfunfuzz', 'pattern': '.', 'action': [ - 'python', + 'python2', 'v8/tools/jsfunfuzz/download_jsfunfuzz.py', ], }, @@ -249,7 +249,7 @@ hooks = [ # Update the Windows toolchain if necessary. 'name': 'win_toolchain', 'pattern': '.', - 'action': ['python', 'v8/build/vs_toolchain.py', 'update'], + 'action': ['python2', 'v8/build/vs_toolchain.py', 'update'], }, # Pull binutils for linux, enabled debug fission for faster linking / # debugging when used with clang on Ubuntu Precise. @@ -258,7 +258,7 @@ hooks = [ 'name': 'binutils', 'pattern': 'v8/third_party/binutils', 'action': [ - 'python', + 'python2', 'v8/third_party/binutils/download.py', ], }, @@ -267,11 +267,11 @@ hooks = [ # Note: On Win, this should run after win_toolchain, as it may use it. 'name': 'clang', 'pattern': '.', - 'action': ['python', 'v8/tools/clang/scripts/update.py', '--if-needed'], + 'action': ['python2', 'v8/tools/clang/scripts/update.py', '--if-needed'], }, { # A change to a .gyp, .gypi, or to GYP itself should run the generator. "pattern": ".", - "action": ["python", "v8/gypfiles/gyp_v8", "--running-as-hook"], + "action": ["python2", "v8/gypfiles/gyp_v8", "--running-as-hook"], }, ] diff --git a/deps/v8/Makefile b/deps/v8/Makefile index 167ebf8c..5f031c34 100644 --- a/deps/v8/Makefile +++ b/deps/v8/Makefile @@ -318,7 +318,7 @@ $(ARCHES): $(addprefix $$@.,$(DEFAULT_MODES)) $(BUILDS): $(OUTDIR)/Makefile.$$@ @$(MAKE) -C "$(OUTDIR)" -f Makefile.$@ \ BUILDTYPE=$(shell echo $(subst .,,$(suffix $@)) | \ - python -c "print \ + python2 -c "print \ raw_input().replace('opt', '').capitalize()") \ builddir="$(shell pwd)/$(OUTDIR)/$@" diff --git a/deps/v8/Makefile.android b/deps/v8/Makefile.android index 41715217..1f84adb7 100644 --- a/deps/v8/Makefile.android +++ b/deps/v8/Makefile.android @@ -58,7 +58,7 @@ DEFINES += OS=android $(ANDROID_BUILDS): $(OUTDIR)/Makefile.$$@ @$(MAKE) -C "$(OUTDIR)" -f Makefile.$@ \ BUILDTYPE=$(shell echo $(subst .,,$(suffix $@)) | \ - python -c "print raw_input().capitalize()") \ + python2 -c "print raw_input().capitalize()") \ builddir="$(shell pwd)/$(OUTDIR)/$@" # Android GYP file generation targets. diff --git a/deps/v8/gypfiles/coverage_wrapper.py b/deps/v8/gypfiles/coverage_wrapper.py index d5fdee43..ee26b8e6 100755 --- a/deps/v8/gypfiles/coverage_wrapper.py +++ b/deps/v8/gypfiles/coverage_wrapper.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # Copyright 2016 the V8 project authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. diff --git a/deps/v8/gypfiles/detect_v8_host_arch.py b/deps/v8/gypfiles/detect_v8_host_arch.py index 89e8286e..87ad3792 100644 --- a/deps/v8/gypfiles/detect_v8_host_arch.py +++ b/deps/v8/gypfiles/detect_v8_host_arch.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # Copyright 2014 the V8 project authors. All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are diff --git a/deps/v8/gypfiles/get_landmines.py b/deps/v8/gypfiles/get_landmines.py index 6137648e..69f29815 100755 --- a/deps/v8/gypfiles/get_landmines.py +++ b/deps/v8/gypfiles/get_landmines.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # Copyright 2014 the V8 project authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. diff --git a/deps/v8/gypfiles/gyp_v8 b/deps/v8/gypfiles/gyp_v8 index b8b5f742..a8715368 100755 --- a/deps/v8/gypfiles/gyp_v8 +++ b/deps/v8/gypfiles/gyp_v8 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # # Copyright 2012 the V8 project authors. All rights reserved. # Redistribution and use in source and binary forms, with or without diff --git a/deps/v8/gypfiles/isolate.gypi b/deps/v8/gypfiles/isolate.gypi index 149818c8..ba25cdc5 100644 --- a/deps/v8/gypfiles/isolate.gypi +++ b/deps/v8/gypfiles/isolate.gypi @@ -52,7 +52,7 @@ '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).isolated', ], 'action': [ - 'python', + 'python2', '<(DEPTH)/tools/isolate_driver.py', '<(test_isolation_mode)', '--isolated', '<(PRODUCT_DIR)/<(RULE_INPUT_ROOT).isolated', diff --git a/deps/v8/gypfiles/landmines.py b/deps/v8/gypfiles/landmines.py index 2a81c66d..49901b10 100755 --- a/deps/v8/gypfiles/landmines.py +++ b/deps/v8/gypfiles/landmines.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # Copyright 2014 the V8 project authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. diff --git a/deps/v8/gypfiles/run-tests-legacy.py b/deps/v8/gypfiles/run-tests-legacy.py index f1ea478c..4391c375 100755 --- a/deps/v8/gypfiles/run-tests-legacy.py +++ b/deps/v8/gypfiles/run-tests-legacy.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # Copyright 2017 the V8 project authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. diff --git a/deps/v8/gypfiles/shim_headers.gypi b/deps/v8/gypfiles/shim_headers.gypi index 940211c2..7e21773c 100644 --- a/deps/v8/gypfiles/shim_headers.gypi +++ b/deps/v8/gypfiles/shim_headers.gypi @@ -62,7 +62,7 @@ 'outputs': [ ' tools/gyp/gyp.mingw << EOF -#!/usr/bin/env python +#!/usr/bin/env python2 # Copyright (c) 2009 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be diff --git a/deps/v8/tools/perf-to-html.py b/deps/v8/tools/perf-to-html.py index 7ec9c50f..6c14287d 100755 --- a/deps/v8/tools/perf-to-html.py +++ b/deps/v8/tools/perf-to-html.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # Copyright 2015 the V8 project authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. diff --git a/deps/v8/tools/presubmit.py b/deps/v8/tools/presubmit.py index 99486cce..01973e47 100755 --- a/deps/v8/tools/presubmit.py +++ b/deps/v8/tools/presubmit.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # # Copyright 2012 the V8 project authors. All rights reserved. # Redistribution and use in source and binary forms, with or without diff --git a/deps/v8/tools/process-heap-prof.py b/deps/v8/tools/process-heap-prof.py index a26cbf15..c7a4e6e5 100755 --- a/deps/v8/tools/process-heap-prof.py +++ b/deps/v8/tools/process-heap-prof.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # # Copyright 2009 the V8 project authors. All rights reserved. # Redistribution and use in source and binary forms, with or without diff --git a/deps/v8/tools/release/auto_push.py b/deps/v8/tools/release/auto_push.py index ca9e5e87..5b91dec6 100755 --- a/deps/v8/tools/release/auto_push.py +++ b/deps/v8/tools/release/auto_push.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # Copyright 2013 the V8 project authors. All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are diff --git a/deps/v8/tools/release/auto_roll.py b/deps/v8/tools/release/auto_roll.py index da4cc7ef..7b02e06f 100755 --- a/deps/v8/tools/release/auto_roll.py +++ b/deps/v8/tools/release/auto_roll.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # Copyright 2014 the V8 project authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. diff --git a/deps/v8/tools/release/auto_tag.py b/deps/v8/tools/release/auto_tag.py index a52a0286..b71c19cd 100755 --- a/deps/v8/tools/release/auto_tag.py +++ b/deps/v8/tools/release/auto_tag.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # Copyright 2014 the V8 project authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. diff --git a/deps/v8/tools/release/check_clusterfuzz.py b/deps/v8/tools/release/check_clusterfuzz.py index 0fdffd93..213a2fc1 100755 --- a/deps/v8/tools/release/check_clusterfuzz.py +++ b/deps/v8/tools/release/check_clusterfuzz.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # Copyright 2014 the V8 project authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. diff --git a/deps/v8/tools/release/common_includes.py b/deps/v8/tools/release/common_includes.py index d295e37d..6af45662 100644 --- a/deps/v8/tools/release/common_includes.py +++ b/deps/v8/tools/release/common_includes.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # Copyright 2013 the V8 project authors. All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are diff --git a/deps/v8/tools/release/create_release.py b/deps/v8/tools/release/create_release.py index e5c2114b..48d713a3 100755 --- a/deps/v8/tools/release/create_release.py +++ b/deps/v8/tools/release/create_release.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # Copyright 2015 the V8 project authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. diff --git a/deps/v8/tools/release/git_recipes.py b/deps/v8/tools/release/git_recipes.py index d831aa3a..de8d032d 100644 --- a/deps/v8/tools/release/git_recipes.py +++ b/deps/v8/tools/release/git_recipes.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # Copyright 2014 the V8 project authors. All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are diff --git a/deps/v8/tools/release/merge_to_branch.py b/deps/v8/tools/release/merge_to_branch.py index 877d121b..5fa337b7 100755 --- a/deps/v8/tools/release/merge_to_branch.py +++ b/deps/v8/tools/release/merge_to_branch.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # Copyright 2014 the V8 project authors. All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are diff --git a/deps/v8/tools/release/mergeinfo.py b/deps/v8/tools/release/mergeinfo.py index 1e29ece9..b28f5e1a 100755 --- a/deps/v8/tools/release/mergeinfo.py +++ b/deps/v8/tools/release/mergeinfo.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # Copyright 2015 the V8 project authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. diff --git a/deps/v8/tools/release/push_to_candidates.py b/deps/v8/tools/release/push_to_candidates.py index 538b9887..cf02a884 100755 --- a/deps/v8/tools/release/push_to_candidates.py +++ b/deps/v8/tools/release/push_to_candidates.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # Copyright 2013 the V8 project authors. All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are diff --git a/deps/v8/tools/release/releases.py b/deps/v8/tools/release/releases.py index 7b659ccb..61b2eecb 100755 --- a/deps/v8/tools/release/releases.py +++ b/deps/v8/tools/release/releases.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # Copyright 2014 the V8 project authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. diff --git a/deps/v8/tools/release/script_test.py b/deps/v8/tools/release/script_test.py index b9a17e97..3e16eb6c 100755 --- a/deps/v8/tools/release/script_test.py +++ b/deps/v8/tools/release/script_test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # Copyright 2014 the V8 project authors. All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are diff --git a/deps/v8/tools/release/search_related_commits.py b/deps/v8/tools/release/search_related_commits.py index d27aa56f..bf016d17 100755 --- a/deps/v8/tools/release/search_related_commits.py +++ b/deps/v8/tools/release/search_related_commits.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # Copyright 2015 the V8 project authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. diff --git a/deps/v8/tools/release/test_scripts.py b/deps/v8/tools/release/test_scripts.py index 42bbd5a0..10fd6083 100755 --- a/deps/v8/tools/release/test_scripts.py +++ b/deps/v8/tools/release/test_scripts.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # Copyright 2013 the V8 project authors. All rights reserved. # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are diff --git a/deps/v8/tools/release/test_search_related_commits.py b/deps/v8/tools/release/test_search_related_commits.py index cf612361..3eca10e8 100755 --- a/deps/v8/tools/release/test_search_related_commits.py +++ b/deps/v8/tools/release/test_search_related_commits.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # Copyright 2015 the V8 project authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. diff --git a/deps/v8/tools/run-deopt-fuzzer.py b/deps/v8/tools/run-deopt-fuzzer.py index 1f50e026..befa7b3b 100755 --- a/deps/v8/tools/run-deopt-fuzzer.py +++ b/deps/v8/tools/run-deopt-fuzzer.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # # Copyright 2012 the V8 project authors. All rights reserved. # Redistribution and use in source and binary forms, with or without diff --git a/deps/v8/tools/run-valgrind.py b/deps/v8/tools/run-valgrind.py index e3f84f58..de783004 100755 --- a/deps/v8/tools/run-valgrind.py +++ b/deps/v8/tools/run-valgrind.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # # Copyright 2009 the V8 project authors. All rights reserved. # Redistribution and use in source and binary forms, with or without diff --git a/deps/v8/tools/run.py b/deps/v8/tools/run.py index 5a656e19..c6fc5894 100755 --- a/deps/v8/tools/run.py +++ b/deps/v8/tools/run.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # Copyright 2014 the V8 project authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. diff --git a/deps/v8/tools/run_perf.py b/deps/v8/tools/run_perf.py index b22a4f11..76ee8c5b 100755 --- a/deps/v8/tools/run_perf.py +++ b/deps/v8/tools/run_perf.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # Copyright 2014 the V8 project authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. diff --git a/deps/v8/tools/sanitizers/sancov_formatter.py b/deps/v8/tools/sanitizers/sancov_formatter.py index 2e168fb0..71fe8e67 100755 --- a/deps/v8/tools/sanitizers/sancov_formatter.py +++ b/deps/v8/tools/sanitizers/sancov_formatter.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # Copyright 2016 the V8 project authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. diff --git a/deps/v8/tools/sanitizers/sancov_merger.py b/deps/v8/tools/sanitizers/sancov_merger.py index 867f8b42..7e256437 100755 --- a/deps/v8/tools/sanitizers/sancov_merger.py +++ b/deps/v8/tools/sanitizers/sancov_merger.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # Copyright 2016 the V8 project authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. diff --git a/deps/v8/tools/sanitizers/sanitize_pcs.py b/deps/v8/tools/sanitizers/sanitize_pcs.py index 47f27150..df58ff6b 100755 --- a/deps/v8/tools/sanitizers/sanitize_pcs.py +++ b/deps/v8/tools/sanitizers/sanitize_pcs.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # Copyright 2016 the V8 project authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. diff --git a/deps/v8/tools/stats-viewer.py b/deps/v8/tools/stats-viewer.py index e8fc69e3..89b0da62 100755 --- a/deps/v8/tools/stats-viewer.py +++ b/deps/v8/tools/stats-viewer.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # # Copyright 2008 the V8 project authors. All rights reserved. # Redistribution and use in source and binary forms, with or without diff --git a/deps/v8/tools/test-server.py b/deps/v8/tools/test-server.py index ab927de7..a94b61ad 100755 --- a/deps/v8/tools/test-server.py +++ b/deps/v8/tools/test-server.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # # Copyright 2012 the V8 project authors. All rights reserved. # Redistribution and use in source and binary forms, with or without diff --git a/deps/v8/tools/testrunner/local/pool.py b/deps/v8/tools/testrunner/local/pool.py index 99996ee3..4682378e 100644 --- a/deps/v8/tools/testrunner/local/pool.py +++ b/deps/v8/tools/testrunner/local/pool.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # Copyright 2014 the V8 project authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. diff --git a/deps/v8/tools/testrunner/local/pool_unittest.py b/deps/v8/tools/testrunner/local/pool_unittest.py index 235eca63..3b584157 100644 --- a/deps/v8/tools/testrunner/local/pool_unittest.py +++ b/deps/v8/tools/testrunner/local/pool_unittest.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # Copyright 2014 the V8 project authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. diff --git a/deps/v8/tools/testrunner/server/daemon.py b/deps/v8/tools/testrunner/server/daemon.py index baa66fbe..26a58c8c 100644 --- a/deps/v8/tools/testrunner/server/daemon.py +++ b/deps/v8/tools/testrunner/server/daemon.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # This code has been written by Sander Marechal and published at: # http://www.jejik.com/articles/2007/02/a_simple_unix_linux_daemon_in_python/ diff --git a/deps/v8/tools/trace-maps-processor.py b/deps/v8/tools/trace-maps-processor.py index bf8c8a8c..33979984 100755 --- a/deps/v8/tools/trace-maps-processor.py +++ b/deps/v8/tools/trace-maps-processor.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # Copyright 2014 the V8 project authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. diff --git a/deps/v8/tools/try_perf.py b/deps/v8/tools/try_perf.py index 17eb0706..10e8da42 100755 --- a/deps/v8/tools/try_perf.py +++ b/deps/v8/tools/try_perf.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # Copyright 2014 the V8 project authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. diff --git a/deps/v8/tools/unittests/run_perf_test.py b/deps/v8/tools/unittests/run_perf_test.py index e7342e6a..c43f2b0d 100644 --- a/deps/v8/tools/unittests/run_perf_test.py +++ b/deps/v8/tools/unittests/run_perf_test.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # Copyright 2014 the V8 project authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. diff --git a/deps/v8/tools/verify_source_deps.py b/deps/v8/tools/verify_source_deps.py index c49d51ab..7ddfe702 100755 --- a/deps/v8/tools/verify_source_deps.py +++ b/deps/v8/tools/verify_source_deps.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # Copyright 2015 the V8 project authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. -- 2.17.0.windows.1