Commit 09a34a44 authored by Allan Sandfeld Jensen's avatar Allan Sandfeld Jensen
Browse files

Also support reduce_binary_size on Windows


GYP uses a different flag to control optimization flags on windows.

Change-Id: I3db8c738ccc40008be6971c9e38de26932cad030
Reviewed-by: default avatarKai Koehne <kai.koehne@qt.io>
Showing with 1 addition and 1 deletion
...@@ -118,7 +118,7 @@ contains(WEBENGINE_CONFIG, use_appstore_compliant_code): GYP_CONFIG += appstore_ ...@@ -118,7 +118,7 @@ contains(WEBENGINE_CONFIG, use_appstore_compliant_code): GYP_CONFIG += appstore_
# Compiling with -Os makes a huge difference in binary size, and the unwind tables is another big part, # 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. # but the latter are necessary for useful debug binaries.
contains(WEBENGINE_CONFIG, reduce_binary_size): GYP_CONFIG += release_optimize=s debug_optimize=s release_unwind_tables=0 contains(WEBENGINE_CONFIG, reduce_binary_size): GYP_CONFIG += release_optimize=s debug_optimize=s win_release_Optimization=1 release_unwind_tables=0
!contains(WEBENGINE_CONFIG, use_spellchecker): { !contains(WEBENGINE_CONFIG, use_spellchecker): {
GYP_CONFIG += enable_spellcheck=0 GYP_CONFIG += enable_spellcheck=0
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment