Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / ipc / mojo / BUILD.gn
blobd059b48bd1e89d25b6daef34e11577c87ab86c4c
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 component("mojo") {
6   sources = [
7     "ipc_channel_mojo.cc",
8     "ipc_channel_mojo.h",
9     "ipc_message_pipe_reader.cc",
10     "ipc_message_pipe_reader.h",
11   ]
13   defines = [ "IPC_MOJO_IMPLEMENTATION" ]
15   deps = [
16     "//base",
17     "//base/third_party/dynamic_annotations",
18     "//ipc",
19     "//mojo/environment:chromium",
20     "//mojo/public/cpp/bindings",
21     "//mojo/system",
22   ]
25 test("ipc_mojo_unittests") {
26   sources = [
27     "ipc_channel_mojo_unittest.cc",
28     "run_all_unittests.cc",
29   ]
31   deps = [
32     "//base",
33     "//base/test:test_support",
34     "//base/third_party/dynamic_annotations",
35     "//ipc",
36     "//ipc:test_support",
37     "//ipc/mojo",
38     "//mojo/environment:chromium",
39     "//mojo/system",
40     "//url",
41   ]