mac: Fix a bookmark bar unit test on OSX 10.10.
[chromium-blink-merge.git] / mojo / common / BUILD.gn
blobdf1e4dfe21e6f5e142195707dc2ec6a9a6f7d99f
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 # GYP version: mojo/mojo_base.gyp:mojo_common_lib
6 component("common") {
7   output_name = "mojo_common_lib"
9   sources = [
10     "common_type_converters.cc",
11     "common_type_converters.h",
12     "data_pipe_utils.cc",
13     "data_pipe_utils.h",
14     "handle_watcher.cc",
15     "handle_watcher.h",
16     "message_pump_mojo.cc",
17     "message_pump_mojo.h",
18     "message_pump_mojo_handler.h",
19     "time_helper.cc",
20     "time_helper.h",
21   ]
23   defines = [ "MOJO_COMMON_IMPLEMENTATION" ]
25   deps = [
26     "//base",
27     "//base/third_party/dynamic_annotations",
28     "//mojo/public/c/system:for_component",
29     "//url",
30   ]
33 # GYP version: mojo/mojo_base.gyp:mojo_common_unittests
34 test("mojo_common_unittests") {
35   deps = [
36     ":common",
37     "//base",
38     "//base:message_loop_tests",
39     "//mojo/edk/test:run_all_unittests",
40     "//mojo/edk/test:test_support",
41     "//mojo/environment:chromium",
42     "//mojo/public/cpp/bindings",
43     "//mojo/public/cpp/test_support:test_utils",
44     "//testing/gtest",
45     "//url",
46   ]
48   sources = [
49     "common_type_converters_unittest.cc",
50     "handle_watcher_unittest.cc",
51     "message_pump_mojo_unittest.cc",
52   ]