Index: third_party/widevine/cdm/BUILD.gn |
diff --git a/third_party/widevine/cdm/BUILD.gn b/third_party/widevine/cdm/BUILD.gn |
index 62dad959a54c1c5b1b0499e507f6de15c0bc9130..99ca959879a746da01225d8181fdaf6db46740ef 100644 |
--- a/third_party/widevine/cdm/BUILD.gn |
+++ b/third_party/widevine/cdm/BUILD.gn |
@@ -110,22 +110,17 @@ if (widevine_cdm_binary_files != []) { |
} |
if ((is_chrome_branded || enable_widevine) && enable_pepper_cdms) { |
- adapter_resource_file = "$target_gen_dir/widevinecdmadapter_version.rc" |
- |
- # Produce the .rc file. |
+ # Produce and compile the .rc file. |
process_version("widevinecdmadapter_resources") { |
visibility = [ ":*" ] |
sources = [ |
"BRANDING", |
"widevinecdmadapter.ver", |
] |
- output = adapter_resource_file |
+ output = "$target_gen_dir/widevinecdmadapter_version.rc" |
} |
cdm_adapter("widevinecdmadapter") { |
- sources = [ |
- adapter_resource_file, |
- ] |
deps = [ |
":widevinecdmadapter_resources", |
":widevinecdm", |