| 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 # Converts a .json file to a C++ struct. | 5 # Converts a .json file to a C++ struct. |
| 6 # | 6 # |
| 7 # Variables: | 7 # Variables: |
| 8 # | 8 # |
| 9 # source (required) | 9 # source (required) |
| 10 # Single file name of source .json file. | 10 # Single file name of source .json file. |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 ] | 50 ] |
| 51 } | 51 } |
| 52 | 52 |
| 53 source_set(source_set_name) { | 53 source_set(source_set_name) { |
| 54 if (defined(invoker.visibility)) { | 54 if (defined(invoker.visibility)) { |
| 55 visibility = invoker.visibility | 55 visibility = invoker.visibility |
| 56 } | 56 } |
| 57 | 57 |
| 58 sources = get_target_outputs(":$action_name") | 58 sources = get_target_outputs(":$action_name") |
| 59 | 59 |
| 60 deps = [ ":$action_name" ] | 60 deps = [ |
| 61 ":$action_name", |
| 62 ] |
| 61 } | 63 } |
| 62 } | 64 } |
| OLD | NEW |