Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 'conditions': [ | 7 'conditions': [ |
| 8 ['OS == "android"', { | 8 ['OS == "android"', { |
| 9 # Android doesn't use ffmpeg. | 9 # Android doesn't use ffmpeg. |
| 10 'use_ffmpeg%': 0, | 10 'use_ffmpeg%': 0, |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 146 # Because clearkeycdm has type 'loadable_module' (see comments), | 146 # Because clearkeycdm has type 'loadable_module' (see comments), |
| 147 # we must explicitly specify this dependency. | 147 # we must explicitly specify this dependency. |
| 148 'libraries': [ | 148 'libraries': [ |
| 149 '-lrt', | 149 '-lrt', |
| 150 # Built by clearkeycdm. | 150 # Built by clearkeycdm. |
| 151 '<(PRODUCT_DIR)/libclearkeycdm.so', | 151 '<(PRODUCT_DIR)/libclearkeycdm.so', |
| 152 ], | 152 ], |
| 153 }], | 153 }], |
| 154 ], | 154 ], |
| 155 }, | 155 }, |
| 156 { | |
| 157 # GN version: //media/cdm/ppapi:stubcdm (TODO!!!) | |
| 158 'target_name': 'stubcdm', | |
|
xhwang
2015/04/02 18:51:52
We need to carefully test this to make sure it wor
jrummell
2015/04/02 23:47:55
Acknowledged.
| |
| 159 'type': 'none', | |
| 160 'conditions': [ | |
| 161 ['os_posix == 1 and OS != "mac"', { | |
| 162 'type': 'loadable_module', | |
| 163 }], | |
| 164 ['OS == "mac" or OS == "win"', { | |
| 165 'type': 'shared_library', | |
| 166 }], | |
| 167 ['OS == "mac"', { | |
| 168 'xcode_settings': { | |
| 169 'DYLIB_INSTALL_NAME_BASE': '@loader_path', | |
|
xhwang
2015/04/02 18:51:52
+rkuroiwa for comments: should this be @rpath?
jrummell
2015/04/02 23:47:55
This is simply copied from the clearkeycdm above.
| |
| 170 }, | |
| 171 }] | |
| 172 ], | |
| 173 'defines': ['CDM_IMPLEMENTATION'], | |
| 174 'dependencies': [ | |
| 175 '<(DEPTH)/base/base.gyp:base', | |
| 176 ], | |
| 177 'sources': [ | |
| 178 'cdm/stub/stub_cdm.cc', | |
| 179 'cdm/stub/stub_cdm.h', | |
| 180 ], | |
| 181 }, | |
| 156 ], | 182 ], |
| 157 }], | 183 }], |
| 158 ], | 184 ], |
| 159 } | 185 } |
| OLD | NEW |