| OLD | NEW |
| 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 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 "avda_surface_bundle.cc", | 197 "avda_surface_bundle.cc", |
| 198 "avda_surface_bundle.h", | 198 "avda_surface_bundle.h", |
| 199 "content_video_view_overlay.cc", | 199 "content_video_view_overlay.cc", |
| 200 "content_video_view_overlay.h", | 200 "content_video_view_overlay.h", |
| 201 "content_video_view_overlay_allocator.cc", | 201 "content_video_view_overlay_allocator.cc", |
| 202 "content_video_view_overlay_allocator.h", | 202 "content_video_view_overlay_allocator.h", |
| 203 "surface_texture_gl_owner.cc", | 203 "surface_texture_gl_owner.cc", |
| 204 "surface_texture_gl_owner.h", | 204 "surface_texture_gl_owner.h", |
| 205 ] | 205 ] |
| 206 | 206 |
| 207 deps += [ "//media/mojo:features" ] |
| 208 |
| 207 if (enable_webrtc) { | 209 if (enable_webrtc) { |
| 208 deps += [ "//third_party/libyuv" ] | 210 deps += [ "//third_party/libyuv" ] |
| 209 sources += [ | 211 sources += [ |
| 210 "android_video_encode_accelerator.cc", | 212 "android_video_encode_accelerator.cc", |
| 211 "android_video_encode_accelerator.h", | 213 "android_video_encode_accelerator.h", |
| 212 ] | 214 ] |
| 213 } | 215 } |
| 214 | 216 |
| 215 if (enable_media_codec_video_decoder) { | 217 if (enable_media_codec_video_decoder) { |
| 216 sources += [ | 218 sources += [ |
| 217 "android/media_codec_video_decoder.cc", | 219 "android/media_codec_video_decoder.cc", |
| 218 "android/media_codec_video_decoder.h", | 220 "android/media_codec_video_decoder.h", |
| 219 ] | 221 ] |
| 220 } | 222 } |
| 221 | 223 |
| 222 # TODO(xhwang): This is needed for AVDA to access the CDM directly. | 224 # TODO(xhwang): This is needed for AVDA to access the CDM directly. |
| 223 # Remove this dependency after VDAs are also running as part of the mojo | 225 # Remove this dependency after VDAs are also running as part of the mojo |
| 224 # media service. See http://crbug.com/522298 | 226 # media service. See http://crbug.com/522298 |
| 225 if (mojo_media_host == "gpu") { | 227 if (mojo_media_host == "gpu") { |
| 226 deps += [ "//media:cdm_manager" ] | 228 deps += [ "//media:cdm_manager" ] |
| 227 configs += [ "//media/mojo/services:mojo_media_config" ] | |
| 228 } | 229 } |
| 229 } | 230 } |
| 230 | 231 |
| 231 if (is_chromeos || is_win) { | 232 if (is_chromeos || is_win) { |
| 232 sources += [ | 233 sources += [ |
| 233 "accelerated_video_decoder.h", | 234 "accelerated_video_decoder.h", |
| 234 "h264_decoder.cc", | 235 "h264_decoder.cc", |
| 235 "h264_decoder.h", | 236 "h264_decoder.h", |
| 236 "h264_dpb.cc", | 237 "h264_dpb.cc", |
| 237 "h264_dpb.h", | 238 "h264_dpb.h", |
| (...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 549 "//base/test:test_support", | 550 "//base/test:test_support", |
| 550 "//gpu:test_support", | 551 "//gpu:test_support", |
| 551 "//media/gpu/ipc/common", | 552 "//media/gpu/ipc/common", |
| 552 "//media/gpu/ipc/service", | 553 "//media/gpu/ipc/service", |
| 553 "//testing/gmock", | 554 "//testing/gmock", |
| 554 "//testing/gtest", | 555 "//testing/gtest", |
| 555 "//ui/gfx:test_support", | 556 "//ui/gfx:test_support", |
| 556 "//ui/gfx/geometry", | 557 "//ui/gfx/geometry", |
| 557 ] | 558 ] |
| 558 } | 559 } |
| OLD | NEW |