diff options
author | bradnelson@google.com <bradnelson@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-15 06:35:13 +0000 |
---|---|---|
committer | bradnelson@google.com <bradnelson@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-15 06:35:13 +0000 |
commit | 1f888932b3a6218cb94d73f624f1e2ba3c22f78f (patch) | |
tree | d43293658201e124d601a837d245625bbb94f04f /build/common.gypi | |
parent | d6abf3560a74d1bc3c9511794b4cb64e48841ec8 (diff) | |
download | chromium_src-1f888932b3a6218cb94d73f624f1e2ba3c22f78f.zip chromium_src-1f888932b3a6218cb94d73f624f1e2ba3c22f78f.tar.gz chromium_src-1f888932b3a6218cb94d73f624f1e2ba3c22f78f.tar.bz2 |
Disabling precompiled headers for official builds with msvs2010
Selectively disabling precompiled headers for release builds with msvs2010
Precompiled headers seem to interact badly with auto-sharding using the
msvs_shard option.
BUG=http://code.google.com/p/chromium/issues/detail?id=127875
TEST=builds on trybots.
R=kerz@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10392091
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137083 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/common.gypi')
-rw-r--r-- | build/common.gypi | 36 |
1 files changed, 20 insertions, 16 deletions
diff --git a/build/common.gypi b/build/common.gypi index 3f3d972..821dada 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -52,6 +52,16 @@ # Allows us to *temporarily* disable certain things for # staging. Only set to 1 in a GYP_DEFINES. 'android_upstream_bringup%': 0, + + # Override buildtype to select the desired build flavor. + # Dev - everyday build for development/testing + # Official - release build (generally implies additional processing) + # TODO(mmoss) Once 'buildtype' is fully supported (e.g. Windows gyp + # conversion is done), some of the things which are now controlled by + # 'branding', such as symbol generation, will need to be refactored + # based on 'buildtype' (i.e. we don't care about saving symbols for + # non-Official # builds). + 'buildtype%': 'Dev', }, # Copy conditionally-set variables out one scope. 'chromeos%': '<(chromeos)', @@ -64,6 +74,7 @@ 'enable_touch_ui%': '<(enable_touch_ui)', 'enable_metro%': '<(enable_metro)', 'android_upstream_bringup%': '<(android_upstream_bringup)', + 'buildtype%': '<(buildtype)', # Compute the architecture that we're building on. 'conditions': [ @@ -126,6 +137,7 @@ 'enable_touch_ui%': '<(enable_touch_ui)', 'enable_metro%': '<(enable_metro)', 'android_upstream_bringup%': '<(android_upstream_bringup)', + 'chromium_win_pch%': '<(chromium_win_pch)', # We used to provide a variable for changing how libraries were built. # This variable remains until we can clean up all the users. @@ -137,15 +149,7 @@ # Override branding to select the desired branding flavor. 'branding%': 'Chromium', - # Override buildtype to select the desired build flavor. - # Dev - everyday build for development/testing - # Official - release build (generally implies additional processing) - # TODO(mmoss) Once 'buildtype' is fully supported (e.g. Windows gyp - # conversion is done), some of the things which are now controlled by - # 'branding', such as symbol generation, will need to be refactored based - # on 'buildtype' (i.e. we don't care about saving symbols for non-Official - # builds). - 'buildtype%': 'Dev', + 'buildtype%': '<(buildtype)', # Default architecture we're building for is the architecture we're # building on. @@ -283,12 +287,6 @@ # Enables support for promo resource service. 'enable_promo_resource_service%': 1, - # XInput2 multitouch support is disabled by default (use_xi2_mt=0). - # Setting to non-zero value enables XI2 MT. When XI2 MT is enabled, - # the input value also defines the required XI2 minor minimum version. - # For example, use_xi2_mt=2 means XI2.2 or above version is required. - 'use_xi2_mt%': 0, - # Use of precompiled headers on Windows. # # This is on by default in VS 2010, but off by default for VS @@ -308,6 +306,12 @@ # for details. 'chromium_win_pch%': 0, + # XInput2 multitouch support is disabled by default (use_xi2_mt=0). + # Setting to non-zero value enables XI2 MT. When XI2 MT is enabled, + # the input value also defines the required XI2 minor minimum version. + # For example, use_xi2_mt=2 means XI2.2 or above version is required. + 'use_xi2_mt%': 0, + # Set this to true when building with Clang. # See http://code.google.com/p/chromium/wiki/Clang for details. 'clang%': 0, @@ -441,7 +445,7 @@ }], # Turn precompiled headers on by default for VS 2010. - ['OS=="win" and MSVS_VERSION=="2010"', { + ['OS=="win" and MSVS_VERSION=="2010" and buildtype!="Official"', { 'chromium_win_pch%': 1 }], |