summaryrefslogtreecommitdiffstats
path: root/third_party/widevine/cdm/widevine_cdm.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/widevine/cdm/widevine_cdm.gyp')
-rw-r--r--third_party/widevine/cdm/widevine_cdm.gyp12
1 files changed, 1 insertions, 11 deletions
diff --git a/third_party/widevine/cdm/widevine_cdm.gyp b/third_party/widevine/cdm/widevine_cdm.gyp
index ac45547..97a4165 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