| 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 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 225 if (enable_webrtc) { | 225 if (enable_webrtc) { |
| 226 deps += [ "//third_party/libyuv" ] | 226 deps += [ "//third_party/libyuv" ] |
| 227 sources += [ | 227 sources += [ |
| 228 "android_video_encode_accelerator.cc", | 228 "android_video_encode_accelerator.cc", |
| 229 "android_video_encode_accelerator.h", | 229 "android_video_encode_accelerator.h", |
| 230 ] | 230 ] |
| 231 } | 231 } |
| 232 | 232 |
| 233 # TODO(xhwang): This is needed for AVDA to access the CDM directly. | 233 # TODO(xhwang): This is needed for AVDA to access the CDM directly. |
| 234 # Remove this dependency after VDAs are also running as part of the mojo | 234 # Remove this dependency after VDAs are also running as part of the mojo |
| 235 # media application. See http://crbug.com/522298 | 235 # media service. See http://crbug.com/522298 |
| 236 if (mojo_media_host == "gpu") { | 236 if (mojo_media_host == "gpu") { |
| 237 deps += [ "//media/mojo/services" ] | 237 deps += [ "//media/mojo/services" ] |
| 238 } | 238 } |
| 239 } | 239 } |
| 240 | 240 |
| 241 if (is_chromeos) { | 241 if (is_chromeos) { |
| 242 sources += [ | 242 sources += [ |
| 243 "accelerated_video_decoder.h", | 243 "accelerated_video_decoder.h", |
| 244 "h264_decoder.cc", | 244 "h264_decoder.cc", |
| 245 "h264_decoder.h", | 245 "h264_decoder.h", |
| (...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 500 "video_accelerator_unittest_helpers.h", | 500 "video_accelerator_unittest_helpers.h", |
| 501 ] | 501 ] |
| 502 if (use_x11) { | 502 if (use_x11) { |
| 503 deps += [ "//ui/gfx/x" ] | 503 deps += [ "//ui/gfx/x" ] |
| 504 } | 504 } |
| 505 if (use_ozone) { | 505 if (use_ozone) { |
| 506 deps += [ "//ui/ozone" ] | 506 deps += [ "//ui/ozone" ] |
| 507 } | 507 } |
| 508 } | 508 } |
| 509 } | 509 } |
| OLD | NEW |