summaryrefslogtreecommitdiffstats
path: root/third_party/widevine
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/widevine')
-rw-r--r--third_party/widevine/cdm/widevine_cdm_common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/third_party/widevine/cdm/widevine_cdm_common.h b/third_party/widevine/cdm/widevine_cdm_common.h
index 9f86a23..4c21b25 100644
--- a/third_party/widevine/cdm/widevine_cdm_common.h
+++ b/third_party/widevine/cdm/widevine_cdm_common.h
@@ -33,4 +33,9 @@ const base::FilePath::CharType kWidevineCdmPluginFileName[] =
FILE_PATH_LITERAL("libwidevinecdmadapter.so");
#endif
+#if defined(OS_MACOSX) || defined(OS_WIN)
+// CDM is installed by the component installer instead of the Chrome installer.
+#define WIDEVINE_CDM_IS_COMPONENT
+#endif
+
#endif // WIDEVINE_CDM_WIDEVINE_CDM_COMMON_H_