Added more detailed result codes for CreateViewCommandBuffer.
[chromium-blink-merge.git] / components / cdm.gypi
blob9ae2843c9f2f5bf5a2d6c7db9e4969334a74a6c3
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       'conditions': [
40         ['OS == "android"', {
41           'sources': [
42             'cdm/renderer/android_key_systems.cc',
43             'cdm/renderer/android_key_systems.h',
44           ],
45         }],
46       ],
47     },
48   ],
49   'conditions': [
50     ['OS == "android"', {
51       'targets': [
52         {
53           'target_name': 'cdm_browser',
54           'type': 'static_library',
55           'dependencies': [
56             'cdm_common',
57             '../base/base.gyp:base',
58             '../content/content.gyp:content_browser',
59             '../content/content.gyp:content_common',
60             '../media/media.gyp:media',
61           ],
62           'sources': [
63             'cdm/browser/cdm_message_filter_android.cc',
64             'cdm/browser/cdm_message_filter_android.h',
65           ],
66         },
67       ],
68     }],
69   ],