summaryrefslogtreecommitdiffstats
path: root/chromium-dev/build/patches/chromium_widevine.patch
blob: ad78a8bf85f5270bef09a43c85004fe8f0559774 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- a/third_party/widevine/cdm/widevine_cdm.gyp	2014-09-05 22:56:05.564694269 +0200
+++ b/third_party/widevine/cdm/widevine_cdm.gyp	2014-09-07 12:58:18.112607071 +0200
@@ -7,7 +7,7 @@
     'widevine_cdm_version_h_file%': 'widevine_cdm_version.h',
     'widevine_cdm_binary_files%': [],
     'conditions': [
-      [ 'branding == "Chrome"', {
+      [ 'branding == "Chrome" or branding == "Chromium"', {
         'conditions': [
           [ 'chromeos == 1', {
             'widevine_cdm_version_h_file%':
@@ -54,7 +54,7 @@
       'target_name': 'widevinecdmadapter',
       'type': 'none',
       'conditions': [
-        [ 'branding == "Chrome" and enable_pepper_cdms==1', {
+        [ '( branding == "Chrome" or branding == "Chromium" ) and enable_pepper_cdms==1', {
           'dependencies': [
             '<(DEPTH)/ppapi/ppapi.gyp:ppapi_cpp',
             '<(DEPTH)/media/media_cdm_adapter.gyp:cdmadapter',