Home | History | Annotate | Download | only in tests
      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 # GYP version: mojo/mojo_public_tests.gypi:mojo_public_bindings_unittests
      6 test("mojo_public_bindings_unittests") {
      7   sources = [
      8     "array_unittest.cc",
      9     "bounds_checker_unittest.cc",
     10     "buffer_unittest.cc",
     11     "connector_unittest.cc",
     12     "handle_passing_unittest.cc",
     13     "interface_ptr_unittest.cc",
     14     "request_response_unittest.cc",
     15     "router_unittest.cc",
     16     "sample_service_unittest.cc",
     17     "serialization_warning_unittest.cc",
     18     "string_unittest.cc",
     19     "struct_unittest.cc",
     20     "type_conversion_unittest.cc",
     21     "validation_unittest.cc",
     22   ]
     23 
     24   deps = [
     25     "//mojo/common/test:run_all_unittests",
     26     "//mojo/public/cpp/bindings",
     27     "//mojo/public/cpp/environment:standalone",
     28     "//mojo/public/cpp/system",
     29     "//mojo/public/cpp/test_support:test_utils",
     30     "//mojo/public/cpp/utility",
     31     "//mojo/public/interfaces/bindings/tests:test_interfaces",
     32     "//testing/gtest",
     33     ":mojo_public_bindings_test_utils",
     34   ]
     35 }
     36 
     37 source_set("mojo_public_bindings_test_utils") {
     38   sources = [
     39     "validation_test_input_parser.cc",
     40     "validation_test_input_parser.h",
     41   ]
     42 
     43   deps = [
     44     "//mojo/public/c/system",
     45   ]
     46 }
     47