| 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 args += [ | 55 args += [ |
| 56 "-o" + rebase_path(root_gen_dir, root_build_dir), | 56 "-o" + rebase_path(root_gen_dir, root_build_dir), |
| 57 "-H" + rebase_path(header_filename, root_gen_dir), | 57 "-H" + rebase_path(header_filename, root_gen_dir), |
| 58 "-S" + rebase_path(source_filename, root_gen_dir), | 58 "-S" + rebase_path(source_filename, root_gen_dir), |
| 59 ] + rebase_path(inputs, root_build_dir) | 59 ] + rebase_path(inputs, root_build_dir) |
| 60 } | 60 } |
| 61 | 61 |
| 62 source_set(target_name) { | 62 source_set(target_name) { |
| 63 sources = get_target_outputs(":$gen_action_target_name") | 63 sources = get_target_outputs(":$gen_action_target_name") |
| 64 deps = [ | 64 deps = [ |
| 65 ":$gen_action_target_name", |
| 65 "//components/variations/service", | 66 "//components/variations/service", |
| 66 ":$gen_action_target_name", | |
| 67 ] | 67 ] |
| 68 | 68 |
| 69 forward_variables_from(invoker, [ "visibility" ]) | 69 forward_variables_from(invoker, [ "visibility" ]) |
| 70 } | 70 } |
| 71 } | 71 } |
| OLD | NEW |