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