OLD | NEW |
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 Loading... |
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 Loading... |
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 } |
OLD | NEW |