OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//testing/test.gni") | 5 import("//testing/test.gni") |
6 | 6 |
7 component("blink") { | 7 component("blink") { |
8 output_name = "media_blink" | 8 output_name = "media_blink" |
9 | 9 |
10 deps = [ | 10 deps = [ |
11 "//base", | 11 "//base", |
12 "//cc", | 12 "//cc", |
13 "//cc/blink", | 13 "//cc/blink", |
14 "//gpu/blink", | 14 "//gpu/blink", |
15 "//media", | 15 "//media", |
16 "//media:shared_memory_support", | 16 "//media:shared_memory_support", |
17 "//net", | 17 "//net", |
18 "//skia", | 18 "//skia", |
19 "//third_party/WebKit/public:blink", | 19 "//third_party/WebKit/public:blink", |
20 "//ui/gfx", | 20 "//ui/gfx", |
21 "//ui/gfx/geometry", | 21 "//ui/gfx/geometry", |
22 "//url", | 22 "//url", |
23 ] | 23 ] |
24 | 24 |
25 defines = [ "MEDIA_IMPLEMENTATION" ] | 25 defines = [ "MEDIA_BLINK_IMPLEMENTATION" ] |
26 | 26 |
27 sources = [ | 27 sources = [ |
28 "active_loader.cc", | 28 "active_loader.cc", |
29 "active_loader.h", | 29 "active_loader.h", |
30 "buffered_data_source.cc", | 30 "buffered_data_source.cc", |
31 "buffered_data_source.h", | 31 "buffered_data_source.h", |
32 "buffered_data_source_host_impl.cc", | 32 "buffered_data_source_host_impl.cc", |
33 "buffered_data_source_host_impl.h", | 33 "buffered_data_source_host_impl.h", |
34 "buffered_resource_loader.cc", | 34 "buffered_resource_loader.cc", |
35 "buffered_resource_loader.h", | 35 "buffered_resource_loader.h", |
36 "cache_util.cc", | 36 "cache_util.cc", |
37 "cache_util.h", | 37 "cache_util.h", |
38 "cdm_result_promise.h", | 38 "cdm_result_promise.h", |
39 "cdm_result_promise_helper.cc", | 39 "cdm_result_promise_helper.cc", |
40 "cdm_result_promise_helper.h", | 40 "cdm_result_promise_helper.h", |
41 "cdm_session_adapter.cc", | 41 "cdm_session_adapter.cc", |
42 "cdm_session_adapter.h", | 42 "cdm_session_adapter.h", |
43 "encrypted_media_player_support.cc", | 43 "encrypted_media_player_support.cc", |
44 "encrypted_media_player_support.h", | 44 "encrypted_media_player_support.h", |
45 "key_system_config_selector.cc", | 45 "key_system_config_selector.cc", |
46 "key_system_config_selector.h", | 46 "key_system_config_selector.h", |
47 "lru.h", | 47 "lru.h", |
| 48 "media_blink_export.h", |
48 "multibuffer.cc", | 49 "multibuffer.cc", |
49 "multibuffer.h", | 50 "multibuffer.h", |
| 51 "multibuffer_data_source.cc", |
| 52 "multibuffer_data_source.h", |
50 "multibuffer_reader.cc", | 53 "multibuffer_reader.cc", |
51 "multibuffer_reader.h", | 54 "multibuffer_reader.h", |
52 "new_session_cdm_result_promise.cc", | 55 "new_session_cdm_result_promise.cc", |
53 "new_session_cdm_result_promise.h", | 56 "new_session_cdm_result_promise.h", |
54 "rangemap.h", | 57 "rangemap.h", |
| 58 "resource_multibuffer.cc", |
| 59 "resource_multibuffer.h", |
| 60 "resource_multibuffer_data_provider.cc", |
| 61 "resource_multibuffer_data_provider.h", |
55 "texttrack_impl.cc", | 62 "texttrack_impl.cc", |
56 "texttrack_impl.h", | 63 "texttrack_impl.h", |
57 "url_index.cc", | 64 "url_index.cc", |
58 "url_index.h", | 65 "url_index.h", |
59 "video_frame_compositor.cc", | 66 "video_frame_compositor.cc", |
60 "video_frame_compositor.h", | 67 "video_frame_compositor.h", |
61 "webaudiosourceprovider_impl.cc", | 68 "webaudiosourceprovider_impl.cc", |
62 "webaudiosourceprovider_impl.h", | 69 "webaudiosourceprovider_impl.h", |
63 "webcontentdecryptionmodule_impl.cc", | 70 "webcontentdecryptionmodule_impl.cc", |
64 "webcontentdecryptionmodule_impl.h", | 71 "webcontentdecryptionmodule_impl.h", |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 sources = [ | 127 sources = [ |
121 "buffered_data_source_host_impl_unittest.cc", | 128 "buffered_data_source_host_impl_unittest.cc", |
122 "buffered_data_source_unittest.cc", | 129 "buffered_data_source_unittest.cc", |
123 "buffered_resource_loader_unittest.cc", | 130 "buffered_resource_loader_unittest.cc", |
124 "cache_util_unittest.cc", | 131 "cache_util_unittest.cc", |
125 "key_system_config_selector_unittest.cc", | 132 "key_system_config_selector_unittest.cc", |
126 "lru_unittest.cc", | 133 "lru_unittest.cc", |
127 "mock_webframeclient.h", | 134 "mock_webframeclient.h", |
128 "mock_weburlloader.cc", | 135 "mock_weburlloader.cc", |
129 "mock_weburlloader.h", | 136 "mock_weburlloader.h", |
| 137 "multibuffer_data_source_unittest.cc", |
130 "multibuffer_unittest.cc", | 138 "multibuffer_unittest.cc", |
131 "rangemap_unittest.cc", | 139 "rangemap_unittest.cc", |
132 "run_all_unittests.cc", | 140 "run_all_unittests.cc", |
133 "test_response_generator.cc", | 141 "test_response_generator.cc", |
134 "test_response_generator.h", | 142 "test_response_generator.h", |
135 "url_index_unittests.cc", | 143 "url_index_unittests.cc", |
136 "video_frame_compositor_unittest.cc", | 144 "video_frame_compositor_unittest.cc", |
137 "webaudiosourceprovider_impl_unittest.cc", | 145 "webaudiosourceprovider_impl_unittest.cc", |
138 ] | 146 ] |
139 | 147 |
140 if (is_android) { | 148 if (is_android) { |
141 deps += [ "//ui/gl" ] | 149 deps += [ "//ui/gl" ] |
142 } | 150 } |
143 } | 151 } |
144 | 152 |
145 # TODO(GYP): Delete this after we've converted everything to GN. | 153 # TODO(GYP): Delete this after we've converted everything to GN. |
146 # The _run targets exist only for compatibility w/ GYP. | 154 # The _run targets exist only for compatibility w/ GYP. |
147 group("media_blink_unittests_run") { | 155 group("media_blink_unittests_run") { |
148 testonly = true | 156 testonly = true |
149 deps = [ | 157 deps = [ |
150 ":media_blink_unittests", | 158 ":media_blink_unittests", |
151 ] | 159 ] |
152 } | 160 } |
OLD | NEW |