| 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 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 ] | 214 ] |
| 215 | 215 |
| 216 if (enable_webrtc) { | 216 if (enable_webrtc) { |
| 217 deps += [ "//third_party/libyuv" ] | 217 deps += [ "//third_party/libyuv" ] |
| 218 sources += [ | 218 sources += [ |
| 219 "android_video_encode_accelerator.cc", | 219 "android_video_encode_accelerator.cc", |
| 220 "android_video_encode_accelerator.h", | 220 "android_video_encode_accelerator.h", |
| 221 ] | 221 ] |
| 222 } | 222 } |
| 223 | 223 |
| 224 # TODO(xhwang): This is needed for AVDA to access the CDM directly. |
| 225 # Remove this dependency after VDAs are also running as part of the mojo |
| 226 # media application. See http://crbug.com/522298 |
| 224 if (mojo_media_host == "gpu") { | 227 if (mojo_media_host == "gpu") { |
| 225 deps += [ "//media/mojo/services:cdm_service" ] | 228 deps += [ "//media/mojo/services" ] |
| 226 } | 229 } |
| 227 } | 230 } |
| 228 | 231 |
| 229 if (is_chromeos) { | 232 if (is_chromeos) { |
| 230 sources += [ | 233 sources += [ |
| 231 "accelerated_video_decoder.h", | 234 "accelerated_video_decoder.h", |
| 232 "h264_decoder.cc", | 235 "h264_decoder.cc", |
| 233 "h264_decoder.h", | 236 "h264_decoder.h", |
| 234 "h264_dpb.cc", | 237 "h264_dpb.cc", |
| 235 "h264_dpb.h", | 238 "h264_dpb.h", |
| (...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 444 "video_encode_accelerator_unittest.cc", | 447 "video_encode_accelerator_unittest.cc", |
| 445 ] | 448 ] |
| 446 if (use_x11) { | 449 if (use_x11) { |
| 447 deps += [ "//ui/gfx/x" ] | 450 deps += [ "//ui/gfx/x" ] |
| 448 } | 451 } |
| 449 if (use_ozone) { | 452 if (use_ozone) { |
| 450 deps += [ "//ui/ozone" ] | 453 deps += [ "//ui/ozone" ] |
| 451 } | 454 } |
| 452 } | 455 } |
| 453 } | 456 } |
| OLD | NEW |