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

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

Issue 702603004: Renamed DISABLE_BASIC_PRINTING and ENABLE_FULL_PRINTING. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Wed Nov 5 02:31:54 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
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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 (printing_mode != 0) {
163 grit_defines += [ "-D", "enable_printing" ] 163 grit_defines += [ "-D", "enable_printing" ]
164 if (printing_mode == 1) { 164 if (printing_mode == 1) {
165 grit_defines += [ "-D", "enable_full_printing" ] 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) {
175 grit_defines += [ "-D", "enable_settings_app" ] 175 grit_defines += [ "-D", "enable_settings_app" ]
(...skipping 157 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
« build/common.gypi ('K') | « build/config/BUILD.gn ('k') | chrome/app/chrome_dll.rc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698