summaryrefslogtreecommitdiff
path: root/dev-util/electron/files/chromium-python3-compat-r0.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/electron/files/chromium-python3-compat-r0.patch')
-rw-r--r--dev-util/electron/files/chromium-python3-compat-r0.patch34
1 files changed, 0 insertions, 34 deletions
diff --git a/dev-util/electron/files/chromium-python3-compat-r0.patch b/dev-util/electron/files/chromium-python3-compat-r0.patch
deleted file mode 100644
index d91ea8a4c1b1..000000000000
--- a/dev-util/electron/files/chromium-python3-compat-r0.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-diff --git a/v8/gypfiles/detect_v8_host_arch.py b/v8/gypfiles/detect_v8_host_arch.py
-index 89e8286..cc61946 100644
---- a/v8/gypfiles/detect_v8_host_arch.py
-+++ b/v8/gypfiles/detect_v8_host_arch.py
-@@ -28,13 +28,15 @@
-
- """Outputs host CPU architecture in format recognized by gyp."""
-
-+from __future__ import print_function
-+
- import platform
- import re
- import sys
-
-
- def main():
-- print DoMain([])
-+ print(DoMain([]))
- return 0
-
- def DoMain(_):
-diff --git a/v8/gypfiles/toolchain.gypi b/v8/gypfiles/toolchain.gypi
-index 95eb1d9..1ec652a 100644
---- a/v8/gypfiles/toolchain.gypi
-+++ b/v8/gypfiles/toolchain.gypi
-@@ -40,7 +40,7 @@
- 'has_valgrind%': 0,
- 'coverage%': 0,
- 'v8_target_arch%': '<(target_arch)',
-- 'v8_host_byteorder%': '<!(python -c "import sys; print sys.byteorder")',
-+ 'v8_host_byteorder%': '<!(python -c "from __future__ import print_function; import sys; print(sys.byteorder)")',
- 'force_dynamic_crt%': 0,
-
- # Setting 'v8_can_use_vfp32dregs' to 'true' will cause V8 to use the VFP