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

Unified Diff: chrome/browser/media/router/BUILD.gn

Issue 1228863005: [MediaRouter] The minimal change to make everything build on Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed the include for MediaRouterDialogControllerImpl Created 5 years, 5 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: chrome/browser/media/router/BUILD.gn
diff --git a/chrome/browser/media/router/BUILD.gn b/chrome/browser/media/router/BUILD.gn
index 31cf3ed1affaedf3f688f0e233adee7dd5d50aac..fe9a524f624aadfce154664be68abcbd49cddacc 100644
--- a/chrome/browser/media/router/BUILD.gn
+++ b/chrome/browser/media/router/BUILD.gn
@@ -13,19 +13,26 @@ gypi_values = exec_script("//build/gypi_to_gn.py",
# TODO(mfoltz): Fix problem that requires explicitly listing //skia
static_library("router") {
deps = [
- ":mojo_bindings",
"//base",
"//chrome/common:constants",
"//components/keyed_service/content",
"//components/keyed_service/core",
- "//extensions/browser",
"//skia",
- "//third_party/mojo/src/mojo/public/cpp/bindings",
"//url",
]
sources = rebase_path(gypi_values.media_router_sources,
".",
"//chrome/browser/media/router")
+ if (!is_android) {
+ deps += [
+ ":mojo_bindings",
+ "//extensions/browser",
+ "//third_party/mojo/src/mojo/public/cpp/bindings",
+ ]
+ sources += rebase_path(gypi_values.media_router_non_android_sources,
+ ".",
+ "//chrome/browser/media/router")
+ }
}
mojom("mojo_bindings") {

Powered by Google App Engine
This is Rietveld 408576698