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.
5 import("//testing/test.gni")
10 ":url_type_converters",
14 # GYP version: mojo/mojo_base.gyp:mojo_common_lib
15 component("common_base") {
16 output_name = "mojo_common_lib"
19 "common_type_converters.cc",
20 "common_type_converters.h",
25 "message_pump_mojo.cc",
26 "message_pump_mojo.h",
27 "message_pump_mojo_handler.h",
32 defines = [ "MOJO_COMMON_IMPLEMENTATION" ]
36 "//base/third_party/dynamic_annotations",
37 "//third_party/mojo/src/mojo/public/c/system:for_component",
41 # GYP version: mojo/mojo_base.gyp:mojo_url_type_converters
42 source_set("url_type_converters") {
44 "url_type_converters.cc",
45 "url_type_converters.h",
48 include_dirs = [ "//third_party/mojo/src/" ]
53 "//base/third_party/dynamic_annotations",
58 # GYP version: mojo/mojo_base.gyp:mojo_common_unittests
59 test("mojo_common_unittests") {
63 "//base:message_loop_tests",
64 "//mojo/environment:chromium",
66 "//third_party/mojo/src/mojo/edk/test:run_all_unittests",
67 "//third_party/mojo/src/mojo/edk/test:test_support",
68 "//third_party/mojo/src/mojo/public/cpp/bindings",
69 "//third_party/mojo/src/mojo/public/cpp/test_support:test_utils",
74 "common_type_converters_unittest.cc",
75 "handle_watcher_unittest.cc",
76 "message_pump_mojo_unittest.cc",