Revert "Reland c91b178b07b0d - Delete dead signin code (SigninGlobalError)"
[chromium-blink-merge.git] / components / cdm.gypi
blob853ff35d5c0f7eb79e7c14c1edebdd9c990538e9
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
3 # found in the LICENSE file.
6   'targets': [
7     {
8       # GN verison: //components/cdm/common
9       'target_name': 'cdm_common',
10       'type': 'static_library',
11       'dependencies': [
12         '../base/base.gyp:base',
13         '../content/content.gyp:content_common',
14         '../ipc/ipc.gyp:ipc',
15       ],
16       'sources': [
17         'cdm/common/cdm_message_generator.cc',
18         'cdm/common/cdm_message_generator.h',
19         'cdm/common/cdm_messages_android.h',
20       ],
21     },
22     {
23       # GN version: //components/cdm/renderer
24       'target_name': 'cdm_renderer',
25       'type': 'static_library',
26       'dependencies': [
27         'cdm_common',
28         '../base/base.gyp:base',
29         '../content/content.gyp:content_renderer',
30         '../third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h',
31       ],
32       'include_dirs': [
33         # Needed by widevine_key_systems.cc.
34         '<(SHARED_INTERMEDIATE_DIR)',
35       ],
36       'sources': [
37         'cdm/renderer/widevine_key_systems.cc',
38         'cdm/renderer/widevine_key_systems.h',
39       ],
40       'conditions': [
41         ['OS == "android"', {
42           'sources': [
43             'cdm/renderer/android_key_systems.cc',
44             'cdm/renderer/android_key_systems.h',
45           ],
46         }],
47       ],
48     },
49   ],
50   'conditions': [
51     ['OS == "android"', {
52       'targets': [
53         {
54           # GN version: //components/cdm/browser
55           'target_name': 'cdm_browser',
56           'type': 'static_library',
57           'dependencies': [
58             'cdm_common',
59             '../base/base.gyp:base',
60             '../content/content.gyp:content_browser',
61             '../content/content.gyp:content_common',
62             '../media/media.gyp:media',
63           ],
64           'sources': [
65             'cdm/browser/cdm_message_filter_android.cc',
66             'cdm/browser/cdm_message_filter_android.h',
67             'cdm/browser/widevine_drm_delegate_android.cc',
68             'cdm/browser/widevine_drm_delegate_android.h',
69           ],
70         },
71       ],
72     }],
73   ],