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 interfaces_bindings_gen_dir = "$root_gen_dir/mojo/public/interfaces/bindings" | 5 interfaces_bindings_gen_dir = "$root_gen_dir/mojo/public/interfaces/bindings" |
6 | 6 |
7 source_set("js") { | 7 source_set("js") { |
8 sources = [ | 8 sources = [ |
9 "constants.cc", | 9 "constants.cc", |
10 "constants.h", | 10 "constants.h", |
(...skipping 30 matching lines...) Expand all Loading... |
41 ] | 41 ] |
42 } | 42 } |
43 | 43 |
44 action("new_bindings") { | 44 action("new_bindings") { |
45 new_bindings_js_files = [ | 45 new_bindings_js_files = [ |
46 # This must be the first file in the list, because it initializes global | 46 # This must be the first file in the list, because it initializes global |
47 # variable |mojoBindings| that the others need to refer to. | 47 # variable |mojoBindings| that the others need to refer to. |
48 "new_bindings/base.js", | 48 "new_bindings/base.js", |
49 | 49 |
50 "$interfaces_bindings_gen_dir/new_bindings/interface_control_messages.mojom.
js", | 50 "$interfaces_bindings_gen_dir/new_bindings/interface_control_messages.mojom.
js", |
| 51 "$interfaces_bindings_gen_dir/new_bindings/pipe_control_messages.mojom.js", |
51 "new_bindings/bindings.js", | 52 "new_bindings/bindings.js", |
52 "new_bindings/buffer.js", | 53 "new_bindings/buffer.js", |
53 "new_bindings/codec.js", | 54 "new_bindings/codec.js", |
54 "new_bindings/connector.js", | 55 "new_bindings/connector.js", |
55 "new_bindings/interface_types.js", | 56 "new_bindings/interface_types.js", |
56 "new_bindings/lib/control_message_handler.js", | 57 "new_bindings/lib/control_message_handler.js", |
57 "new_bindings/lib/control_message_proxy.js", | 58 "new_bindings/lib/control_message_proxy.js", |
| 59 "new_bindings/lib/interface_endpoint_client.js", |
| 60 "new_bindings/lib/interface_endpoint_handle.js", |
| 61 "new_bindings/lib/pipe_control_message_handler.js", |
| 62 "new_bindings/lib/pipe_control_message_proxy.js", |
58 "new_bindings/router.js", | 63 "new_bindings/router.js", |
59 "new_bindings/unicode.js", | 64 "new_bindings/unicode.js", |
60 "new_bindings/validator.js", | 65 "new_bindings/validator.js", |
61 ] | 66 ] |
62 compiled_file = "$target_gen_dir/mojo_bindings.js" | 67 compiled_file = "$target_gen_dir/mojo_bindings.js" |
63 | 68 |
64 # TODO(yzshen): Eventually we would like to use Closure Compiler to minify the | 69 # TODO(yzshen): Eventually we would like to use Closure Compiler to minify the |
65 # bindings instead of simply concatenating the files. | 70 # bindings instead of simply concatenating the files. |
66 script = "//v8/tools/concatenate-files.py" | 71 script = "//v8/tools/concatenate-files.py" |
67 | 72 |
(...skipping 14 matching lines...) Expand all Loading... |
82 testonly = true | 87 testonly = true |
83 | 88 |
84 data = [ | 89 data = [ |
85 "tests/core_unittest.js", | 90 "tests/core_unittest.js", |
86 ] | 91 ] |
87 | 92 |
88 public_deps = [ | 93 public_deps = [ |
89 ":bindings", | 94 ":bindings", |
90 ] | 95 ] |
91 } | 96 } |
OLD | NEW |