Index: third_party/widevine/cdm/BUILD.gn |
diff --git a/third_party/widevine/cdm/BUILD.gn b/third_party/widevine/cdm/BUILD.gn |
index a7df64b0537c7414d046826114f5b2e5b5eda71c..2dc63a8163c620c1bb825a510a1dfe7315b23927 100644 |
--- a/third_party/widevine/cdm/BUILD.gn |
+++ b/third_party/widevine/cdm/BUILD.gn |
@@ -4,7 +4,7 @@ |
import("//build/config/chrome_build.gni") |
import("//build/config/features.gni") |
-import("//chrome/version.gni") # TODO layering violation |
+import("//chrome/process_version_rc_template.gni") |
import("//media/cdm/ppapi/cdm_paths.gni") |
import("//media/cdm/ppapi/ppapi_cdm_adapter.gni") |
import("//third_party/widevine/cdm/widevine.gni") |
@@ -129,9 +129,8 @@ if (widevine_cdm_manifest_file != []) { |
if ((is_chrome_branded || enable_widevine) && enable_pepper_cdms) { |
# Produce and compile the .rc file. |
- process_version("widevinecdmadapter_resources") { |
+ process_version_rc_template("widevinecdmadapter_resources") { |
visibility = [ ":*" ] |
- template_file = chrome_version_rc_template |
sources = [ |
"BRANDING", |
"widevinecdmadapter.ver", |