Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(317)

Side by Side Diff: media/gpu/BUILD.gn

Issue 2813303003: Add AndroidVideoSurfaceChooser to manage overlays. (Closed)
Patch Set: gn fixes for non-android Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 import("//media/gpu/args.gni") 7 import("//media/gpu/args.gni")
8 import("//media/media_options.gni") 8 import("//media/media_options.gni")
9 import("//testing/test.gni") 9 import("//testing/test.gni")
10 10
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 } 177 }
178 178
179 if (is_android) { 179 if (is_android) {
180 sources += [ 180 sources += [
181 "android_video_decode_accelerator.cc", 181 "android_video_decode_accelerator.cc",
182 "android_video_decode_accelerator.h", 182 "android_video_decode_accelerator.h",
183 "avda_codec_allocator.cc", 183 "avda_codec_allocator.cc",
184 "avda_codec_allocator.h", 184 "avda_codec_allocator.h",
185 "avda_codec_image.cc", 185 "avda_codec_image.cc",
186 "avda_codec_image.h", 186 "avda_codec_image.h",
187 "avda_overlay_helper.h",
188 "avda_overlay_helper_impl.cc",
189 "avda_overlay_helper_impl.h",
187 "avda_picture_buffer_manager.cc", 190 "avda_picture_buffer_manager.cc",
188 "avda_picture_buffer_manager.h", 191 "avda_picture_buffer_manager.h",
189 "avda_shared_state.cc", 192 "avda_shared_state.cc",
190 "avda_shared_state.h", 193 "avda_shared_state.h",
191 "avda_state_provider.h", 194 "avda_state_provider.h",
192 "avda_surface_bundle.cc", 195 "avda_surface_bundle.cc",
193 "avda_surface_bundle.h", 196 "avda_surface_bundle.h",
194 "content_video_view_overlay.cc", 197 "content_video_view_overlay.cc",
195 "content_video_view_overlay.h", 198 "content_video_view_overlay.h",
196 "content_video_view_overlay_allocator.cc", 199 "content_video_view_overlay_allocator.cc",
197 "content_video_view_overlay_allocator.h", 200 "content_video_view_overlay_allocator.h",
201 "content_video_view_overlay_factory.cc",
202 "content_video_view_overlay_factory.h",
198 "surface_texture_gl_owner.cc", 203 "surface_texture_gl_owner.cc",
199 "surface_texture_gl_owner.h", 204 "surface_texture_gl_owner.h",
200 ] 205 ]
201 206
202 if (enable_webrtc) { 207 if (enable_webrtc) {
203 deps += [ "//third_party/libyuv" ] 208 deps += [ "//third_party/libyuv" ]
204 sources += [ 209 sources += [
205 "android_video_encode_accelerator.cc", 210 "android_video_encode_accelerator.cc",
206 "android_video_encode_accelerator.h", 211 "android_video_encode_accelerator.h",
207 ] 212 ]
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 } 443 }
439 } 444 }
440 } 445 }
441 446
442 source_set("android_video_decode_accelerator_unittests") { 447 source_set("android_video_decode_accelerator_unittests") {
443 if (is_android) { 448 if (is_android) {
444 testonly = true 449 testonly = true
445 sources = [ 450 sources = [
446 "android_video_decode_accelerator_unittest.cc", 451 "android_video_decode_accelerator_unittest.cc",
447 "avda_codec_allocator_unittest.cc", 452 "avda_codec_allocator_unittest.cc",
453 "avda_overlay_helper_impl_unittest.cc",
448 "content_video_view_overlay_allocator_unittest.cc", 454 "content_video_view_overlay_allocator_unittest.cc",
449 "surface_texture_gl_owner_unittest.cc", 455 "surface_texture_gl_owner_unittest.cc",
450 ] 456 ]
451 if (enable_media_codec_video_decoder) { 457 if (enable_media_codec_video_decoder) {
452 sources += [ "android/media_codec_video_decoder_unittest.cc" ] 458 sources += [ "android/media_codec_video_decoder_unittest.cc" ]
453 } 459 }
454 deps = [ 460 deps = [
455 ":gpu", 461 ":gpu",
456 "//base/test:test_support", 462 "//base/test:test_support",
457 "//gpu:test_support", 463 "//gpu:test_support",
458 "//media", 464 "//media",
465 "//media/base/android:test_support",
459 "//testing/gmock", 466 "//testing/gmock",
460 "//testing/gtest", 467 "//testing/gtest",
461 ] 468 ]
462 } 469 }
463 } 470 }
464 471
465 if (is_chromeos || is_mac || is_win) { 472 if (is_chromeos || is_mac || is_win) {
466 test("video_encode_accelerator_unittest") { 473 test("video_encode_accelerator_unittest") {
467 deps = [ 474 deps = [
468 "//base", 475 "//base",
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
541 "//base/test:test_support", 548 "//base/test:test_support",
542 "//gpu:test_support", 549 "//gpu:test_support",
543 "//media/gpu/ipc/common", 550 "//media/gpu/ipc/common",
544 "//media/gpu/ipc/service", 551 "//media/gpu/ipc/service",
545 "//testing/gmock", 552 "//testing/gmock",
546 "//testing/gtest", 553 "//testing/gtest",
547 "//ui/gfx:test_support", 554 "//ui/gfx:test_support",
548 "//ui/gfx/geometry", 555 "//ui/gfx/geometry",
549 ] 556 ]
550 } 557 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698