summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/core/config/windows.gypi8
-rw-r--r--src/core/config/windows.pri2
-rw-r--r--src/core/qtwebengine_extras.gypi4
3 files changed, 9 insertions, 5 deletions
diff --git a/src/core/config/windows.gypi b/src/core/config/windows.gypi
new file mode 100644
index 000000000..0b9842c53
--- /dev/null
+++ b/src/core/config/windows.gypi
@@ -0,0 +1,8 @@
+{
+ 'variables': {
+ 'win_use_allocator_shim': 0,
+ 'win_release_RuntimeLibrary': 2,
+ 'win_debug_RuntimeLibrary': 3,
+ 'chrome_multiple_dll': 0,
+ },
+}
diff --git a/src/core/config/windows.pri b/src/core/config/windows.pri
index cd10bf07d..bb82eb783 100644
--- a/src/core/config/windows.pri
+++ b/src/core/config/windows.pri
@@ -1,4 +1,4 @@
-GYP_ARGS += "-D qt_os=\"win32\""
+GYP_ARGS += "-D qt_os=\"win32\" -I config/windows.gypi"
GYP_CONFIG += \
disable_nacl=1 \
diff --git a/src/core/qtwebengine_extras.gypi b/src/core/qtwebengine_extras.gypi
index 8cd2ff913..fe035a0b1 100644
--- a/src/core/qtwebengine_extras.gypi
+++ b/src/core/qtwebengine_extras.gypi
@@ -2,10 +2,6 @@
'variables': {
'werror%': '',
'qt_os%': '',
- 'win_use_allocator_shim': 0,
- 'win_release_RuntimeLibrary': 2,
- 'win_debug_RuntimeLibrary': 3,
- 'chrome_multiple_dll': 0,
},
'target_defaults': {
# patterns used to exclude chromium files from the build when we have a drop-in replacement