summaryrefslogtreecommitdiffstats
path: root/build/common.gypi
diff options
context:
space:
mode:
Diffstat (limited to 'build/common.gypi')
-rw-r--r--build/common.gypi6
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'],