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

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

Issue 702023002: Renamed enable_printing and printing_mode in *.gyp* and .*gn* files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Wed Nov 5 13:48:51 PST 2014 Created 6 years, 1 month 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
« no previous file with comments | « build/config/features.gni ('k') | chrome/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 (required) 10 # source (required)
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 "-w", rebase_path("//build/ios/grit_whitelist.txt", root_build_dir), 152 "-w", rebase_path("//build/ios/grit_whitelist.txt", root_build_dir),
153 ] 153 ]
154 } 154 }
155 155
156 if (enable_extensions) { 156 if (enable_extensions) {
157 grit_defines += [ "-D", "enable_extensions" ] 157 grit_defines += [ "-D", "enable_extensions" ]
158 } 158 }
159 if (enable_plugins) { 159 if (enable_plugins) {
160 grit_defines += [ "-D", "enable_plugins" ] 160 grit_defines += [ "-D", "enable_plugins" ]
161 } 161 }
162 if (printing_mode != 0) { 162 if (enable_basic_printing || enable_print_preview) {
163 grit_defines += [ "-D", "enable_printing" ] 163 grit_defines += [ "-D", "enable_printing" ]
164 if (printing_mode == 1) { 164 if (enable_print_preview) {
165 grit_defines += [ "-D", "enable_print_preview" ] 165 grit_defines += [ "-D", "enable_print_preview" ]
166 } 166 }
167 } 167 }
168 if (enable_themes) { 168 if (enable_themes) {
169 grit_defines += [ "-D", "enable_themes" ] 169 grit_defines += [ "-D", "enable_themes" ]
170 } 170 }
171 if (enable_app_list) { 171 if (enable_app_list) {
172 grit_defines += [ "-D", "enable_app_list" ] 172 grit_defines += [ "-D", "enable_app_list" ]
173 } 173 }
174 if (enable_settings_app) { 174 if (enable_settings_app) {
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 if (defined(invoker.public_configs)) { 333 if (defined(invoker.public_configs)) {
334 public_configs += invoker.public_configs 334 public_configs += invoker.public_configs
335 } 335 }
336 336
337 if (defined(invoker.visibility)) { 337 if (defined(invoker.visibility)) {
338 visibility = invoker.visibility 338 visibility = invoker.visibility
339 } 339 }
340 output_name = grit_output_name 340 output_name = grit_output_name
341 } 341 }
342 } 342 }
OLDNEW
« no previous file with comments | « build/config/features.gni ('k') | chrome/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698