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

Unified Diff: mojo/android/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: move to mojo::edk namespace in preparation for runtim flag 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: mojo/android/BUILD.gn
diff --git a/mojo/android/BUILD.gn b/mojo/android/BUILD.gn
index 9519458a093ee184987206d18588411195c7bf63..752441ed9ba297755d1cb8b21e9f49bba4cdc54f 100644
--- a/mojo/android/BUILD.gn
+++ b/mojo/android/BUILD.gn
@@ -47,9 +47,14 @@ source_set("libsystem_java") {
"//base",
"//mojo/environment:chromium",
"//mojo/message_pump",
- "//third_party/mojo/src/mojo/edk/system",
"//third_party/mojo/src/mojo/public/cpp/environment",
]
+
+ if (use_chrome_edk) {
+ deps += [ "//mojo/edk/system" ]
+ } else {
+ deps += [ "//third_party/mojo/src/mojo/edk/system" ]
+ }
}
android_library("system_java") {
@@ -127,11 +132,17 @@ shared_library("mojo_java_unittests") {
"//base/test/:test_support",
"//build/config/sanitizers:deps",
"//mojo/message_pump",
- "//third_party/mojo/src/mojo/edk/system",
"//third_party/mojo/src/mojo/public/cpp/bindings/tests:mojo_public_bindings_test_utils",
"//third_party/mojo/src/mojo/public/cpp/test_support:test_utils",
"//third_party/mojo/src/mojo/public/cpp/environment",
]
+
+ if (use_chrome_edk) {
+ deps += [ "//mojo/edk/system" ]
+ } else {
+ deps += [ "//third_party/mojo/src/mojo/edk/system" ]
+ }
+
defines = [ "UNIT_TEST" ]
}

Powered by Google App Engine
This is Rietveld 408576698