OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'widevine_cdm_version_h_file%': 'widevine_cdm_version.h', | 7 'widevine_cdm_version_h_file%': 'widevine_cdm_version.h', |
8 'widevine_cdm_binary_files%': [], | 8 'widevine_cdm_binary_files%': [], |
9 'conditions': [ | 9 'conditions': [ |
10 [ 'branding == "Chrome"', { | 10 [ 'branding == "Chrome"', { |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 'type': 'loadable_module', | 65 'type': 'loadable_module', |
66 # Allow the plugin wrapper to find the CDM in the same directory. | 66 # Allow the plugin wrapper to find the CDM in the same directory. |
67 'ldflags': ['-Wl,-rpath=\$$ORIGIN'], | 67 'ldflags': ['-Wl,-rpath=\$$ORIGIN'], |
68 }], | 68 }], |
69 [ 'chromeos == 1 and target_arch == "arm"', { | 69 [ 'chromeos == 1 and target_arch == "arm"', { |
70 'libraries': [ | 70 'libraries': [ |
71 # Copied by widevine_cdm_binaries. | 71 # Copied by widevine_cdm_binaries. |
72 '<(PRODUCT_DIR)/libwidevinecdm.so', | 72 '<(PRODUCT_DIR)/libwidevinecdm.so', |
73 ], | 73 ], |
74 }], | 74 }], |
75 [ 'OS == "linux" and target_arch == "x64"', { | 75 [ 'chromeos == 0 and OS == "linux" and target_arch == "x64"', { |
76 'libraries': [ | 76 'libraries': [ |
77 # Copied by widevine_cdm_binaries. | 77 # Copied by widevine_cdm_binaries. |
78 '<(PRODUCT_DIR)/libwidevinecdm.so', | 78 '<(PRODUCT_DIR)/libwidevinecdm.so', |
79 ], | 79 ], |
80 }], | 80 }], |
81 [ 'OS == "win" and 0', { | 81 [ 'OS == "win" and 0', { |
82 'type': 'shared_library', | 82 'type': 'shared_library', |
83 }], | 83 }], |
84 [ 'OS == "mac" and 0', { | 84 [ 'OS == "mac" and 0', { |
85 'type': 'loadable_module', | 85 'type': 'loadable_module', |
(...skipping 24 matching lines...) Expand all Loading... |
110 'type': 'none', | 110 'type': 'none', |
111 'copies': [{ | 111 'copies': [{ |
112 # TODO(ddorwin): Do we need a sub-directory? We either need a | 112 # TODO(ddorwin): Do we need a sub-directory? We either need a |
113 # sub-directory or to rename manifest.json before we can copy it. | 113 # sub-directory or to rename manifest.json before we can copy it. |
114 'destination': '<(PRODUCT_DIR)', | 114 'destination': '<(PRODUCT_DIR)', |
115 'files': [ '<@(widevine_cdm_binary_files)' ], | 115 'files': [ '<@(widevine_cdm_binary_files)' ], |
116 }], | 116 }], |
117 }, | 117 }, |
118 ], | 118 ], |
119 } | 119 } |
OLD | NEW |