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