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

Unified Diff: content/renderer/BUILD.gn

Issue 1836073003: media: Use "public_configs" for "mojo_media_config" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 | media/mojo/services/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/BUILD.gn
diff --git a/content/renderer/BUILD.gn b/content/renderer/BUILD.gn
index f9a554d07e7689f9cd199ed8a2dc5df0dfea6884..caa799b97484b97524c0bdcbcafb471e577bec71 100644
--- a/content/renderer/BUILD.gn
+++ b/content/renderer/BUILD.gn
@@ -230,6 +230,8 @@ source_set("renderer") {
deps += [
"//media/mojo/interfaces",
+
+ # Defines in mojo_media_config are also pulled in here.
"//media/mojo/services:proxy",
]
}
@@ -255,6 +257,12 @@ source_set("renderer") {
# See comment at the top of //content/BUILD.gn for how this works.
group("for_content_tests") {
visibility = [ "//content/test/*" ]
+
+ if (enable_mojo_media) {
+ # For the defines in mojo_media_config.
+ public_configs = [ "//media/mojo/services:mojo_media_config" ]
+ }
+
if (!is_component_build) {
public_deps = [
":renderer",
« no previous file with comments | « no previous file | media/mojo/services/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698