ui::PlatformWindowDelegate::OnClosed() isn't called when a ui::X11Window is closed
[chromium-blink-merge.git] / media / blink / media_blink.gyp
blob72751c7e614b4cb4659dc2783e3ee4bb4dec1112
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         'encrypted_media_player_support.cc',
36         'encrypted_media_player_support.h',
37         'cache_util.cc',
38         'cache_util.h',
39         'null_encrypted_media_player_support.cc',
40         'null_encrypted_media_player_support.h',
41         'texttrack_impl.cc',
42         'texttrack_impl.h',
43         'video_frame_compositor.cc',
44         'video_frame_compositor.h',
45         'webaudiosourceprovider_impl.cc',
46         'webaudiosourceprovider_impl.h',
47         'webinbandtexttrack_impl.cc',
48         'webinbandtexttrack_impl.h',
49         'webmediaplayer_delegate.h',
50         'webmediaplayer_impl.cc',
51         'webmediaplayer_impl.h',
52         'webmediaplayer_params.cc',
53         'webmediaplayer_params.h',
54         'webmediaplayer_util.cc',
55         'webmediaplayer_util.h',
56         'webmediasource_impl.cc',
57         'webmediasource_impl.h',
58         'websourcebuffer_impl.cc',
59         'websourcebuffer_impl.h',
60       ],
61       'conditions': [
62         ['OS=="android"', {
63           'sources!': [
64             'webmediaplayer_impl.cc',
65             'webmediaplayer_impl.h',
66           ],
67         }],
68       ],
69     },
70     {
71       'target_name': 'media_blink_unittests',
72       'type': '<(gtest_target_type)',
73       'dependencies': [
74         'media_blink',
75         '../media.gyp:media',
76         '../media.gyp:media_test_support',
77         '../../base/base.gyp:base',
78         '../../base/base.gyp:test_support_base',
79         '../../cc/cc.gyp:cc',
80         '../../cc/blink/cc_blink.gyp:cc_blink',
81         '../../net/net.gyp:net',
82         '../../testing/gmock.gyp:gmock',
83         '../../testing/gtest.gyp:gtest',
84         '../../third_party/WebKit/public/blink.gyp:blink',
85         '../../ui/gfx/gfx.gyp:gfx',
86         '../../ui/gfx/gfx.gyp:gfx_geometry',
87         '../../ui/gfx/gfx.gyp:gfx_test_support',
88         '../../url/url.gyp:url_lib',
89       ],
90       'sources': [
91         'buffered_data_source_host_impl_unittest.cc',
92         'buffered_data_source_unittest.cc',
93         'buffered_resource_loader_unittest.cc',
94         'cache_util_unittest.cc',
95         'mock_webframeclient.h',
96         'mock_weburlloader.cc',
97         'mock_weburlloader.h',
98         'run_all_unittests.cc',
99         'test_response_generator.cc',
100         'test_response_generator.h',
101         'video_frame_compositor_unittest.cc',
102         'webaudiosourceprovider_impl_unittest.cc',
103       ],
104     },
105   ]