summaryrefslogtreecommitdiffstats
path: root/build/secondary/tools
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-22 21:49:52 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-22 21:49:52 +0000
commitb46e7e96b7ab0d29e5590dcc8382d5429e3ec5aa (patch)
tree41e6b5b3acf873cf1cb99536fe1f03eea023b2f1 /build/secondary/tools
parentae15b40670ca70bd6532829253f00be6ec049f3c (diff)
downloadchromium_src-b46e7e96b7ab0d29e5590dcc8382d5429e3ec5aa.zip
chromium_src-b46e7e96b7ab0d29e5590dcc8382d5429e3ec5aa.tar.gz
chromium_src-b46e7e96b7ab0d29e5590dcc8382d5429e3ec5aa.tar.bz2
GN chrome/common build, rename enable_printing.
This adds the missing conditions to the chrome/common GN build file (previously only the basic files were there). Some refactoring of the GYP file to make this possible. Renames the enable_printing flag to printing_mode since this is an integer tri-state. Minor improvements to chrome/renderer TBR=jamesr@chromium.org Original review=https://codereview.chromium.org/400243003/ BUG= Review URL: https://codereview.chromium.org/409683003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284783 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/secondary/tools')
-rw-r--r--build/secondary/tools/grit/grit_rule.gni4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/secondary/tools/grit/grit_rule.gni b/build/secondary/tools/grit/grit_rule.gni
index ef3e3d4..178fb64 100644
--- a/build/secondary/tools/grit/grit_rule.gni
+++ b/build/secondary/tools/grit/grit_rule.gni
@@ -138,9 +138,9 @@ if (enable_extensions) {
if (enable_plugins) {
grit_defines += [ "-D", "enable_plugins" ]
}
-if (enable_printing != 0) {
+if (printing_mode != 0) {
grit_defines += [ "-D", "enable_printing" ]
- if (enable_printing == 1) {
+ if (printing_mode == 1) {
grit_defines += [ "-D", "enable_full_printing" ]
}
}