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

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

Issue 2308313003: gn: Generalize process_version() and move it to build/util (Closed)
Patch Set: Move branding_file_path to chrome/process_version_rc_template.gni Created 4 years, 3 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 | « remoting/host/BUILD.gn ('k') | no next file » | 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 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",
« no previous file with comments | « remoting/host/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698