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 action_foreach("sky") { | 5 action_foreach("sky") { |
6 script = "convert_amd_modules_to_sky.py" | 6 script = "convert_amd_modules_to_sky.py" |
7 sources = [ | 7 sources = [ |
8 "../js/bindings.js", | 8 "../js/bindings.js", |
9 "../js/buffer.js", | 9 "../js/buffer.js", |
10 "../js/codec.js", | 10 "../js/codec.js", |
11 "../js/connection.js", | 11 "../js/connection.js", |
12 "../js/connector.js", | 12 "../js/connector.js", |
13 "../js/router.js", | 13 "../js/router.js", |
14 "../js/unicode.js", | 14 "../js/unicode.js", |
15 "../js/validator.js", | 15 "../js/validator.js", |
16 ] | 16 ] |
17 outputs = [ | 17 outputs = [ |
18 "$target_gen_dir/{{source_name_part}}.sky", | 18 "$target_gen_dir/{{source_name_part}}.sky", |
19 ] | 19 ] |
20 args = [ | 20 args = [ |
21 "--input", | 21 "--input", |
22 "{{source}}", | 22 "{{source}}", |
23 "--output", | 23 "--output", |
24 rebase_path(target_gen_dir, root_build_dir) + "/{{source_name_part}}.sky", | 24 rebase_path(target_gen_dir, root_build_dir) + "/{{source_name_part}}.sky", |
25 ] | 25 ] |
26 } | 26 } |
OLD | NEW |