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

Unified Diff: media/base/BUILD.gn

Issue 2411433002: Move ENABLE_PEPPER_CDMS to a buildflag header. (Closed)
Patch Set: fix Created 4 years, 2 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: media/base/BUILD.gn
diff --git a/media/base/BUILD.gn b/media/base/BUILD.gn
index 0c3ad22e1900416492f5a3516dd10457ff1e99f9..7e022d3bdefb7d7c6070b26109c0396fb766c0de 100644
--- a/media/base/BUILD.gn
+++ b/media/base/BUILD.gn
@@ -260,7 +260,9 @@ target(link_target_type, "base") {
allow_circular_includes_from = []
defines = []
- public_deps = []
+ public_deps = [
+ "//third_party/widevine/cdm:cdm_features",
+ ]
deps = [
"//base/third_party/dynamic_annotations:dynamic_annotations",
"//gpu",
@@ -289,7 +291,7 @@ target(link_target_type, "base") {
}
if (is_android) {
- public_deps = [
+ public_deps += [
"//media/base/android",
"//media/base/android:media_jni_headers",
]
@@ -460,6 +462,7 @@ source_set("unittests") {
"//skia",
"//testing/gmock",
"//testing/gtest",
+ "//third_party/widevine/cdm:cdm_features",
]
# Even if FFmpeg is enabled on Android we don't want these.

Powered by Google App Engine
This is Rietveld 408576698