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 (required) | 10 # source (required) |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 ] | 111 ] |
112 } | 112 } |
113 | 113 |
114 if (is_desktop_linux) { | 114 if (is_desktop_linux) { |
115 grit_defines += [ | 115 grit_defines += [ |
116 "-D", | 116 "-D", |
117 "desktop_linux", | 117 "desktop_linux", |
118 ] | 118 ] |
119 } | 119 } |
120 | 120 |
121 if (use_aura) { | |
122 grit_defines += [ | |
123 "-D", | |
124 "use_aura", | |
125 ] | |
126 } | |
127 | |
128 if (use_ash) { | |
129 grit_defines += [ | |
130 "-D", | |
131 "use_ash", | |
132 ] | |
133 } | |
134 | |
135 if (use_nss_certs) { | 121 if (use_nss_certs) { |
136 grit_defines += [ | 122 grit_defines += [ |
137 "-D", | 123 "-D", |
138 "use_nss", | 124 "use_nss", |
139 ] | 125 ] |
140 } | 126 } |
141 | 127 |
142 if (enable_image_loader_extension) { | 128 if (enable_image_loader_extension) { |
143 grit_defines += [ | 129 grit_defines += [ |
144 "-D", | 130 "-D", |
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
418 if (defined(invoker.public_configs)) { | 404 if (defined(invoker.public_configs)) { |
419 public_configs += invoker.public_configs | 405 public_configs += invoker.public_configs |
420 } | 406 } |
421 | 407 |
422 if (defined(invoker.visibility)) { | 408 if (defined(invoker.visibility)) { |
423 visibility = invoker.visibility | 409 visibility = invoker.visibility |
424 } | 410 } |
425 output_name = grit_output_name | 411 output_name = grit_output_name |
426 } | 412 } |
427 } | 413 } |
OLD | NEW |