From cbc1cd295bc85219ad89326457cd7f5cf003d41c Mon Sep 17 00:00:00 2001 From: brettw Date: Wed, 25 Nov 2015 13:52:41 -0800 Subject: 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/1458653002/ TBR=mark@chromium.org Review URL: https://codereview.chromium.org/1475513006 Cr-Commit-Position: refs/heads/master@{#361741} --- chrome/chrome_android.gypi | 1 + 1 file changed, 1 insertion(+) (limited to 'chrome/chrome_android.gypi') diff --git a/chrome/chrome_android.gypi b/chrome/chrome_android.gypi index 9c8b394..e84068c 100644 --- a/chrome/chrome_android.gypi +++ b/chrome/chrome_android.gypi @@ -14,6 +14,7 @@ 'chrome.gyp:browser', 'chrome.gyp:browser_ui', 'chrome.gyp:child', + 'chrome.gyp:chrome_common_features', 'chrome.gyp:plugin', 'chrome.gyp:renderer', 'chrome.gyp:utility', -- cgit v1.1