From c2587b34cb62f4af027bcd8025da9c0f1599dd30 Mon Sep 17 00:00:00 2001 From: Andras Becsi Date: Wed, 23 Apr 2014 17:15:01 +0200 Subject: Shrink the debug library size even more Pass remove_webcore_debug_symbols=1 to gyp to reduce the library size. In case the symbols are needed CONFIG+=webcore_debug can be passed to qmake. Change-Id: I383aa3c60bfe6a0dc5344d37334b25810087d4e9 Reviewed-by: Zeno Albisser --- src/core/gyp_run.pro | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/gyp_run.pro b/src/core/gyp_run.pro index 43801c8ae..ff8cf95e6 100644 --- a/src/core/gyp_run.pro +++ b/src/core/gyp_run.pro @@ -17,7 +17,8 @@ cross_compile { win32: include(config/windows.pri) } -GYP_CONFIG +="disable_glibcxx_debug=1" +GYP_CONFIG += disable_glibcxx_debug=1 +!webcore_debug: GYP_CONFIG += remove_webcore_debug_symbols=1 # Append additional platform options defined in GYP_CONFIG for (config, GYP_CONFIG): GYP_ARGS += "-D $$config" -- cgit v1.2.3