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

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

Issue 409543008: Revert 284508 "GN chrome/common build, rename enable_printing." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: 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 | « trunk/src/build/config/features.gni ('k') | trunk/src/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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 "-w", rebase_path("//build/ios/grit_whitelist.txt", root_build_dir), 114 "-w", rebase_path("//build/ios/grit_whitelist.txt", root_build_dir),
115 ] 115 ]
116 } 116 }
117 117
118 if (enable_extensions) { 118 if (enable_extensions) {
119 grit_defines += [ "-D", "enable_extensions" ] 119 grit_defines += [ "-D", "enable_extensions" ]
120 } 120 }
121 if (enable_plugins) { 121 if (enable_plugins) {
122 grit_defines += [ "-D", "enable_plugins" ] 122 grit_defines += [ "-D", "enable_plugins" ]
123 } 123 }
124 if (printing_mode != 0) { 124 if (enable_printing != 0) {
125 grit_defines += [ "-D", "enable_printing" ] 125 grit_defines += [ "-D", "enable_printing" ]
126 if (printing_mode == 1) { 126 if (enable_printing == 1) {
127 grit_defines += [ "-D", "enable_full_printing" ] 127 grit_defines += [ "-D", "enable_full_printing" ]
128 } 128 }
129 } 129 }
130 if (enable_themes) { 130 if (enable_themes) {
131 grit_defines += [ "-D", "enable_themes" ] 131 grit_defines += [ "-D", "enable_themes" ]
132 } 132 }
133 if (enable_app_list) { 133 if (enable_app_list) {
134 grit_defines += [ "-D", "enable_app_list" ] 134 grit_defines += [ "-D", "enable_app_list" ]
135 } 135 }
136 if (enable_settings_app) { 136 if (enable_settings_app) {
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 direct_dependent_configs = [ ":$grit_config" ] 262 direct_dependent_configs = [ ":$grit_config" ]
263 263
264 if (defined(invoker.visibility)) { 264 if (defined(invoker.visibility)) {
265 visibility = invoker.visibility 265 visibility = invoker.visibility
266 } 266 }
267 if (defined(invoker.output_name)) { 267 if (defined(invoker.output_name)) {
268 output_name = invoker.output_name 268 output_name = invoker.output_name
269 } 269 }
270 } 270 }
271 } 271 }
OLDNEW
« no previous file with comments | « trunk/src/build/config/features.gni ('k') | trunk/src/chrome/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698