summaryrefslogtreecommitdiffstats
path: root/chrome/chrome_grit_action.gypi
diff options
context:
space:
mode:
authorthestig <thestig@chromium.org>2016-01-04 19:26:19 -0800
committerCommit bot <commit-bot@chromium.org>2016-01-05 03:27:08 +0000
commitb971058973dbb143b92de0d1c4104e6d8cb875cf (patch)
tree404d1945ae582246ee676fe12e63736009e05c97 /chrome/chrome_grit_action.gypi
parent3f53232116444520bec48390d8812f18aa08606f (diff)
downloadchromium_src-b971058973dbb143b92de0d1c4104e6d8cb875cf.zip
chromium_src-b971058973dbb143b92de0d1c4104e6d8cb875cf.tar.gz
chromium_src-b971058973dbb143b92de0d1c4104e6d8cb875cf.tar.bz2
Add a wrapper for grit_action.gypi for chrome specific variables.
This makes it easier to add custom grit_additional_defines variable values in addition to the chrome-default values. Review URL: https://codereview.chromium.org/1555803002 Cr-Commit-Position: refs/heads/master@{#367471}
Diffstat (limited to 'chrome/chrome_grit_action.gypi')
-rw-r--r--chrome/chrome_grit_action.gypi14
1 files changed, 14 insertions, 0 deletions
diff --git a/chrome/chrome_grit_action.gypi b/chrome/chrome_grit_action.gypi
new file mode 100644
index 0000000..9169aa0
--- /dev/null
+++ b/chrome/chrome_grit_action.gypi
@@ -0,0 +1,14 @@
+# Copyright 2015 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+{
+ 'variables': {
+ # Wrapper around build/grit_action.gypi that applies Chrome-specific grit
+ # settings. Actions that include this gypi file at their local scopes can
+ # define variables with the same names as the ones below and they will be
+ # merged.
+ 'grit_additional_defines': [ '<@(chrome_grit_defines)' ],
+ },
+ 'includes': [ '../build/grit_action.gypi', 'chrome_features.gypi' ],
+}