summaryrefslogtreecommitdiffstats
path: root/src/core/gyp_run.pro
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@theqtcompany.com>2016-03-01 16:03:45 +0100
committerAlexandru Croitor <alexandru.croitor@theqtcompany.com>2016-03-22 10:00:30 +0000
commitd361d1375d066feca0ed3706aaff421b83627372 (patch)
tree4e16e2d7d2be22687ff6a04de7043234b2677b15 /src/core/gyp_run.pro
parent4d6b2dc88bda15ade9d04e54d80b7e4693d59832 (diff)
Add option to allow compiling WebEngine as Mac App Store compliant.
When the option is enabled, a GYP variable is set that will result in removing private API calls in Chromium. Task-number: QTBUG-51072 Change-Id: If8835ce74bf5db94c17b68ebeb396cae9cc10553 Reviewed-by: Michael BrĂ¼ning <michael.bruning@theqtcompany.com>
Diffstat (limited to 'src/core/gyp_run.pro')
-rw-r--r--src/core/gyp_run.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/gyp_run.pro b/src/core/gyp_run.pro
index 02d1e41d6..51fe9ad1d 100644
--- a/src/core/gyp_run.pro
+++ b/src/core/gyp_run.pro
@@ -101,6 +101,7 @@ contains(QT_ARCH, "arm64"): GYP_CONFIG += target_arch=arm64
contains(QT_ARCH, "mips64"): GYP_CONFIG += target_arch=mips64el
contains(WEBENGINE_CONFIG, use_proprietary_codecs): GYP_CONFIG += proprietary_codecs=1 ffmpeg_branding=Chrome
+contains(WEBENGINE_CONFIG, use_appstore_compliant_code): GYP_CONFIG += appstore_compliant_code=1
# Compiling with -Os makes a huge difference in binary size, and the unwind tables is another big part,
# but the latter are necessary for useful debug binaries.