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("//media/media_options.gni") | 5 import("//media/media_options.gni") |
6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 | 7 |
8 component("blink") { | 8 component("blink") { |
9 output_name = "media_blink" | 9 output_name = "media_blink" |
10 | 10 |
| 11 deps = [ |
| 12 "//base", |
| 13 "//cc", |
| 14 "//cc/blink", |
| 15 "//gpu", |
| 16 "//media", |
| 17 "//media:shared_memory_support", |
| 18 "//net", |
| 19 "//skia", |
| 20 "//third_party/WebKit/public:blink", |
| 21 "//ui/gfx", |
| 22 "//ui/gfx/geometry", |
| 23 "//url", |
| 24 ] |
| 25 |
| 26 defines = [ "MEDIA_BLINK_IMPLEMENTATION" ] |
| 27 |
11 sources = [ | 28 sources = [ |
12 "active_loader.cc", | 29 "active_loader.cc", |
13 "active_loader.h", | 30 "active_loader.h", |
14 "buffered_data_source_host_impl.cc", | 31 "buffered_data_source_host_impl.cc", |
15 "buffered_data_source_host_impl.h", | 32 "buffered_data_source_host_impl.h", |
16 "cache_util.cc", | 33 "cache_util.cc", |
17 "cache_util.h", | 34 "cache_util.h", |
18 "cdm_result_promise.h", | 35 "cdm_result_promise.h", |
19 "cdm_result_promise_helper.cc", | 36 "cdm_result_promise_helper.cc", |
20 "cdm_result_promise_helper.h", | 37 "cdm_result_promise_helper.h", |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 "webmediaplayer_params.cc", | 76 "webmediaplayer_params.cc", |
60 "webmediaplayer_params.h", | 77 "webmediaplayer_params.h", |
61 "webmediaplayer_util.cc", | 78 "webmediaplayer_util.cc", |
62 "webmediaplayer_util.h", | 79 "webmediaplayer_util.h", |
63 "webmediasource_impl.cc", | 80 "webmediasource_impl.cc", |
64 "webmediasource_impl.h", | 81 "webmediasource_impl.h", |
65 "websourcebuffer_impl.cc", | 82 "websourcebuffer_impl.cc", |
66 "websourcebuffer_impl.h", | 83 "websourcebuffer_impl.h", |
67 ] | 84 ] |
68 | 85 |
69 defines = [ "MEDIA_BLINK_IMPLEMENTATION" ] | |
70 | |
71 deps = [ | |
72 "//base", | |
73 "//cc", | |
74 "//cc/blink", | |
75 "//gpu", | |
76 "//media", | |
77 "//media:shared_memory_support", | |
78 "//net", | |
79 "//ppapi/features", | |
80 "//skia", | |
81 "//third_party/WebKit/public:blink", | |
82 "//ui/gfx", | |
83 "//ui/gfx/geometry", | |
84 "//url", | |
85 ] | |
86 | |
87 if (media_use_ffmpeg || !is_android) { | 86 if (media_use_ffmpeg || !is_android) { |
88 sources += [ | 87 sources += [ |
89 "webmediaplayer_impl.cc", | 88 "webmediaplayer_impl.cc", |
90 "webmediaplayer_impl.h", | 89 "webmediaplayer_impl.h", |
91 ] | 90 ] |
92 if (is_android) { | 91 if (is_android) { |
93 sources += [ | 92 sources += [ |
94 "webmediaplayer_cast_android.cc", | 93 "webmediaplayer_cast_android.cc", |
95 "webmediaplayer_cast_android.h", | 94 "webmediaplayer_cast_android.h", |
96 ] | 95 ] |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 ] | 146 ] |
148 | 147 |
149 if (is_android) { | 148 if (is_android) { |
150 deps += [ | 149 deps += [ |
151 "//media/base/android", | 150 "//media/base/android", |
152 "//media/base/android:media_java", | 151 "//media/base/android:media_java", |
153 "//v8:v8_external_startup_data_assets", | 152 "//v8:v8_external_startup_data_assets", |
154 ] | 153 ] |
155 } | 154 } |
156 } | 155 } |
OLD | NEW |