OLD | NEW |
1 # Copyright 2017 The Chromium Authors. All rights reserved. | 1 # Copyright 2017 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 # Creates an action that aggregates vector icon files (.icon) into a C++ file. | 5 # Creates an action that aggregates vector icon files (.icon) into a C++ file. |
6 # In addition to running the action, the outputs should be added to another | 6 # In addition to running the action, the outputs should be added to another |
7 # target's sources for compilation. | 7 # target's sources for compilation. |
8 # | 8 # |
9 # Parameters | 9 # Parameters |
10 # | 10 # |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 | 44 |
45 outputs = [ | 45 outputs = [ |
46 output_cc, | 46 output_cc, |
47 output_h, | 47 output_h, |
48 ] | 48 ] |
49 | 49 |
50 response_file_contents = | 50 response_file_contents = |
51 rebase_path(invoker.icons, root_build_dir, invoker.icon_directory) | 51 rebase_path(invoker.icons, root_build_dir, invoker.icon_directory) |
52 | 52 |
53 args = [ | 53 args = [ |
54 "--working_directory=" + rebase_path(invoker.icon_directory), | 54 "--working_directory=" + |
| 55 rebase_path(invoker.icon_directory, root_build_dir), |
55 "--file_list={{response_file_name}}", | 56 "--file_list={{response_file_name}}", |
56 "--output_cc=" + rebase_path(output_cc, root_build_dir), | 57 "--output_cc=" + rebase_path(output_cc, root_build_dir), |
57 "--output_h=" + rebase_path(output_h, root_build_dir), | 58 "--output_h=" + rebase_path(output_h, root_build_dir), |
58 ] | 59 ] |
59 } | 60 } |
60 } | 61 } |
OLD | NEW |