From 7c8fca2e86111cd5e8b47a591f266b1e67a476b0 Mon Sep 17 00:00:00 2001 From: Alethea Rose Date: Tue, 14 Feb 2017 20:56:17 -0500 Subject: [PATCH 1/8] Fix python invocation to python2 --- common.gypi | 2 +- configure | 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 | 16 +++++++-------- deps/v8/Makefile | 2 +- deps/v8/Makefile.android | 2 +- deps/v8/Makefile.nacl | 2 +- deps/v8/build/coverage_wrapper.py | 2 +- deps/v8/build/detect_v8_host_arch.py | 2 +- deps/v8/build/download_gold_plugin.py | 4 ++-- deps/v8/build/get_landmines.py | 2 +- deps/v8/build/gyp_v8 | 2 +- deps/v8/build/has_valgrind.py | 2 +- deps/v8/build/isolate.gypi | 2 +- deps/v8/build/landmines.py | 2 +- deps/v8/build/shim_headers.gypi | 2 +- deps/v8/build/standalone.gypi | 4 ++-- deps/v8/build/toolchain.gypi | 2 +- deps/v8/build/vs_toolchain.py | 2 +- deps/v8/src/d8.gyp | 2 +- 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/external-reference-check.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/generate_shim_headers.py | 2 +- deps/v8/tools/grokdump.py | 2 +- deps/v8/tools/gyp/v8.gyp | 24 +++++++++++----------- 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/nacl-run.py | 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 +- deps/v8/tools/release/search_related_commits.py | 2 +- deps/v8/tools/release/test_scripts.py | 2 +- .../tools/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 +- deps/v8/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 +- 83 files changed, 103 insertions(+), 103 deletions(-) diff --git a/common.gypi b/common.gypi index 8a3179d..81d34d0 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/configure b/configure index 6a50e5e..e8441a5 100644 --- a/configure +++ b/configure @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 import sys if sys.version_info[0] != 2 or sys.version_info[1] not in (6, 7): diff --git a/deps/cares/build/gcc_version.py b/deps/cares/build/gcc_version.py index da019e8..b4223af 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 609ad62..c187196 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 d1f1640..ecd3f0a 100644 --- 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 bd37d95..297059b 100644 --- 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 0559523..15cb213 100644 --- a/deps/v8/DEPS +++ b/deps/v8/DEPS @@ -64,7 +64,7 @@ hooks = [ 'name': 'landmines', 'pattern': '.', 'action': [ - 'python', + 'python2', 'v8/build/landmines.py', ], }, @@ -106,7 +106,7 @@ hooks = [ 'name': 'gcmole', 'pattern': '.', 'action': [ - 'python', + 'python2', 'v8/tools/gcmole/download_gcmole_tools.py', ], }, @@ -114,7 +114,7 @@ hooks = [ 'name': 'jsfunfuzz', 'pattern': '.', 'action': [ - 'python', + 'python2', 'v8/tools/jsfunfuzz/download_jsfunfuzz.py', ], }, @@ -190,7 +190,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. @@ -199,7 +199,7 @@ hooks = [ 'name': 'binutils', 'pattern': 'v8/third_party/binutils', 'action': [ - 'python', + 'python2', 'v8/third_party/binutils/download.py', ], }, @@ -208,18 +208,18 @@ hooks = [ # Note: This must run before the clang update. 'name': 'gold_plugin', 'pattern': '.', - 'action': ['python', 'v8/build/download_gold_plugin.py'], + 'action': ['python2', 'v8/build/download_gold_plugin.py'], }, { # Pull clang if needed or requested via GYP_DEFINES. # 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/build/gyp_v8"], + "action": ["python2", "v8/build/gyp_v8"], }, ] diff --git a/deps/v8/Makefile b/deps/v8/Makefile index a0c08a6..66af786 100644 --- a/deps/v8/Makefile +++ b/deps/v8/Makefile @@ -311,7 +311,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 c49cb85..d1c9699 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/Makefile.nacl b/deps/v8/Makefile.nacl index 3459c42..bb7fc31 100644 --- a/deps/v8/Makefile.nacl +++ b/deps/v8/Makefile.nacl @@ -80,7 +80,7 @@ $(NACL_BUILDS): $(NACL_MAKEFILES) LD="$(NACL_TOOLCHAIN)/bin/pnacl-ld" \ LINK=${NACL_LINK} \ BUILDTYPE=$(shell echo $(subst .,,$(suffix $@)) | \ - python -c "print raw_input().capitalize()") \ + python2 -c "print raw_input().capitalize()") \ builddir="$(shell pwd)/$(OUTDIR)/$@" # NACL GYP file generation targets. diff --git a/deps/v8/build/coverage_wrapper.py b/deps/v8/build/coverage_wrapper.py index 5b365d8..3fd6cfa 100644 --- a/deps/v8/build/coverage_wrapper.py +++ b/deps/v8/build/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/build/detect_v8_host_arch.py b/deps/v8/build/detect_v8_host_arch.py index 89e8286..87ad379 100644 --- a/deps/v8/build/detect_v8_host_arch.py +++ b/deps/v8/build/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/build/download_gold_plugin.py b/deps/v8/build/download_gold_plugin.py index b8131fd..81e04e1 100644 --- a/deps/v8/build/download_gold_plugin.py +++ b/deps/v8/build/download_gold_plugin.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python2 # Copyright 2015 the V8 project authors. All rights reserved. # Copyright 2015 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be @@ -70,7 +70,7 @@ def main(): # (currently aborts with exit code 1, # https://github.com/GoogleCloudPlatform/gsutil/issues/289) or change the # stdin->stderr redirect in update.py to do something else (crbug.com/494442). - subprocess.check_call(['python', GSUTIL_PATH, + subprocess.check_call(['python2', GSUTIL_PATH, 'cp', remote_path, targz_name], stderr=open('/dev/null', 'w')) subprocess.check_call(['tar', 'xzf', targz_name]) diff --git a/deps/v8/build/get_landmines.py b/deps/v8/build/get_landmines.py index 2bbf7a6..f1b7e9d 100644 --- a/deps/v8/build/get_landmines.py +++ b/deps/v8/build/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/build/gyp_v8 b/deps/v8/build/gyp_v8 index 8813f2c..e8ea57c 100644 --- a/deps/v8/build/gyp_v8 +++ b/deps/v8/build/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/build/has_valgrind.py b/deps/v8/build/has_valgrind.py index 83a848d..cfb8605 100644 --- a/deps/v8/build/has_valgrind.py +++ b/deps/v8/build/has_valgrind.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/build/isolate.gypi b/deps/v8/build/isolate.gypi index 4cfbbfd..5698bde 100644 --- a/deps/v8/build/isolate.gypi +++ b/deps/v8/build/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/build/landmines.py b/deps/v8/build/landmines.py index 97c6390..215d8c0 100644 --- a/deps/v8/build/landmines.py +++ b/deps/v8/build/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/build/shim_headers.gypi b/deps/v8/build/shim_headers.gypi index 940211c..7e21773 100644 --- a/deps/v8/build/shim_headers.gypi +++ b/deps/v8/build/shim_headers.gypi @@ -62,7 +62,7 @@ 'outputs': [ ' build/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/nacl-run.py b/deps/v8/tools/nacl-run.py index 32055fe..edcc08f 100644 --- a/deps/v8/tools/nacl-run.py +++ b/deps/v8/tools/nacl-run.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 diff --git a/deps/v8/tools/perf-to-html.py b/deps/v8/tools/perf-to-html.py index 63faeb1..3a68c60 100644 --- 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 dd3533b..5fbc677 100644 --- 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 a26cbf1..c7a4e6e 100644 --- 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 ca9e5e8..5b91dec 100644 --- 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 b71cac5..891b34a 100644 --- 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 a52a028..b71c19c 100644 --- 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 cd73051..ad4297d 100644 --- 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 5c03236..59c390e 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 7477ea1..8915f7f 100644 --- 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 89fd7c9..03bb62e 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 699fe1b..ea72b4a 100644 --- 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 7f8b9cb..0035a83 100644 --- 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 750794e..299771a 100644 --- 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 7b659cc..61b2eec 100644 --- 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 cbb2134..3d2adcf 100644 --- 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 d27aa56..bf016d1 100644 --- 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 05457c9..9844530 100644 --- 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 cf61236..3eca10e 100644 --- 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 970aa8e..e93e73d 100644 --- 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 e3f84f5..de78300 100644 --- 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 5a656e1..c6fc589 100644 --- 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 db4245f..aa48704 100644 --- 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 4f3ea9e..5845fa1 100644 --- 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 a4cfec1..347401e 100644 --- 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 47f2715..df58ff6 100644 --- 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 ab8e287..702151d 100644 --- 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 ab927de..a94b61a 100644 --- 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 99996ee..4682378 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 335d20a..7e89d8b 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 baa66fb..26a58c8 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 bf8c8a8..3397998 100644 --- 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 fbd4036..0948dcf 100644 --- 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 1a4d738..b0a576d 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 50caace..7120d64 100644 --- 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.11.0