OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 # GN verison: //components/cdm/common | 8 # GN verison: //components/cdm/common |
9 'target_name': 'cdm_common', | 9 'target_name': 'cdm_common', |
10 'type': 'static_library', | 10 'type': 'static_library', |
11 'dependencies': [ | 11 'dependencies': [ |
12 '../base/base.gyp:base', | 12 '../base/base.gyp:base', |
13 '../content/content.gyp:content_common', | 13 '../content/content.gyp:content_common', |
14 '../ipc/ipc.gyp:ipc', | 14 '../ipc/ipc.gyp:ipc', |
15 ], | 15 ], |
16 'sources': [ | 16 'sources': [ |
17 'cdm/common/cdm_message_generator.cc', | 17 'cdm/common/cdm_message_generator.cc', |
18 'cdm/common/cdm_message_generator.h', | 18 'cdm/common/cdm_message_generator.h', |
19 'cdm/common/cdm_messages_android.h', | 19 'cdm/common/cdm_messages_android.h', |
20 ], | 20 ], |
| 21 'conditions': [ |
| 22 ['OS == "android"', { |
| 23 'sources': [ |
| 24 'cdm/common/widevine_drm_delegate_android.cc', |
| 25 'cdm/common/widevine_drm_delegate_android.h', |
| 26 ], |
| 27 }], |
| 28 ], |
21 }, | 29 }, |
22 { | 30 { |
23 # GN version: //components/cdm/renderer | 31 # GN version: //components/cdm/renderer |
24 'target_name': 'cdm_renderer', | 32 'target_name': 'cdm_renderer', |
25 'type': 'static_library', | 33 'type': 'static_library', |
26 'dependencies': [ | 34 'dependencies': [ |
27 'cdm_common', | 35 'cdm_common', |
28 '../base/base.gyp:base', | 36 '../base/base.gyp:base', |
29 '../content/content.gyp:content_renderer', | 37 '../content/content.gyp:content_renderer', |
30 '../third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h', | 38 '../third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h', |
(...skipping 26 matching lines...) Expand all Loading... |
57 'dependencies': [ | 65 'dependencies': [ |
58 'cdm_common', | 66 'cdm_common', |
59 '../base/base.gyp:base', | 67 '../base/base.gyp:base', |
60 '../content/content.gyp:content_browser', | 68 '../content/content.gyp:content_browser', |
61 '../content/content.gyp:content_common', | 69 '../content/content.gyp:content_common', |
62 '../media/media.gyp:media', | 70 '../media/media.gyp:media', |
63 ], | 71 ], |
64 'sources': [ | 72 'sources': [ |
65 'cdm/browser/cdm_message_filter_android.cc', | 73 'cdm/browser/cdm_message_filter_android.cc', |
66 'cdm/browser/cdm_message_filter_android.h', | 74 'cdm/browser/cdm_message_filter_android.h', |
67 'cdm/browser/widevine_drm_delegate_android.cc', | |
68 'cdm/browser/widevine_drm_delegate_android.h', | |
69 ], | 75 ], |
70 }, | 76 }, |
71 ], | 77 ], |
72 }], | 78 }], |
73 ], | 79 ], |
74 } | 80 } |
OLD | NEW |