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

Unified Diff: ipc/mojo/BUILD.gn

Issue 1350023003: Add a Mojo EDK for Chrome that uses one OS pipe per message pipe. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: ipc/mojo/BUILD.gn
diff --git a/ipc/mojo/BUILD.gn b/ipc/mojo/BUILD.gn
index d801a7b9c19ca16ed9b418eb258d39645651fd84..48b134c9409603594a42f3a517d55d39df7d3b50 100644
--- a/ipc/mojo/BUILD.gn
+++ b/ipc/mojo/BUILD.gn
@@ -39,11 +39,16 @@ component("mojo") {
"//base/third_party/dynamic_annotations",
"//ipc",
"//mojo/environment:chromium",
- "//third_party/mojo/src/mojo/edk/system",
"//third_party/mojo/src/mojo/public/c/environment:environment",
"//third_party/mojo/src/mojo/public/cpp/bindings",
":client_channel",
]
+
+ if (use_chrome_edk) {
+ deps += [ "//mojo/edk/system" ]
+ } else {
+ deps += [ "//third_party/mojo/src/mojo/edk/system" ]
+ }
}
test("ipc_mojo_unittests") {
@@ -63,9 +68,14 @@ test("ipc_mojo_unittests") {
"//ipc/mojo",
"//mojo/environment:chromium",
"//testing/gtest",
- "//third_party/mojo/src/mojo/edk/system",
"//url",
]
+
+ if (use_chrome_edk) {
+ deps += [ "//mojo/edk/system" ]
+ } else {
+ deps += [ "//third_party/mojo/src/mojo/edk/system" ]
+ }
}
test("ipc_mojo_perftests") {
@@ -82,7 +92,12 @@ test("ipc_mojo_perftests") {
"//ipc:test_support",
"//ipc/mojo",
"//mojo/environment:chromium",
- "//third_party/mojo/src/mojo/edk/system",
"//url",
]
+
+ if (use_chrome_edk) {
+ deps += [ "//mojo/edk/system" ]
+ } else {
+ deps += [ "//third_party/mojo/src/mojo/edk/system" ]
+ }
}

Powered by Google App Engine
This is Rietveld 408576698