Index: ipc/mojo/BUILD.gn |
diff --git a/ipc/mojo/BUILD.gn b/ipc/mojo/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..accc89d584124aab7a4d77e9ac9dfc02931c6bc9 |
--- /dev/null |
+++ b/ipc/mojo/BUILD.gn |
@@ -0,0 +1,41 @@ |
+# Copyright 2014 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+component("mojo") { |
+ sources = [ |
+ "ipc_channel_mojo.cc", |
+ "ipc_channel_mojo.h", |
+ "ipc_message_pipe_reader.cc", |
+ "ipc_message_pipe_reader.h", |
+ ] |
+ |
+ deps = [ |
+ "//base", |
+ "//ipc", |
+ "//mojo/public/cpp/bindings", |
+ "//mojo/system", |
+ # TODO(viettrungluu): Needed for base/lazy_instance.h, which is suspect. |
+ "//base/third_party/dynamic_annotations", |
+ ] |
+} |
+ |
+test("ipc_mojo_unittests") { |
+ sources = [ |
+ "ipc_channel_mojo_unittest.cc", |
+ "run_all_unittests.cc", |
+ ] |
+ |
+ deps = [ |
+ "//base", |
+ # TODO(viettrungluu): Needed for base/lazy_instance.h, which is suspect. |
+ "//base/test:test_support", |
+ "//base/third_party/dynamic_annotations", |
+ "//ipc", |
+ "//ipc:test_support", |
+ "//ipc/mojo", |
+ "//mojo/environment:chromium", |
+ "//mojo/system", |
+ "//url", |
+ ] |
+} |