| 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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |