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 # Generates native and HTML/JS supporting code for Web UI element from element's | 5 # Generates native and HTML/JS supporting code for Web UI element from element's |
6 # declaration JSON file. | 6 # declaration JSON file. |
7 # | 7 # |
8 # Parameters: | 8 # Parameters: |
9 # | 9 # |
10 # source (required) | 10 # source (required) |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 ] | 64 ] |
65 inputs += | 65 inputs += |
66 exec_script(helper_path, helper_args + [ "imports" ], "list lines") | 66 exec_script(helper_path, helper_args + [ "imports" ], "list lines") |
67 outputs = | 67 outputs = |
68 exec_script(helper_path, helper_args + [ "list_outputs" ], "list lines") | 68 exec_script(helper_path, helper_args + [ "list_outputs" ], "list lines") |
69 args = [ | 69 args = [ |
70 rebase_path(declaration_path, root_build_dir), | 70 rebase_path(declaration_path, root_build_dir), |
71 "--root", | 71 "--root", |
72 src_root, | 72 src_root, |
73 "--destination", | 73 "--destination", |
74 out_dir, | 74 rebase_path(out_dir, root_build_dir), |
75 ] | 75 ] |
76 } | 76 } |
77 | 77 |
78 config(config_name) { | 78 config(config_name) { |
79 include_dirs = [ out_dir ] | 79 include_dirs = [ out_dir ] |
80 } | 80 } |
81 | 81 |
82 source_set(source_set_name) { | 82 source_set(source_set_name) { |
83 sources = get_target_outputs(":$action_name") | 83 sources = get_target_outputs(":$action_name") |
84 deps = [ | 84 deps = [ |
85 "//base", | 85 "//base", |
86 "//components/strings", | 86 "//components/strings", |
87 "//components/wug", | 87 "//components/wug", |
| 88 "//components/login", |
88 "//skia", | 89 "//skia", |
89 ] | 90 ] |
90 deps += exec_script(helper_path, | 91 deps += exec_script(helper_path, |
91 helper_args + [ "import_dependencies" ], | 92 helper_args + [ "import_dependencies" ], |
92 "list lines") | 93 "list lines") |
93 public_configs = [ ":" + config_name ] | 94 all_dependent_configs = [ ":" + config_name ] |
94 } | 95 } |
95 } | 96 } |
OLD | NEW |