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"', { |
| 76 'libraries': [ |
| 77 # Copied by widevine_cdm_binaries. |
| 78 '<(PRODUCT_DIR)/libwidevinecdm.so', |
| 79 ], |
| 80 }], |
75 [ 'OS == "win" and 0', { | 81 [ 'OS == "win" and 0', { |
76 'type': 'shared_library', | 82 'type': 'shared_library', |
77 }], | 83 }], |
78 [ 'OS == "mac" and 0', { | 84 [ 'OS == "mac" and 0', { |
79 'type': 'loadable_module', | 85 'type': 'loadable_module', |
80 'mac_bundle': 1, | 86 'mac_bundle': 1, |
81 'product_extension': 'plugin', | 87 'product_extension': 'plugin', |
82 'xcode_settings': { | 88 'xcode_settings': { |
83 'OTHER_LDFLAGS': [ | 89 'OTHER_LDFLAGS': [ |
84 # Not to strip important symbols by -Wl,-dead_strip. | 90 # Not to strip important symbols by -Wl,-dead_strip. |
(...skipping 19 matching lines...) Expand all Loading... |
104 'type': 'none', | 110 'type': 'none', |
105 'copies': [{ | 111 'copies': [{ |
106 # 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 |
107 # 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. |
108 'destination': '<(PRODUCT_DIR)', | 114 'destination': '<(PRODUCT_DIR)', |
109 'files': [ '<@(widevine_cdm_binary_files)' ], | 115 'files': [ '<@(widevine_cdm_binary_files)' ], |
110 }], | 116 }], |
111 }, | 117 }, |
112 ], | 118 ], |
113 } | 119 } |
OLD | NEW |