Index: third_party/widevine/cdm/widevine_cdm.gyp |
diff --git a/third_party/widevine/cdm/widevine_cdm.gyp b/third_party/widevine/cdm/widevine_cdm.gyp |
index ac455476fce9c344b3b5f6e7213b04102f461198..97a416518bfb4063443695365f665d6870fa5acd 100644 |
--- a/third_party/widevine/cdm/widevine_cdm.gyp |
+++ b/third_party/widevine/cdm/widevine_cdm.gyp |
@@ -69,19 +69,9 @@ |
# GN version: //third_party/widevine/cdm:widevinecdmadapter_resources |
'target_name': 'widevinecdmadapter_resources', |
'type': 'none', |
- 'conditions': [ |
- ['branding == "Chrome"', { |
- 'variables': { |
- 'branding_path': '../../../chrome/app/theme/google_chrome/BRANDING', |
- }, |
- }, { # else branding!="Chrome" |
- 'variables': { |
- 'branding_path': '../../../chrome/app/theme/chromium/BRANDING', |
- }, |
- }], |
- ], |
'variables': { |
'output_dir': '.', |
+ 'branding_path': '../../../chrome/app/theme/<(branding_path_component)/BRANDING', |
'template_input_path': '../../../chrome/app/chrome_version.rc.version', |
'extra_variable_files_arguments': [ '-f', 'BRANDING' ], |
'extra_variable_files': [ 'BRANDING' ], # NOTE: matches that above |