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

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

Issue 1345013002: Add is_chromecast to GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Correct faulty source exclude in chrome browser tests. 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/base/BUILD.gn
diff --git a/chromecast/media/base/BUILD.gn b/chromecast/media/base/BUILD.gn
index b82d9389b2e8b1e64097fdb39d25fab3e9c7884e..aa8e7d235eca801bc6aaf487c2973259ca392a4e 100644
--- a/chromecast/media/base/BUILD.gn
+++ b/chromecast/media/base/BUILD.gn
@@ -9,6 +9,7 @@ declare_args() {
libcast_media_target = ""
}
+# TODO(slan): See if the dependency on //media can be broken.
source_set("base") {
sources = [
"decrypt_context_impl.cc",
@@ -58,10 +59,13 @@ shared_library("libcast_media_default") {
configs += [ "//chromecast:config" ]
+ public_deps = [
+ "//chromecast/public",
+ "//chromecast/public/media",
+ ]
+
deps = [
"//build/config/sanitizers:deps",
"//chromecast/media/cma/backend",
- "//chromecast/public",
- "//chromecast/public/media",
]
}

Powered by Google App Engine
This is Rietveld 408576698