| 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 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 313 "gpu/media/android_video_decode_accelerator.cc", | 313 "gpu/media/android_video_decode_accelerator.cc", |
| 314 "gpu/media/android_video_decode_accelerator.h", | 314 "gpu/media/android_video_decode_accelerator.h", |
| 315 ] | 315 ] |
| 316 | 316 |
| 317 if (enable_webrtc) { | 317 if (enable_webrtc) { |
| 318 deps += [ "//third_party/libyuv" ] | 318 deps += [ "//third_party/libyuv" ] |
| 319 } | 319 } |
| 320 } | 320 } |
| 321 | 321 |
| 322 if (is_chromeos) { | 322 if (is_chromeos) { |
| 323 sources += [ |
| 324 "gpu/media/accelerated_video_decoder.h", |
| 325 "gpu/media/h264_decoder.cc", |
| 326 "gpu/media/h264_decoder.h", |
| 327 "gpu/media/h264_dpb.cc", |
| 328 "gpu/media/h264_dpb.h", |
| 329 ] |
| 323 if (use_v4lplugin) { | 330 if (use_v4lplugin) { |
| 324 defines += [ "USE_LIBV4L2" ] | 331 defines += [ "USE_LIBV4L2" ] |
| 325 sources += get_target_outputs(":libv4l2_generate_stubs") | 332 sources += get_target_outputs(":libv4l2_generate_stubs") |
| 326 deps += [ ":libv4l2_generate_stubs" ] | 333 deps += [ ":libv4l2_generate_stubs" ] |
| 327 } | 334 } |
| 328 if (use_v4l2_codec) { | 335 if (use_v4l2_codec) { |
| 329 defines += [ "USE_V4L2_CODEC" ] | 336 defines += [ "USE_V4L2_CODEC" ] |
| 330 sources += [ | 337 sources += [ |
| 331 "gpu/media/accelerated_video_decoder.h", | |
| 332 "gpu/media/generic_v4l2_device.cc", | 338 "gpu/media/generic_v4l2_device.cc", |
| 333 "gpu/media/generic_v4l2_device.h", | 339 "gpu/media/generic_v4l2_device.h", |
| 334 "gpu/media/h264_decoder.cc", | |
| 335 "gpu/media/h264_decoder.h", | |
| 336 "gpu/media/h264_dpb.cc", | |
| 337 "gpu/media/h264_dpb.h", | |
| 338 "gpu/media/v4l2_device.cc", | 340 "gpu/media/v4l2_device.cc", |
| 339 "gpu/media/v4l2_device.h", | 341 "gpu/media/v4l2_device.h", |
| 340 "gpu/media/v4l2_image_processor.cc", | 342 "gpu/media/v4l2_image_processor.cc", |
| 341 "gpu/media/v4l2_image_processor.h", | 343 "gpu/media/v4l2_image_processor.h", |
| 342 "gpu/media/v4l2_slice_video_decode_accelerator.cc", | 344 "gpu/media/v4l2_slice_video_decode_accelerator.cc", |
| 343 "gpu/media/v4l2_slice_video_decode_accelerator.h", | 345 "gpu/media/v4l2_slice_video_decode_accelerator.h", |
| 344 "gpu/media/v4l2_video_decode_accelerator.cc", | 346 "gpu/media/v4l2_video_decode_accelerator.cc", |
| 345 "gpu/media/v4l2_video_decode_accelerator.h", | 347 "gpu/media/v4l2_video_decode_accelerator.h", |
| 346 "gpu/media/v4l2_video_encode_accelerator.cc", | 348 "gpu/media/v4l2_video_encode_accelerator.cc", |
| 347 "gpu/media/v4l2_video_encode_accelerator.h", | 349 "gpu/media/v4l2_video_encode_accelerator.h", |
| 348 "gpu/media/vp8_decoder.cc", | 350 "gpu/media/vp8_decoder.cc", |
| 349 "gpu/media/vp8_decoder.h", | 351 "gpu/media/vp8_decoder.h", |
| 350 "gpu/media/vp8_picture.cc", | 352 "gpu/media/vp8_picture.cc", |
| 351 "gpu/media/vp8_picture.h", | 353 "gpu/media/vp8_picture.h", |
| 352 ] | 354 ] |
| 353 libs = [ | 355 libs = [ |
| 354 "EGL", | 356 "EGL", |
| 355 "GLESv2", | 357 "GLESv2", |
| 356 ] | 358 ] |
| 357 } | 359 } |
| 358 if (current_cpu == "arm") { | 360 if (current_cpu == "arm") { |
| 359 sources += [ | 361 sources += [ |
| 360 "gpu/media/tegra_v4l2_device.cc", | 362 "gpu/media/tegra_v4l2_device.cc", |
| 361 "gpu/media/tegra_v4l2_device.h", | 363 "gpu/media/tegra_v4l2_device.h", |
| 362 ] | 364 ] |
| 363 } | 365 } |
| 364 if (current_cpu != "arm") { | 366 if (current_cpu != "arm") { |
| 365 sources += [ | 367 sources += [ |
| 366 "gpu/media/va_surface.h", | 368 "gpu/media/va_surface.h", |
| 367 "gpu/media/vaapi_h264_decoder.cc", | |
| 368 "gpu/media/vaapi_h264_decoder.h", | |
| 369 "gpu/media/vaapi_h264_dpb.cc", | |
| 370 "gpu/media/vaapi_h264_dpb.h", | |
| 371 "gpu/media/vaapi_picture.cc", | 369 "gpu/media/vaapi_picture.cc", |
| 372 "gpu/media/vaapi_picture.h", | 370 "gpu/media/vaapi_picture.h", |
| 373 "gpu/media/vaapi_video_decode_accelerator.cc", | 371 "gpu/media/vaapi_video_decode_accelerator.cc", |
| 374 "gpu/media/vaapi_video_decode_accelerator.h", | 372 "gpu/media/vaapi_video_decode_accelerator.h", |
| 375 "gpu/media/vaapi_video_encode_accelerator.cc", | 373 "gpu/media/vaapi_video_encode_accelerator.cc", |
| 376 "gpu/media/vaapi_video_encode_accelerator.h", | 374 "gpu/media/vaapi_video_encode_accelerator.h", |
| 377 "gpu/media/vaapi_wrapper.cc", | 375 "gpu/media/vaapi_wrapper.cc", |
| 378 "gpu/media/vaapi_wrapper.h", | 376 "gpu/media/vaapi_wrapper.h", |
| 379 ] + get_target_outputs(":libva_generate_stubs") | 377 ] + get_target_outputs(":libva_generate_stubs") |
| 380 configs += [ | 378 configs += [ |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 472 "permission_service.mojom", | 470 "permission_service.mojom", |
| 473 "presentation/presentation_service.mojom", | 471 "presentation/presentation_service.mojom", |
| 474 "render_frame_setup.mojom", | 472 "render_frame_setup.mojom", |
| 475 ] | 473 ] |
| 476 | 474 |
| 477 deps = [ | 475 deps = [ |
| 478 "//content/public/common:mojo_bindings", | 476 "//content/public/common:mojo_bindings", |
| 479 "//third_party/mojo/src/mojo/public/interfaces/application:application", | 477 "//third_party/mojo/src/mojo/public/interfaces/application:application", |
| 480 ] | 478 ] |
| 481 } | 479 } |
| OLD | NEW |