New OOBE implementation skeleton using WUG toolkit.
[chromium-blink-merge.git] / mojo / common / BUILD.gn
blobad01c318bb875d2428d6508c7cf2c4c4dd622fd4
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")
7 # GYP version: mojo/mojo_base.gyp:mojo_common_lib
8 component("common") {
9   output_name = "mojo_common_lib"
11   sources = [
12     "common_type_converters.cc",
13     "common_type_converters.h",
14     "data_pipe_utils.cc",
15     "data_pipe_utils.h",
16     "handle_watcher.cc",
17     "handle_watcher.h",
18     "message_pump_mojo.cc",
19     "message_pump_mojo.h",
20     "message_pump_mojo_handler.h",
21     "time_helper.cc",
22     "time_helper.h",
23   ]
25   defines = [ "MOJO_COMMON_IMPLEMENTATION" ]
27   deps = [
28     "//base",
29     "//base/third_party/dynamic_annotations",
30     "//third_party/mojo/src/mojo/public/c/system:for_component",
31     "//url",
32   ]
35 # GYP version: mojo/mojo_base.gyp:mojo_common_unittests
36 test("mojo_common_unittests") {
37   deps = [
38     ":common",
39     "//base",
40     "//base:message_loop_tests",
41     "//mojo/environment:chromium",
42     "//testing/gtest",
43     "//third_party/mojo/src/mojo/edk/test:run_all_unittests",
44     "//third_party/mojo/src/mojo/edk/test:test_support",
45     "//third_party/mojo/src/mojo/public/cpp/bindings",
46     "//third_party/mojo/src/mojo/public/cpp/test_support:test_utils",
47     "//url",
48   ]
50   sources = [
51     "common_type_converters_unittest.cc",
52     "handle_watcher_unittest.cc",
53     "message_pump_mojo_unittest.cc",
54   ]