OLD | NEW |
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 Loading... |
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 Loading... |
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 } |
OLD | NEW |