Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(152)

Side by Side Diff: ipc/mojo/BUILD.gn

Issue 462983002: GN: Make content_shell and webkit_unit_tests work in component build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 component("mojo") { 5 component("mojo") {
6 sources = [ 6 sources = [
7 "ipc_channel_mojo.cc", 7 "ipc_channel_mojo.cc",
8 "ipc_channel_mojo.h", 8 "ipc_channel_mojo.h",
9 "ipc_message_pipe_reader.cc", 9 "ipc_message_pipe_reader.cc",
10 "ipc_message_pipe_reader.h", 10 "ipc_message_pipe_reader.h",
11 ] 11 ]
12 12
13 defines = [ "IPC_MOJO_IMPLEMENTATION" ]
14
13 deps = [ 15 deps = [
14 "//base", 16 "//base",
17 "//base/third_party/dynamic_annotations",
15 "//ipc", 18 "//ipc",
19 "//mojo/environment:chromium",
16 "//mojo/public/cpp/bindings", 20 "//mojo/public/cpp/bindings",
17 "//mojo/system", 21 "//mojo/system",
18 # TODO(viettrungluu): Needed for base/lazy_instance.h, which is suspect.
19 "//base/third_party/dynamic_annotations",
20 ] 22 ]
21 } 23 }
22 24
23 test("ipc_mojo_unittests") { 25 test("ipc_mojo_unittests") {
24 sources = [ 26 sources = [
25 "ipc_channel_mojo_unittest.cc", 27 "ipc_channel_mojo_unittest.cc",
26 "run_all_unittests.cc", 28 "run_all_unittests.cc",
27 ] 29 ]
28 30
29 deps = [ 31 deps = [
30 "//base", 32 "//base",
31 # TODO(viettrungluu): Needed for base/lazy_instance.h, which is suspect.
32 "//base/test:test_support", 33 "//base/test:test_support",
33 "//base/third_party/dynamic_annotations", 34 "//base/third_party/dynamic_annotations",
34 "//ipc", 35 "//ipc",
35 "//ipc:test_support", 36 "//ipc:test_support",
36 "//ipc/mojo", 37 "//ipc/mojo",
37 "//mojo/environment:chromium", 38 "//mojo/environment:chromium",
38 "//mojo/system", 39 "//mojo/system",
39 "//url", 40 "//url",
40 ] 41 ]
41 } 42 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698