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

Unified Diff: chromecast/media/BUILD.gn

Issue 2577743002: [chromecast] Deletes libcast_media_1.0_default_core. (Closed)
Patch Set: rebase + simplify libcast_media target Created 4 years 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 | « chromecast/BUILD.gn ('k') | chromecast/media/base/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/media/BUILD.gn
diff --git a/chromecast/media/BUILD.gn b/chromecast/media/BUILD.gn
index f87e492674ec96f20ad908dddeb66f70a86a6aaa..cb27ae885bfd4ecce0f18baa37be2cd96083545c 100644
--- a/chromecast/media/BUILD.gn
+++ b/chromecast/media/BUILD.gn
@@ -62,37 +62,10 @@ test("cast_media_unittests") {
"//ui/gfx/geometry",
]
- if (chromecast_branding == "public") {
- # Link default libcast_media_1.0 statically not to link dummy one
- # dynamically for public unittests.
- deps += [ "//chromecast/media/base:libcast_media_1.0_default_core" ]
- }
-}
-
-test("cast_multizone_backend_unittests") {
- sources = [
- "cma/backend/multizone_backend_unittest.cc",
- "cma/test/run_all_unittests.cc",
- ]
-
- deps = [
- "//base",
- "//base/test:test_support",
- "//chromecast/base",
- "//chromecast/base/metrics:test_support",
- "//chromecast/media/base:libcast_media_1.0",
- "//chromecast/media/cma/backend",
- "//chromecast/media/cma/base",
- "//chromecast/public",
- "//media",
- "//media/base:test_support",
- "//testing/gmock",
- "//testing/gtest",
- ]
-
- if (chromecast_branding == "public") {
- # Link default libcast_media_1.0 statically not to link dummy one
- # dynamically for public unittests.
- deps += [ "//chromecast/media/base:libcast_media_1.0_default_core" ]
+ # MultizoneBackendTest verifies rendering delay reported by the backend.
+ # Since rendering delay is optional on video platforms, enable this test
+ # on audio devices only.
+ if (is_cast_audio_only) {
+ sources += [ "cma/backend/multizone_backend_unittest.cc" ]
}
}
« no previous file with comments | « chromecast/BUILD.gn ('k') | chromecast/media/base/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698