diff options
author | robertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-11 00:01:39 +0000 |
---|---|---|
committer | robertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-11 00:01:39 +0000 |
commit | bdd9465b02b1a18e6c2e989d7de3018967d7d51d (patch) | |
tree | c81b2c152b50df797f056b153f4750f000a99d6d /build | |
parent | 756cad2ecb46fe95ec95207d8e30e20c68e12e8a (diff) | |
download | chromium_src-bdd9465b02b1a18e6c2e989d7de3018967d7d51d.zip chromium_src-bdd9465b02b1a18e6c2e989d7de3018967d7d51d.tar.gz chromium_src-bdd9465b02b1a18e6c2e989d7de3018967d7d51d.tar.bz2 |
Adding the option to drop in a new BrowserDistribution instance for experimentation.
Review URL: http://codereview.chromium.org/202049
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25950 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r-- | build/common.gypi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi index 3d6f1ea..11800f4 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -72,6 +72,9 @@ # The Google Update appid. 'google_update_appid%': '{8A69D345-D564-463c-AFF1-A69D9E530F96}', + + # Extra defines to add to built targets + 'extra_custom_defines%': [], # TODO(bradnelson): eliminate this when possible. # To allow local gyp files to prevent release.vsprops from being included. @@ -169,6 +172,9 @@ 'mac_release_optimization%': '3', # Use -O3 unless overridden 'mac_debug_optimization%': '0' # Use -O0 unless overridden }, + 'defines': [ + '<@(extra_custom_defines)', + ], 'conditions': [ ['branding=="Chrome"', { 'defines': ['GOOGLE_CHROME_BUILD'], |