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

Unified Diff: chromecast/media/BUILD.gn

Issue 1635913002: [chromecast] Statically link libcast_media_default for media unittests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « no previous file | no next file » | 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 4c4a87e2eaa0973c620049958f79307d79391d2c..832ea6430951166c9d039ae655d392c5a4c5cebb 100644
--- a/chromecast/media/BUILD.gn
+++ b/chromecast/media/BUILD.gn
@@ -57,4 +57,10 @@ test("cast_media_unittests") {
"//testing/gtest",
"//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" ]
+ }
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698