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

Unified Diff: media/mojo/services/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: media/mojo/services/BUILD.gn
diff --git a/media/mojo/services/BUILD.gn b/media/mojo/services/BUILD.gn
index 0df256abb61e18ab6a13b2c10d022c150830c793..b897e2453fc06ad50e859b0f4ee5d211b723cebb 100644
--- a/media/mojo/services/BUILD.gn
+++ b/media/mojo/services/BUILD.gn
@@ -172,9 +172,19 @@ test("media_mojo_unittests") {
"//media/mojo/interfaces",
"//mojo/environment:chromium",
"//testing/gtest",
- "//third_party/mojo/src/mojo/edk/system",
- "//third_party/mojo/src/mojo/edk/test:run_all_unittests",
]
+
+ if (use_chrome_edk) {
+ deps += [
+ "//mojo/edk/system",
+ "//mojo/edk/test:run_all_unittests",
+ ]
+ } else {
+ deps += [
+ "//third_party/mojo/src/mojo/edk/system",
+ "//third_party/mojo/src/mojo/edk/test:run_all_unittests",
+ ]
+ }
}
if (!is_component_build) {

Powered by Google App Engine
This is Rietveld 408576698