summaryrefslogtreecommitdiffstats
path: root/chrome/chrome.gyp
diff options
context:
space:
mode:
authorbrettw <brettw@chromium.org>2015-11-26 01:21:25 -0800
committerCommit bot <commit-bot@chromium.org>2015-11-26 09:22:27 +0000
commit06c2ba3165d8b02364bf818d5028a7cb4fe48ac0 (patch)
treed4ec179c6a5f993e36288697879d9ca52c7a45b2 /chrome/chrome.gyp
parentbbe5890bf24f3f198ca7142b84da46f6d35c5886 (diff)
downloadchromium_src-06c2ba3165d8b02364bf818d5028a7cb4fe48ac0.zip
chromium_src-06c2ba3165d8b02364bf818d5028a7cb4fe48ac0.tar.gz
chromium_src-06c2ba3165d8b02364bf818d5028a7cb4fe48ac0.tar.bz2
New build flag system, convert Google Now flag
This generates headers with build flags rather than forcing them all to be global. It includes an accessor wrapper so that references to the flags will fail if the proper header is not included. Converts Google Now to use this and remove the global google now define and grit define. Adds support for grit define values of "true" and "false" for ease of integration with GN (they are mapped to the corresponding Python "True" and "False"). Adds dependencies from the main gyp targets to the new generated feature define target. Since GYP only does hard dependencies one level, this should reduce the chance that somebody adds more of these cases and forces to add a dependency. Reland of https://codereview.chromium.org/1475513006/ Reland of https://codereview.chromium.org/1458653002/ TBR=mark@chromium.org Review URL: https://codereview.chromium.org/1469383005 Cr-Commit-Position: refs/heads/master@{#361854}
Diffstat (limited to 'chrome/chrome.gyp')
-rw-r--r--chrome/chrome.gyp1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp
index cfd46cc..9495002 100644
--- a/chrome/chrome.gyp
+++ b/chrome/chrome.gyp
@@ -104,6 +104,7 @@
'chrome_browser_ui.gypi',
'chrome_common.gypi',
'chrome_installer_util.gypi',
+ 'chrome_features.gypi',
],
'conditions': [
['OS!="ios"', {