| 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 # Defines a static library corresponding to the output of schema compiler tools | 5 # Defines a static library corresponding to the output of schema compiler tools |
| 6 # over a set of extensions API schemas (IDL or JSON format.) The library target | 6 # over a set of extensions API schemas (IDL or JSON format.) The library target |
| 7 # has implicit hard dependencies on all schema files listed by the invoker and | 7 # has implicit hard dependencies on all schema files listed by the invoker and |
| 8 # is itself a hard dependency. | 8 # is itself a hard dependency. |
| 9 # | 9 # |
| 10 # Invocations of this template may use the following variables: | 10 # Invocations of this template may use the following variables: |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 } | 190 } |
| 191 | 191 |
| 192 if (bundle_registration) { | 192 if (bundle_registration) { |
| 193 sources += get_target_outputs(":$bundle_generator_registration_name") | 193 sources += get_target_outputs(":$bundle_generator_registration_name") |
| 194 deps += [ ":$bundle_generator_registration_name" ] | 194 deps += [ ":$bundle_generator_registration_name" ] |
| 195 } | 195 } |
| 196 | 196 |
| 197 if (defined(invoker.deps)) { | 197 if (defined(invoker.deps)) { |
| 198 deps += invoker.deps | 198 deps += invoker.deps |
| 199 } | 199 } |
| 200 direct_dependent_configs = [ ":$generated_config_name" ] | 200 public_configs = [ ":$generated_config_name" ] |
| 201 | 201 |
| 202 if (defined(invoker.visibility)) { | 202 if (defined(invoker.visibility)) { |
| 203 visibility = invoker.visibility | 203 visibility = invoker.visibility |
| 204 } | 204 } |
| 205 if (defined(invoker.output_name)) { | 205 if (defined(invoker.output_name)) { |
| 206 output_name = invoker.output_name | 206 output_name = invoker.output_name |
| 207 } | 207 } |
| 208 } | 208 } |
| 209 } | 209 } |
| OLD | NEW |