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

Unified Diff: chromecast/media/BUILD.gn

Issue 1345013002: Add is_chromecast to GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Remove uneeded arg 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: chromecast/media/BUILD.gn
diff --git a/chromecast/media/BUILD.gn b/chromecast/media/BUILD.gn
index 249823ac0cf642cb4fabccffcbf893fae41fe7f6..e737d473c0a0000c634922881f35da12ef15f289 100644
--- a/chromecast/media/BUILD.gn
+++ b/chromecast/media/BUILD.gn
@@ -2,6 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//chromecast/chromecast.gni")
import("//testing/test.gni")
group("media") {
@@ -57,6 +58,18 @@ test("cast_media_unittests") {
]
}
+group("libcast_media") {
+ if (use_default_cast_media) {
+ public_deps = [
+ "//chromecast/media/base:libcast_media_default",
+ ]
+ } else {
+ public_deps = [
+ "$libcast_media_path:libcast_media_1.0",
+ ]
+ }
+}
+
# TODO(gunsch): delete this target once Chromecast M44/earlier is obsolete.
# See: b/21639416
shared_library("libffmpegsumo") {

Powered by Google App Engine
This is Rietveld 408576698