| 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 = [ | 11 deps = [ |
| 12 "//base", | 12 "//base", |
| 13 "//cc", | 13 "//cc", |
| 14 "//cc/blink", | 14 "//cc/blink", |
| 15 "//gpu", |
| 15 "//gpu/blink", | 16 "//gpu/blink", |
| 16 "//media", | 17 "//media", |
| 17 "//media:shared_memory_support", | 18 "//media:shared_memory_support", |
| 18 "//net", | 19 "//net", |
| 19 "//skia", | 20 "//skia", |
| 20 "//third_party/WebKit/public:blink", | 21 "//third_party/WebKit/public:blink", |
| 21 "//ui/gfx", | 22 "//ui/gfx", |
| 22 "//ui/gfx/geometry", | 23 "//ui/gfx/geometry", |
| 23 "//url", | 24 "//url", |
| 24 ] | 25 ] |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 "websourcebuffer_impl.h", | 86 "websourcebuffer_impl.h", |
| 86 ] | 87 ] |
| 87 | 88 |
| 88 if (media_use_ffmpeg || !is_android) { | 89 if (media_use_ffmpeg || !is_android) { |
| 89 sources += [ | 90 sources += [ |
| 90 "encrypted_media_player_support.cc", | 91 "encrypted_media_player_support.cc", |
| 91 "encrypted_media_player_support.h", | 92 "encrypted_media_player_support.h", |
| 92 "webmediaplayer_impl.cc", | 93 "webmediaplayer_impl.cc", |
| 93 "webmediaplayer_impl.h", | 94 "webmediaplayer_impl.h", |
| 94 ] | 95 ] |
| 96 if (is_android) { |
| 97 sources += [ |
| 98 "webmediaplayer_cast_android.cc", |
| 99 "webmediaplayer_cast_android.h", |
| 100 ] |
| 101 } |
| 95 } | 102 } |
| 96 } | 103 } |
| 97 | 104 |
| 98 test("media_blink_unittests") { | 105 test("media_blink_unittests") { |
| 99 deps = [ | 106 deps = [ |
| 100 ":blink", | 107 ":blink", |
| 101 "//base", | 108 "//base", |
| 102 "//base/test:test_support", | 109 "//base/test:test_support", |
| 103 "//cc", | 110 "//cc", |
| 104 "//cc/blink", | 111 "//cc/blink", |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 } | 156 } |
| 150 | 157 |
| 151 # TODO(GYP): Delete this after we've converted everything to GN. | 158 # TODO(GYP): Delete this after we've converted everything to GN. |
| 152 # The _run targets exist only for compatibility w/ GYP. | 159 # The _run targets exist only for compatibility w/ GYP. |
| 153 group("media_blink_unittests_run") { | 160 group("media_blink_unittests_run") { |
| 154 testonly = true | 161 testonly = true |
| 155 deps = [ | 162 deps = [ |
| 156 ":media_blink_unittests", | 163 ":media_blink_unittests", |
| 157 ] | 164 ] |
| 158 } | 165 } |
| OLD | NEW |