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