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