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