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 # This template makes a stub for a Linux system library that dynamically loads | 5 # This template makes a stub for a Linux system library that dynamically loads |
6 # it at runtime. | 6 # it at runtime. |
7 | 7 |
8 # name: Name to use for the value of the --name arg. | 8 # name: Name to use for the value of the --name arg. |
9 # output_h/output_cc: Names for the generated header/cc file with no dir. | 9 # output_h/output_cc: Names for the generated header/cc file with no dir. |
10 # header: header file to process. Example: "<foo/bar.h>" | 10 # header: header file to process. Example: "<foo/bar.h>" |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 } | 56 } |
57 | 57 |
58 source_set(target_name) { | 58 source_set(target_name) { |
59 if (defined(invoker.config)) { | 59 if (defined(invoker.config)) { |
60 public_configs = [ invoker.config ] | 60 public_configs = [ invoker.config ] |
61 } | 61 } |
62 sources = [ | 62 sources = [ |
63 output_cc, | 63 output_cc, |
64 output_h, | 64 output_h, |
65 ] | 65 ] |
66 deps = [ | 66 public_deps = [ |
67 ":${target_name}_loader", | 67 ":${target_name}_loader", |
68 ] | 68 ] |
69 } | 69 } |
70 } | 70 } |
OLD | NEW |