OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 # Runs the resources map generation script other the given header files to | 5 # Runs the resources map generation script other the given header files to |
6 # produce an output file and a source_set to build it. | 6 # produce an output file and a source_set to build it. |
7 # | 7 # |
8 # Parameters: | 8 # Parameters: |
9 # inputs: | 9 # inputs: |
10 # List of file name to read. Each file should be an header file generated | 10 # List of file name to read. Each file should be an header file generated |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 "-N" + invoker.namespace, | 50 "-N" + invoker.namespace, |
51 "-o" + rebase_path(root_gen_dir, root_build_dir), | 51 "-o" + rebase_path(root_gen_dir, root_build_dir), |
52 "-H" + rebase_path(header_filename, root_gen_dir), | 52 "-H" + rebase_path(header_filename, root_gen_dir), |
53 "-S" + rebase_path(source_filename, root_gen_dir), | 53 "-S" + rebase_path(source_filename, root_gen_dir), |
54 ] + rebase_path(inputs, root_build_dir) | 54 ] + rebase_path(inputs, root_build_dir) |
55 } | 55 } |
56 | 56 |
57 source_set(target_name) { | 57 source_set(target_name) { |
58 sources = get_target_outputs(":$gen_action_target_name") | 58 sources = get_target_outputs(":$gen_action_target_name") |
59 deps = [ | 59 deps = [ |
| 60 ":$gen_action_target_name", |
60 "//components/variations/service", | 61 "//components/variations/service", |
61 ":$gen_action_target_name", | |
62 ] | 62 ] |
63 | 63 |
64 forward_variables_from(invoker, [ "visibility" ]) | 64 forward_variables_from(invoker, [ "visibility" ]) |
65 } | 65 } |
66 } | 66 } |
OLD | NEW |