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

Unified Diff: media/cdm_paths.gypi

Issue 2004253002: media: More cleanup in cdm_paths.* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: further limit where we use platform specific path Created 4 years, 7 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 | « media/cdm/ppapi/cdm_paths.gni ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cdm_paths.gypi
diff --git a/media/cdm_paths.gypi b/media/cdm_paths.gypi
index 3d79dad0656e9049f770af7ce99442ed031f441c..d37c83f65c82f757316237a3d7660e5253eac604 100644
--- a/media/cdm_paths.gypi
+++ b/media/cdm_paths.gypi
@@ -25,7 +25,7 @@
}, 'OS == "mac"', {
'component_os%': 'mac'
}, {
- 'component_os%': '<(OS)'
+ 'component_os%': 'unsupported_platform'
}],
# Architecture name for components is close to "<(current_cpu)" but has
# some differences. Explicitly define what we use to avoid confusion.
@@ -36,7 +36,7 @@
}, 'target_arch == "arm"', {
'component_arch%': 'arm'
}, {
- 'component_arch%': '<(current_cpu)'
+ 'component_arch%': 'unsupported_arch'
}],
],
},
@@ -45,7 +45,7 @@
# Chrome components.
# TODO(xhwang): Improve how we enable platform specific path. See
# http://crbug.com/468584
- ['OS == "win" or OS == "mac"', {
+ ['( OS == "win" or OS == "mac") and (target_arch == "ia32" or target_arch == "x64")', {
# Path of Clear Key and Widevine CDMs relative to the output dir.
'widevine_cdm_path%': 'WidevineCdm/_platform_specific/<(component_os)_<(component_arch)',
'clearkey_cdm_path%': 'ClearKeyCdm/_platform_specific/<(component_os)_<(component_arch)',
« no previous file with comments | « media/cdm/ppapi/cdm_paths.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698