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

Unified Diff: third_party/widevine/cdm/BUILD.gn

Issue 2409423002: Move ENABLE_PEPPER_CDMS to a buildflag header. (Closed)
Patch Set: Fix and format 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
« no previous file with comments | « ppapi/features/features.gni ('k') | third_party/widevine/cdm/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/widevine/cdm/BUILD.gn
diff --git a/third_party/widevine/cdm/BUILD.gn b/third_party/widevine/cdm/BUILD.gn
index a6c45e06cf636a60696f854523f1e0d72e49d51f..8b40b1ab1e7ac238cb695cb177fae873e7cf9eb3 100644
--- a/third_party/widevine/cdm/BUILD.gn
+++ b/third_party/widevine/cdm/BUILD.gn
@@ -7,6 +7,7 @@ import("//build/config/features.gni")
import("//chrome/process_version_rc_template.gni")
import("//media/cdm/ppapi/cdm_paths.gni")
import("//media/cdm/ppapi/ppapi_cdm_adapter.gni")
+import("//ppapi/features/features.gni")
import("//third_party/widevine/cdm/widevine.gni")
widevine_arch = current_cpu
@@ -52,6 +53,7 @@ if (is_android) {
}
copy("version_h") {
+ visibility = [ ":*" ] # Depend on ":headers" instead.
sources = [
widevine_cdm_version_h_file,
]
@@ -64,6 +66,17 @@ copy("version_h") {
]
}
+source_set("headers") {
+ public = [
+ "widevine_cdm_common.h",
+ ]
+
+ public_deps = [
+ ":version_h", # Forward permission to use version header.
+ "//ppapi/features",
+ ]
+}
+
if (widevine_cdm_binary_files != []) {
copy("widevinecdm") {
sources = widevine_cdm_binary_files
« no previous file with comments | « ppapi/features/features.gni ('k') | third_party/widevine/cdm/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698