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