summaryrefslogtreecommitdiffstats
path: root/ipc/mojo/BUILD.gn
diff options
context:
space:
mode:
authorjamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-12 17:07:12 +0000
committerjamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-12 17:08:36 +0000
commit22fe91d3732cc46b9782792384bced33ffeee480 (patch)
tree4d6792df56f5f894166940038de1cdd11a46a124 /ipc/mojo/BUILD.gn
parentf723adfa62d5a3f0fd7773aec0dcca30006834b8 (diff)
downloadchromium_src-22fe91d3732cc46b9782792384bced33ffeee480.zip
chromium_src-22fe91d3732cc46b9782792384bced33ffeee480.tar.gz
chromium_src-22fe91d3732cc46b9782792384bced33ffeee480.tar.bz2
GN: Make content_shell and webkit_unit_tests work in component build
Except for webrtc, this produces content_shell and webkit_unit_tests binaries that link and run successfully on linux. R=brettw@chromium.org Review URL: https://codereview.chromium.org/462983002 Cr-Commit-Position: refs/heads/master@{#289007} git-svn-id: svn://svn.chromium.org/chrome/trunk/src@289007 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc/mojo/BUILD.gn')
-rw-r--r--ipc/mojo/BUILD.gn7
1 files changed, 4 insertions, 3 deletions
diff --git a/ipc/mojo/BUILD.gn b/ipc/mojo/BUILD.gn
index accc89d..d059b48 100644
--- a/ipc/mojo/BUILD.gn
+++ b/ipc/mojo/BUILD.gn
@@ -10,13 +10,15 @@ component("mojo") {
"ipc_message_pipe_reader.h",
]
+ defines = [ "IPC_MOJO_IMPLEMENTATION" ]
+
deps = [
"//base",
+ "//base/third_party/dynamic_annotations",
"//ipc",
+ "//mojo/environment:chromium",
"//mojo/public/cpp/bindings",
"//mojo/system",
- # TODO(viettrungluu): Needed for base/lazy_instance.h, which is suspect.
- "//base/third_party/dynamic_annotations",
]
}
@@ -28,7 +30,6 @@ test("ipc_mojo_unittests") {
deps = [
"//base",
- # TODO(viettrungluu): Needed for base/lazy_instance.h, which is suspect.
"//base/test:test_support",
"//base/third_party/dynamic_annotations",
"//ipc",