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 # This file defines a common base target for all CDM adapter implementations. | 5 # This file defines a common base target for all CDM adapter implementations. |
6 # We use 'direct_dependent_settings' to override target type and settings so | 6 # We use 'direct_dependent_settings' to override target type and settings so |
7 # that all CDM adapter implementations have the correct type and settings | 7 # that all CDM adapter implementations have the correct type and settings |
8 # automatically. | 8 # automatically. |
9 # | 9 # |
10 # WARNING: Keep 'cdmadapter' target out of media.gyp. /build/all.gyp:All depends | 10 # WARNING: Keep 'cdmadapter' target out of media.gyp. /build/all.gyp:All depends |
11 # directly on media.gyp:*. If 'cdmadapter' is defined in media.gyp, then | 11 # directly on media.gyp:*. If 'cdmadapter' is defined in media.gyp, then |
12 # 'direct_dependent_settings' will be applied to 'All' target and bad | 12 # 'direct_dependent_settings' will be applied to 'All' target and bad |
13 # things happen, e.g. the type of 'All' target becomes a plugin on Mac. | 13 # things happen, e.g. the type of 'All' target becomes a plugin on Mac. |
14 { | 14 { |
15 'conditions': [ | 15 'conditions': [ |
16 ['enable_pepper_cdms==1', { | 16 ['enable_pepper_cdms==1', { |
17 'targets': [ | 17 'targets': [ |
18 { | 18 { |
19 'target_name': 'cdmadapter', | 19 'target_name': 'cdmadapter', |
20 'type': 'none', | 20 'type': 'none', |
21 'dependencies': [ | |
22 '../url/url.gyp:url_lib', | |
xhwang
2014/05/27 16:33:45
Can you try to add this dependency on "clearkeycdm
ddorwin
2014/05/27 17:00:14
And it shouldn't be here.
The issue is that clear
| |
23 ], | |
21 'direct_dependent_settings': { | 24 'direct_dependent_settings': { |
22 'sources': [ | 25 'sources': [ |
23 'cdm/ppapi/api/content_decryption_module.h', | 26 'cdm/ppapi/api/content_decryption_module.h', |
24 'cdm/ppapi/cdm_adapter.cc', | 27 'cdm/ppapi/cdm_adapter.cc', |
25 'cdm/ppapi/cdm_adapter.h', | 28 'cdm/ppapi/cdm_adapter.h', |
26 'cdm/ppapi/cdm_file_io_impl.cc', | 29 'cdm/ppapi/cdm_file_io_impl.cc', |
27 'cdm/ppapi/cdm_file_io_impl.h', | 30 'cdm/ppapi/cdm_file_io_impl.h', |
28 'cdm/ppapi/cdm_helpers.cc', | 31 'cdm/ppapi/cdm_helpers.cc', |
29 'cdm/ppapi/cdm_helpers.h', | 32 'cdm/ppapi/cdm_helpers.h', |
30 'cdm/ppapi/cdm_logging.cc', | 33 'cdm/ppapi/cdm_logging.cc', |
(...skipping 27 matching lines...) Expand all Loading... | |
58 'DYLIB_INSTALL_NAME_BASE': '@loader_path', | 61 'DYLIB_INSTALL_NAME_BASE': '@loader_path', |
59 }, | 62 }, |
60 }], | 63 }], |
61 ], | 64 ], |
62 }, | 65 }, |
63 }, | 66 }, |
64 ], | 67 ], |
65 }], | 68 }], |
66 ], | 69 ], |
67 } | 70 } |
OLD | NEW |