summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@theqtcompany.com>2015-09-24 17:04:21 +0000
committerThe Qt Project <gerrit-noreply@qt-project.org>2015-09-24 18:17:10 +0000
commited07eceac0ea24a816b0a6238c7339fb01ffaab1 (patch)
tree15e1142de13267a48f9bfd3e80e93afaadf78acc /tools
parente93d70402c3bdad383d330a7a669cf43d9548a3d (diff)
parentd8a590676b6c7d72406bd2f9b8185f38282fdfa7 (diff)
Merge "Merge remote-tracking branch 'origin/5.5' into 5.6" into refs/staging/5.6
Diffstat (limited to 'tools')
-rwxr-xr-xtools/buildscripts/gyp_qtwebengine10
-rw-r--r--tools/qmake/mkspecs/features/functions.prf2
2 files changed, 9 insertions, 3 deletions
diff --git a/tools/buildscripts/gyp_qtwebengine b/tools/buildscripts/gyp_qtwebengine
index 5003e4b5b..ce2a43328 100755
--- a/tools/buildscripts/gyp_qtwebengine
+++ b/tools/buildscripts/gyp_qtwebengine
@@ -57,13 +57,19 @@ def additional_include_files(args=[]):
# Always include common.gypi.
AddInclude(os.path.join(script_dir, 'common.gypi'))
- # Include extra gypi files for additional build tweaks such as file exclusions,
- # common stuff we generate and extract from qmake and platform specific drop-in files.
+ # Include extra gypi files for additional build tweaks such as file exclusions
+ # and platform specific drop-in files.
build_extras = glob.glob(os.path.join(qtwebengine_root, 'src', 'core', '*_extras.gypi'))
for build in build_extras:
print "Using extra options found in " + build
AddInclude(build)
+ # Include extra gypi files for common stuff we generate and extract from qmake.
+ build_extras = glob.glob(os.path.join(output_dir, '*_extras.gypi'))
+ for build in build_extras:
+ print "Using extra options found in " + build
+ AddInclude(build)
+
# Optionally add supplemental .gypi files if present.
supplements = glob.glob(os.path.join(chrome_src, '*', 'supplement.gypi'))
for supplement in supplements:
diff --git a/tools/qmake/mkspecs/features/functions.prf b/tools/qmake/mkspecs/features/functions.prf
index 0fda473c9..c0e1f90bb 100644
--- a/tools/qmake/mkspecs/features/functions.prf
+++ b/tools/qmake/mkspecs/features/functions.prf
@@ -14,7 +14,7 @@ defineTest(isPlatformSupported) {
linux-g++*:!isGCCVersionSupported(): return(false)
!isPythonVersionSupported(): return(false)
- linux-g++*|linux-clang|win32-msvc2013|macx-clang: return(true)
+ linux-g++*|linux-clang|win32-msvc2013|macx-clang*: return(true)
boot2qt: return(true)
skipBuild("Qt WebEngine can currently only be built for Linux (GCC/clang), Windows (MSVC 2013), OS X (XCode 5.1+) or Qt for Device Creation.")