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("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") | 8 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") |
9 | 9 |
10 if (is_chromeos && current_cpu != "arm") { | 10 if (is_chromeos && current_cpu != "arm") { |
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
322 if (is_chromeos) { | 322 if (is_chromeos) { |
323 if (use_v4lplugin) { | 323 if (use_v4lplugin) { |
324 defines += [ "USE_LIBV4L2" ] | 324 defines += [ "USE_LIBV4L2" ] |
325 sources += get_target_outputs(":libv4l2_generate_stubs") | 325 sources += get_target_outputs(":libv4l2_generate_stubs") |
326 deps += [ ":libv4l2_generate_stubs" ] | 326 deps += [ ":libv4l2_generate_stubs" ] |
327 } | 327 } |
328 if (use_v4l2_codec) { | 328 if (use_v4l2_codec) { |
329 defines += [ "USE_V4L2_CODEC" ] | 329 defines += [ "USE_V4L2_CODEC" ] |
330 sources += [ | 330 sources += [ |
331 "gpu/media/accelerated_video_decoder.h", | 331 "gpu/media/accelerated_video_decoder.h", |
332 "gpu/media/generic_v4l2_video_device.cc", | 332 "gpu/media/generic_v4l2_device.cc", |
333 "gpu/media/generic_v4l2_video_device.h", | 333 "gpu/media/generic_v4l2_device.h", |
334 "gpu/media/h264_decoder.cc", | 334 "gpu/media/h264_decoder.cc", |
335 "gpu/media/h264_decoder.h", | 335 "gpu/media/h264_decoder.h", |
336 "gpu/media/h264_dpb.cc", | 336 "gpu/media/h264_dpb.cc", |
337 "gpu/media/h264_dpb.h", | 337 "gpu/media/h264_dpb.h", |
| 338 "gpu/media/v4l2_device.cc", |
| 339 "gpu/media/v4l2_device.h", |
338 "gpu/media/v4l2_image_processor.cc", | 340 "gpu/media/v4l2_image_processor.cc", |
339 "gpu/media/v4l2_image_processor.h", | 341 "gpu/media/v4l2_image_processor.h", |
340 "gpu/media/v4l2_slice_video_decode_accelerator.cc", | 342 "gpu/media/v4l2_slice_video_decode_accelerator.cc", |
341 "gpu/media/v4l2_slice_video_decode_accelerator.h", | 343 "gpu/media/v4l2_slice_video_decode_accelerator.h", |
342 "gpu/media/v4l2_video_decode_accelerator.cc", | 344 "gpu/media/v4l2_video_decode_accelerator.cc", |
343 "gpu/media/v4l2_video_decode_accelerator.h", | 345 "gpu/media/v4l2_video_decode_accelerator.h", |
344 "gpu/media/v4l2_video_device.cc", | |
345 "gpu/media/v4l2_video_device.h", | |
346 "gpu/media/v4l2_video_encode_accelerator.cc", | 346 "gpu/media/v4l2_video_encode_accelerator.cc", |
347 "gpu/media/v4l2_video_encode_accelerator.h", | 347 "gpu/media/v4l2_video_encode_accelerator.h", |
348 "gpu/media/vp8_decoder.cc", | 348 "gpu/media/vp8_decoder.cc", |
349 "gpu/media/vp8_decoder.h", | 349 "gpu/media/vp8_decoder.h", |
350 "gpu/media/vp8_picture.cc", | 350 "gpu/media/vp8_picture.cc", |
351 "gpu/media/vp8_picture.h", | 351 "gpu/media/vp8_picture.h", |
352 ] | 352 ] |
353 libs = [ | 353 libs = [ |
354 "EGL", | 354 "EGL", |
355 "GLESv2", | 355 "GLESv2", |
356 ] | 356 ] |
357 } | 357 } |
358 if (current_cpu == "arm") { | 358 if (current_cpu == "arm") { |
359 sources += [ | 359 sources += [ |
360 "gpu/media/tegra_v4l2_video_device.cc", | 360 "gpu/media/tegra_v4l2_device.cc", |
361 "gpu/media/tegra_v4l2_video_device.h", | 361 "gpu/media/tegra_v4l2_device.h", |
362 ] | 362 ] |
363 } | 363 } |
364 if (current_cpu != "arm") { | 364 if (current_cpu != "arm") { |
365 sources += [ | 365 sources += [ |
366 "gpu/media/va_surface.h", | 366 "gpu/media/va_surface.h", |
367 "gpu/media/vaapi_h264_decoder.cc", | 367 "gpu/media/vaapi_h264_decoder.cc", |
368 "gpu/media/vaapi_h264_decoder.h", | 368 "gpu/media/vaapi_h264_decoder.h", |
369 "gpu/media/vaapi_h264_dpb.cc", | 369 "gpu/media/vaapi_h264_dpb.cc", |
370 "gpu/media/vaapi_h264_dpb.h", | 370 "gpu/media/vaapi_h264_dpb.h", |
371 "gpu/media/vaapi_picture.cc", | 371 "gpu/media/vaapi_picture.cc", |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
470 "permission_service.mojom", | 470 "permission_service.mojom", |
471 "presentation/presentation_service.mojom", | 471 "presentation/presentation_service.mojom", |
472 "render_frame_setup.mojom", | 472 "render_frame_setup.mojom", |
473 ] | 473 ] |
474 | 474 |
475 deps = [ | 475 deps = [ |
476 "//content/public/common:mojo_bindings", | 476 "//content/public/common:mojo_bindings", |
477 "//third_party/mojo/src/mojo/public/interfaces/application:application", | 477 "//third_party/mojo/src/mojo/public/interfaces/application:application", |
478 ] | 478 ] |
479 } | 479 } |
OLD | NEW |