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

Unified Diff: chromecast/media/base/BUILD.gn

Issue 2508803012: [Chromecast] Android-specific cast_media implementation. (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « no previous file | chromecast/media/base/cast_media_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/media/base/BUILD.gn
diff --git a/chromecast/media/base/BUILD.gn b/chromecast/media/base/BUILD.gn
index 8a880b60e097d66a17aec93843ba32619bc0fd23..f71222c9954ca75d256199f22d971ef7c8250015 100644
--- a/chromecast/media/base/BUILD.gn
+++ b/chromecast/media/base/BUILD.gn
@@ -51,7 +51,6 @@ source_set("base") {
]
deps = [
- ":libcast_media_1.0",
"//base",
"//chromecast/base",
"//crypto",
@@ -59,6 +58,12 @@ source_set("base") {
"//media",
"//ui/gfx/geometry",
]
+
+ if (is_android) {
+ deps += [ ":libcast_media_1.0_android" ]
+ } else {
+ deps += [ ":libcast_media_1.0" ]
+ }
}
# Target for OEM partners to override media shared library, i.e.
@@ -74,6 +79,21 @@ shared_library("libcast_media_1.0") {
]
}
+# Target for Android implementation of libcast_media_1.0.
+shared_library("libcast_media_1.0_android") {
+ sources = [
+ "cast_media_android.cc",
+ ]
+
+ deps = [
+ "//base",
+ ]
+
+ public_deps = [
+ "//chromecast/public",
+ ]
+}
+
# This target can be statically linked into unittests, but production
# binaries should not depend on this target.
source_set("libcast_media_1.0_default_core") {
« no previous file with comments | « no previous file | chromecast/media/base/cast_media_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698