Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(558)

Side by Side Diff: build/secondary/tools/grit/grit_rule.gni

Issue 409683003: GN chrome/common build, rename enable_printing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fir Android Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « build/config/features.gni ('k') | chrome/browser/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # Instantiate grit. This will produce a script target to run grit, and a 5 # Instantiate grit. This will produce a script target to run grit, and a
6 # static library that compiles the .cc files. 6 # static library that compiles the .cc files.
7 # 7 #
8 # Parameters 8 # Parameters
9 # 9 #
10 # source 10 # source
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 "-w", rebase_path("//build/ios/grit_whitelist.txt", root_build_dir), 131 "-w", rebase_path("//build/ios/grit_whitelist.txt", root_build_dir),
132 ] 132 ]
133 } 133 }
134 134
135 if (enable_extensions) { 135 if (enable_extensions) {
136 grit_defines += [ "-D", "enable_extensions" ] 136 grit_defines += [ "-D", "enable_extensions" ]
137 } 137 }
138 if (enable_plugins) { 138 if (enable_plugins) {
139 grit_defines += [ "-D", "enable_plugins" ] 139 grit_defines += [ "-D", "enable_plugins" ]
140 } 140 }
141 if (enable_printing != 0) { 141 if (printing_mode != 0) {
142 grit_defines += [ "-D", "enable_printing" ] 142 grit_defines += [ "-D", "enable_printing" ]
143 if (enable_printing == 1) { 143 if (printing_mode == 1) {
144 grit_defines += [ "-D", "enable_full_printing" ] 144 grit_defines += [ "-D", "enable_full_printing" ]
145 } 145 }
146 } 146 }
147 if (enable_themes) { 147 if (enable_themes) {
148 grit_defines += [ "-D", "enable_themes" ] 148 grit_defines += [ "-D", "enable_themes" ]
149 } 149 }
150 if (enable_app_list) { 150 if (enable_app_list) {
151 grit_defines += [ "-D", "enable_app_list" ] 151 grit_defines += [ "-D", "enable_app_list" ]
152 } 152 }
153 if (enable_settings_app) { 153 if (enable_settings_app) {
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 direct_dependent_configs = [ ":$grit_config" ] 292 direct_dependent_configs = [ ":$grit_config" ]
293 293
294 if (defined(invoker.visibility)) { 294 if (defined(invoker.visibility)) {
295 visibility = invoker.visibility 295 visibility = invoker.visibility
296 } 296 }
297 if (defined(invoker.output_name)) { 297 if (defined(invoker.output_name)) {
298 output_name = invoker.output_name 298 output_name = invoker.output_name
299 } 299 }
300 } 300 }
301 } 301 }
OLDNEW
« no previous file with comments | « build/config/features.gni ('k') | chrome/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698