Revert of Roll src/third_party/WebKit e0eac24:489c548 (svn 193311:193320) (patchset...
[chromium-blink-merge.git] / media / blink / media_blink.gyp
blobfc1f5b1aec3d3f60e3c681ccc25892aae434c7df
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 version: //media/blink
9       'target_name': 'media_blink',
10       'type': '<(component)',
11       'dependencies': [
12         '../../base/base.gyp:base',
13         '../../cc/cc.gyp:cc',
14         '../../cc/blink/cc_blink.gyp:cc_blink',
15         '../../gpu/blink/gpu_blink.gyp:gpu_blink',
16         '../../ui/gfx/gfx.gyp:gfx_geometry',
17         '../../net/net.gyp:net',
18         '../../skia/skia.gyp:skia',
19         '../../third_party/WebKit/public/blink.gyp:blink',
20         '../media.gyp:media',
21         '../media.gyp:shared_memory_support',
22         '../../url/url.gyp:url_lib',
23       ],
24       'defines': [
25         'MEDIA_IMPLEMENTATION',
26       ],
27       # This sources list is duplicated in //media/blink/BUILD.gn
28       'sources': [
29         'active_loader.cc',
30         'active_loader.h',
31         'buffered_data_source.cc',
32         'buffered_data_source.h',
33         'buffered_data_source_host_impl.cc',
34         'buffered_data_source_host_impl.h',
35         'buffered_resource_loader.cc',
36         'buffered_resource_loader.h',
37         'cache_util.cc',
38         'cache_util.h',
39         'cdm_result_promise.h',
40         'cdm_result_promise_helper.cc',
41         'cdm_result_promise_helper.h',
42         'cdm_session_adapter.cc',
43         'cdm_session_adapter.h',
44         'encrypted_media_player_support.cc',
45         'encrypted_media_player_support.h',
46         'key_system_config_selector.cc',
47         'key_system_config_selector.h',
48         'new_session_cdm_result_promise.cc',
49         'new_session_cdm_result_promise.h',
50         'texttrack_impl.cc',
51         'texttrack_impl.h',
52         'video_frame_compositor.cc',
53         'video_frame_compositor.h',
54         'webaudiosourceprovider_impl.cc',
55         'webaudiosourceprovider_impl.h',
56         'webcontentdecryptionmodule_impl.cc',
57         'webcontentdecryptionmodule_impl.h',
58         'webcontentdecryptionmoduleaccess_impl.cc',
59         'webcontentdecryptionmoduleaccess_impl.h',
60         'webcontentdecryptionmodulesession_impl.cc',
61         'webcontentdecryptionmodulesession_impl.h',
62         'webencryptedmediaclient_impl.cc',
63         'webencryptedmediaclient_impl.h',
64         'webinbandtexttrack_impl.cc',
65         'webinbandtexttrack_impl.h',
66         'webmediaplayer_delegate.h',
67         'webmediaplayer_impl.cc',
68         'webmediaplayer_impl.h',
69         'webmediaplayer_params.cc',
70         'webmediaplayer_params.h',
71         'webmediaplayer_util.cc',
72         'webmediaplayer_util.h',
73         'webmediasource_impl.cc',
74         'webmediasource_impl.h',
75         'websourcebuffer_impl.cc',
76         'websourcebuffer_impl.h',
77       ],
78       'conditions': [
79         ['OS=="android"', {
80           'sources!': [
81             'encrypted_media_player_support.cc',
82             'encrypted_media_player_support.h',
83             'webmediaplayer_impl.cc',
84             'webmediaplayer_impl.h',
85           ],
86         }],
87       ],
88     },
89     {
90       'target_name': 'media_blink_unittests',
91       'type': '<(gtest_target_type)',
92       'dependencies': [
93         'media_blink',
94         '../media.gyp:media',
95         '../media.gyp:media_test_support',
96         '../../base/base.gyp:base',
97         '../../base/base.gyp:test_support_base',
98         '../../cc/cc.gyp:cc',
99         '../../cc/blink/cc_blink.gyp:cc_blink',
100         '../../gin/gin.gyp:gin',
101         '../../net/net.gyp:net',
102         '../../testing/gmock.gyp:gmock',
103         '../../testing/gtest.gyp:gtest',
104         '../../third_party/WebKit/public/blink.gyp:blink',
105         '../../ui/gfx/gfx.gyp:gfx',
106         '../../ui/gfx/gfx.gyp:gfx_geometry',
107         '../../ui/gfx/gfx.gyp:gfx_test_support',
108         '../../url/url.gyp:url_lib',
109       ],
110       'sources': [
111         'buffered_data_source_host_impl_unittest.cc',
112         'buffered_data_source_unittest.cc',
113         'buffered_resource_loader_unittest.cc',
114         'cache_util_unittest.cc',
115         'mock_webframeclient.h',
116         'mock_weburlloader.cc',
117         'mock_weburlloader.h',
118         'run_all_unittests.cc',
119         'test_response_generator.cc',
120         'test_response_generator.h',
121         'video_frame_compositor_unittest.cc',
122         'webaudiosourceprovider_impl_unittest.cc',
123       ],
124     },
125   ]