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", |
11 ] | 11 ] |
12 } | 12 } |
13 | 13 |
14 group("bindings") { | 14 group("bindings") { |
15 data = [ | 15 data = [ |
16 "$interfaces_bindings_gen_dir/interface_control_messages.mojom.js", | 16 "$interfaces_bindings_gen_dir/interface_control_messages.mojom.js", |
17 "$interfaces_bindings_gen_dir/pipe_control_messages.mojom.js", | |
18 "bindings.js", | 17 "bindings.js", |
19 "buffer.js", | 18 "buffer.js", |
20 "codec.js", | 19 "codec.js", |
21 "connector.js", | 20 "connector.js", |
22 "core.js", | 21 "core.js", |
23 "interface_types.js", | 22 "interface_types.js", |
24 "lib/control_message_handler.js", | 23 "lib/control_message_handler.js", |
25 "lib/control_message_proxy.js", | 24 "lib/control_message_proxy.js", |
26 "lib/interface_endpoint_client.js", | |
27 "lib/interface_endpoint_handle.js", | |
28 "lib/pipe_control_message_handler.js", | |
29 "lib/pipe_control_message_proxy.js", | |
30 "router.js", | 25 "router.js", |
31 "support.js", | 26 "support.js", |
32 "threading.js", | 27 "threading.js", |
33 "unicode.js", | 28 "unicode.js", |
34 "validator.js", | 29 "validator.js", |
35 ] | 30 ] |
36 | 31 |
37 deps = [ | 32 deps = [ |
38 "//mojo/public/interfaces/bindings:bindings__generator", | 33 "//mojo/public/interfaces/bindings:bindings__generator", |
39 ] | 34 ] |
40 } | 35 } |
41 | 36 |
42 group("tests") { | 37 group("tests") { |
43 testonly = true | 38 testonly = true |
44 | 39 |
45 data = [ | 40 data = [ |
46 "//mojo/public/interfaces/bindings/tests/data/validation/", | 41 "//mojo/public/interfaces/bindings/tests/data/validation/", |
47 "tests/core_unittest.js", | 42 "tests/core_unittest.js", |
48 "tests/validation_test_input_parser.js", | 43 "tests/validation_test_input_parser.js", |
49 "tests/validation_unittest.js", | 44 "tests/validation_unittest.js", |
50 ] | 45 ] |
51 | 46 |
52 public_deps = [ | 47 public_deps = [ |
53 ":bindings", | 48 ":bindings", |
54 ] | 49 ] |
55 } | 50 } |
OLD | NEW |