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

Side by Side Diff: content/common/BUILD.gn

Issue 842123002: Support multiple video decoders and encoders (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add USE_V4L2_CODEC define Created 5 years, 11 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
« no previous file with comments | « no previous file | content/common/gpu/media/gpu_video_decode_accelerator.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 import("//content/common/common.gni") 7 import("//content/common/common.gni")
8 import("//mojo/public/tools/bindings/mojom.gni") 8 import("//mojo/public/tools/bindings/mojom.gni")
9 9
10 if (is_chromeos && cpu_arch != "arm") { 10 if (is_chromeos && cpu_arch != "arm") {
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 "gpu/media/android_video_decode_accelerator.cc", 274 "gpu/media/android_video_decode_accelerator.cc",
275 "gpu/media/android_video_decode_accelerator.h", 275 "gpu/media/android_video_decode_accelerator.h",
276 ] 276 ]
277 277
278 if (enable_webrtc) { 278 if (enable_webrtc) {
279 deps += [ "//third_party/libyuv" ] 279 deps += [ "//third_party/libyuv" ]
280 } 280 }
281 } 281 }
282 282
283 if (is_chromeos) { 283 if (is_chromeos) {
284 if ((cpu_arch == "arm" && use_x11) || use_v4l2_codec) { 284 if (use_v4l2_codec) {
285 defines += [ "USE_V4L2_CODEC" ]
286 }
287 if (cpu_arch == "arm" || (use_ozone && use_v4l2_codec)) {
285 sources += [ 288 sources += [
286 "gpu/media/generic_v4l2_video_device.cc", 289 "gpu/media/generic_v4l2_video_device.cc",
287 "gpu/media/generic_v4l2_video_device.h", 290 "gpu/media/generic_v4l2_video_device.h",
288 "gpu/media/v4l2_image_processor.cc", 291 "gpu/media/v4l2_image_processor.cc",
289 "gpu/media/v4l2_image_processor.h", 292 "gpu/media/v4l2_image_processor.h",
290 "gpu/media/v4l2_video_decode_accelerator.cc", 293 "gpu/media/v4l2_video_decode_accelerator.cc",
291 "gpu/media/v4l2_video_decode_accelerator.h", 294 "gpu/media/v4l2_video_decode_accelerator.h",
292 "gpu/media/v4l2_video_device.cc", 295 "gpu/media/v4l2_video_device.cc",
293 "gpu/media/v4l2_video_device.h", 296 "gpu/media/v4l2_video_device.h",
294 "gpu/media/v4l2_video_encode_accelerator.cc", 297 "gpu/media/v4l2_video_encode_accelerator.cc",
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 "geolocation_service.mojom", 396 "geolocation_service.mojom",
394 "permission_service.mojom", 397 "permission_service.mojom",
395 "render_frame_setup.mojom", 398 "render_frame_setup.mojom",
396 ] 399 ]
397 400
398 deps = [ 401 deps = [
399 "//content/public/common:mojo_bindings", 402 "//content/public/common:mojo_bindings",
400 "//mojo/public/interfaces/application:application", 403 "//mojo/public/interfaces/application:application",
401 ] 404 ]
402 } 405 }
OLDNEW
« no previous file with comments | « no previous file | content/common/gpu/media/gpu_video_decode_accelerator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698