Removing WTL from content runner.
[chromium-blink-merge.git] / components / cdm.gypi
blob14f9234180b5d041a86d818400b144b4609f0ffa
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       'target_name': 'cdm_common',
9       'type': 'static_library',
10       'dependencies': [
11         '../base/base.gyp:base',
12         '../content/content.gyp:content_common',
13         '../ipc/ipc.gyp:ipc',
14       ],
15       'sources': [
16         'cdm/common/cdm_message_generator.cc',
17         'cdm/common/cdm_message_generator.h',
18         'cdm/common/cdm_messages_android.h',
19       ],
20     },
21     {
22       'target_name': 'cdm_renderer',
23       'type': 'static_library',
24       'dependencies': [
25         'cdm_common',
26         '../base/base.gyp:base',
27         '../content/content.gyp:content_common',
28         '../content/content.gyp:content_renderer',
29         '../third_party/widevine/cdm/widevine_cdm.gyp:widevine_cdm_version_h',
30       ],
31       'include_dirs': [
32         # Needed by widevine_key_systems.cc.
33         '<(SHARED_INTERMEDIATE_DIR)',
34       ],
35       'sources': [
36         'cdm/renderer/widevine_key_systems.cc',
37         'cdm/renderer/widevine_key_systems.h',
38       ],
39     },
40   ],
41   'conditions': [
42     ['OS == "android"', {
43       'targets': [
44         {
45           'target_name': 'cdm_browser',
46           'type': 'static_library',
47           'dependencies': [
48             'cdm_common',
49             '../base/base.gyp:base',
50             '../content/content.gyp:content_browser',
51             '../content/content.gyp:content_common',
52             '../media/media.gyp:media',
53           ],
54           'sources': [
55             'cdm/browser/cdm_message_filter_android.cc',
56             'cdm/browser/cdm_message_filter_android.h',
57           ],
58         },
59       ],
60     }],
61   ],