| 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 | |
| 28 sources = [ | 11 sources = [ |
| 29 "active_loader.cc", | 12 "active_loader.cc", |
| 30 "active_loader.h", | 13 "active_loader.h", |
| 31 "buffered_data_source_host_impl.cc", | 14 "buffered_data_source_host_impl.cc", |
| 32 "buffered_data_source_host_impl.h", | 15 "buffered_data_source_host_impl.h", |
| 33 "cache_util.cc", | 16 "cache_util.cc", |
| 34 "cache_util.h", | 17 "cache_util.h", |
| 35 "cdm_result_promise.h", | 18 "cdm_result_promise.h", |
| 36 "cdm_result_promise_helper.cc", | 19 "cdm_result_promise_helper.cc", |
| 37 "cdm_result_promise_helper.h", | 20 "cdm_result_promise_helper.h", |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 "webmediaplayer_params.cc", | 59 "webmediaplayer_params.cc", |
| 77 "webmediaplayer_params.h", | 60 "webmediaplayer_params.h", |
| 78 "webmediaplayer_util.cc", | 61 "webmediaplayer_util.cc", |
| 79 "webmediaplayer_util.h", | 62 "webmediaplayer_util.h", |
| 80 "webmediasource_impl.cc", | 63 "webmediasource_impl.cc", |
| 81 "webmediasource_impl.h", | 64 "webmediasource_impl.h", |
| 82 "websourcebuffer_impl.cc", | 65 "websourcebuffer_impl.cc", |
| 83 "websourcebuffer_impl.h", | 66 "websourcebuffer_impl.h", |
| 84 ] | 67 ] |
| 85 | 68 |
| 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 |
| 86 if (media_use_ffmpeg || !is_android) { | 87 if (media_use_ffmpeg || !is_android) { |
| 87 sources += [ | 88 sources += [ |
| 88 "webmediaplayer_impl.cc", | 89 "webmediaplayer_impl.cc", |
| 89 "webmediaplayer_impl.h", | 90 "webmediaplayer_impl.h", |
| 90 ] | 91 ] |
| 91 if (is_android) { | 92 if (is_android) { |
| 92 sources += [ | 93 sources += [ |
| 93 "webmediaplayer_cast_android.cc", | 94 "webmediaplayer_cast_android.cc", |
| 94 "webmediaplayer_cast_android.h", | 95 "webmediaplayer_cast_android.h", |
| 95 ] | 96 ] |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 ] | 147 ] |
| 147 | 148 |
| 148 if (is_android) { | 149 if (is_android) { |
| 149 deps += [ | 150 deps += [ |
| 150 "//media/base/android", | 151 "//media/base/android", |
| 151 "//media/base/android:media_java", | 152 "//media/base/android:media_java", |
| 152 "//v8:v8_external_startup_data_assets", | 153 "//v8:v8_external_startup_data_assets", |
| 153 ] | 154 ] |
| 154 } | 155 } |
| 155 } | 156 } |
| OLD | NEW |