use new api names for SkGraphics
[chromium-blink-merge.git] / components / cdm.gypi
blob618342cc070002ef8ed8416f169c165fc3e832ec
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_common',
30         '../content/content.gyp:content_renderer',
31         '../third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h',
32       ],
33       'include_dirs': [
34         # Needed by widevine_key_systems.cc.
35         '<(SHARED_INTERMEDIATE_DIR)',
36       ],
37       'sources': [
38         'cdm/renderer/widevine_key_systems.cc',
39         'cdm/renderer/widevine_key_systems.h',
40       ],
41       'conditions': [
42         ['OS == "android"', {
43           'sources': [
44             'cdm/renderer/android_key_systems.cc',
45             'cdm/renderer/android_key_systems.h',
46           ],
47         }],
48       ],
49     },
50   ],
51   'conditions': [
52     ['OS == "android"', {
53       'targets': [
54         {
55           # GN version: //components/cdm/browser
56           'target_name': 'cdm_browser',
57           'type': 'static_library',
58           'dependencies': [
59             'cdm_common',
60             '../base/base.gyp:base',
61             '../content/content.gyp:content_browser',
62             '../content/content.gyp:content_common',
63             '../media/media.gyp:media',
64           ],
65           'sources': [
66             'cdm/browser/cdm_message_filter_android.cc',
67             'cdm/browser/cdm_message_filter_android.h',
68           ],
69         },
70       ],
71     }],
72   ],