summaryrefslogtreecommitdiffstats
path: root/src/buildtools/configure_target.pro
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildtools/configure_target.pro')
-rw-r--r--src/buildtools/configure_target.pro12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/buildtools/configure_target.pro b/src/buildtools/configure_target.pro
index 1750f4e6f..54841bf51 100644
--- a/src/buildtools/configure_target.pro
+++ b/src/buildtools/configure_target.pro
@@ -7,19 +7,7 @@ GN_OS = $$gnOS()
clang: GN_CLANG = true
else: GN_CLANG = false
-GN_V8_HOST_CPU = $$gnArch($$QMAKE_HOST.arch)
-contains(GN_CPU, "arm")|contains(GN_CPU, "mips")|contains(GN_CPU, "x86") {
- # The v8 snapshot need a host that matches bitwidth, so we build makesnapshot to 32-bit variants of host.
- contains(GN_V8_HOST_CPU, x64): GN_V8_HOST_CPU = "x86"
- else: contains(GN_V8_HOST_CPU, arm64): GN_V8_HOST_CPU = "arm"
- else: contains(GN_V8_HOST_CPU, mips64): GN_V8_HOST_CPU = "mips"
-}
-
GN_CONTENTS = \
-" current_cpu = \"$$GN_V8_HOST_CPU\" " \
-" v8_current_cpu = \"$$GN_CPU\" " \
-" } " \
-"}" \
"gcc_toolchain(\"target\") {" \
" cc = \"$$which($$QMAKE_CC)\" " \
" cxx = \"$$which($$QMAKE_CXX)\" " \