| 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("//media/media_options.gni") | 8 import("//media/media_options.gni") |
| 9 import("//mojo/public/tools/bindings/mojom.gni") | 9 import("//mojo/public/tools/bindings/mojom.gni") |
| 10 if (is_mac) { | 10 if (is_mac) { |
| 11 import("//build/config/mac/mac_sdk.gni") | 11 import("//build/config/mac/mac_sdk.gni") |
| 12 } | 12 } |
| 13 | 13 |
| 14 if (is_chromeos && current_cpu != "arm") { | 14 if ((is_chromeos || is_linux) && current_cpu != "arm") { |
| 15 action("libva_generate_stubs") { | 15 action("libva_generate_stubs") { |
| 16 extra_header = "gpu/media/va_stub_header.fragment" | 16 extra_header = "gpu/media/va_stub_header.fragment" |
| 17 | 17 |
| 18 script = "../../tools/generate_stubs/generate_stubs.py" | 18 script = "../../tools/generate_stubs/generate_stubs.py" |
| 19 sources = [ | 19 sources = [ |
| 20 "gpu/media/va.sigs", | 20 "gpu/media/va.sigs", |
| 21 ] | 21 ] |
| 22 inputs = [ | 22 inputs = [ |
| 23 extra_header, | 23 extra_header, |
| 24 ] | 24 ] |
| (...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 340 "gpu/media/android_video_encode_accelerator.cc", | 340 "gpu/media/android_video_encode_accelerator.cc", |
| 341 "gpu/media/android_video_encode_accelerator.h", | 341 "gpu/media/android_video_encode_accelerator.h", |
| 342 ] | 342 ] |
| 343 } | 343 } |
| 344 | 344 |
| 345 if (mojo_media_host == "gpu") { | 345 if (mojo_media_host == "gpu") { |
| 346 deps += [ "//media/mojo/services:cdm_service" ] | 346 deps += [ "//media/mojo/services:cdm_service" ] |
| 347 } | 347 } |
| 348 } | 348 } |
| 349 | 349 |
| 350 if (is_chromeos) { | 350 if (is_chromeos || is_linux) { |
| 351 sources += [ | 351 sources += [ |
| 352 "gpu/media/accelerated_video_decoder.h", | 352 "gpu/media/accelerated_video_decoder.h", |
| 353 "gpu/media/h264_decoder.cc", | 353 "gpu/media/h264_decoder.cc", |
| 354 "gpu/media/h264_decoder.h", | 354 "gpu/media/h264_decoder.h", |
| 355 "gpu/media/h264_dpb.cc", | 355 "gpu/media/h264_dpb.cc", |
| 356 "gpu/media/h264_dpb.h", | 356 "gpu/media/h264_dpb.h", |
| 357 "gpu/media/vp8_decoder.cc", | 357 "gpu/media/vp8_decoder.cc", |
| 358 "gpu/media/vp8_decoder.h", | 358 "gpu/media/vp8_decoder.h", |
| 359 "gpu/media/vp8_picture.cc", | 359 "gpu/media/vp8_picture.cc", |
| 360 "gpu/media/vp8_picture.h", | 360 "gpu/media/vp8_picture.h", |
| (...skipping 23 matching lines...) Expand all Loading... |
| 384 "gpu/media/v4l2_slice_video_decode_accelerator.h", | 384 "gpu/media/v4l2_slice_video_decode_accelerator.h", |
| 385 "gpu/media/v4l2_video_decode_accelerator.cc", | 385 "gpu/media/v4l2_video_decode_accelerator.cc", |
| 386 "gpu/media/v4l2_video_decode_accelerator.h", | 386 "gpu/media/v4l2_video_decode_accelerator.h", |
| 387 "gpu/media/v4l2_video_encode_accelerator.cc", | 387 "gpu/media/v4l2_video_encode_accelerator.cc", |
| 388 "gpu/media/v4l2_video_encode_accelerator.h", | 388 "gpu/media/v4l2_video_encode_accelerator.h", |
| 389 ] | 389 ] |
| 390 libs = [ | 390 libs = [ |
| 391 "EGL", | 391 "EGL", |
| 392 "GLESv2", | 392 "GLESv2", |
| 393 ] | 393 ] |
| 394 } | 394 if (current_cpu == "arm") { |
| 395 if (current_cpu == "arm") { | 395 sources += [ |
| 396 sources += [ | 396 "gpu/media/tegra_v4l2_device.cc", |
| 397 "gpu/media/tegra_v4l2_device.cc", | 397 "gpu/media/tegra_v4l2_device.h", |
| 398 "gpu/media/tegra_v4l2_device.h", | 398 ] |
| 399 ] | 399 } |
| 400 } | 400 } |
| 401 if (current_cpu != "arm") { | 401 if (current_cpu != "arm") { |
| 402 sources += [ | 402 sources += [ |
| 403 "gpu/media/va_surface.h", | 403 "gpu/media/va_surface.h", |
| 404 "gpu/media/vaapi_jpeg_decode_accelerator.cc", | 404 "gpu/media/vaapi_jpeg_decode_accelerator.cc", |
| 405 "gpu/media/vaapi_jpeg_decode_accelerator.h", | 405 "gpu/media/vaapi_jpeg_decode_accelerator.h", |
| 406 "gpu/media/vaapi_jpeg_decoder.cc", | 406 "gpu/media/vaapi_jpeg_decoder.cc", |
| 407 "gpu/media/vaapi_jpeg_decoder.h", | 407 "gpu/media/vaapi_jpeg_decoder.h", |
| 408 "gpu/media/vaapi_picture.cc", | 408 "gpu/media/vaapi_picture.cc", |
| 409 "gpu/media/vaapi_picture.h", | 409 "gpu/media/vaapi_picture.h", |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 537 "//components/leveldb/public/interfaces", | 537 "//components/leveldb/public/interfaces", |
| 538 "//components/mus/public/interfaces", | 538 "//components/mus/public/interfaces", |
| 539 "//content/public/common:mojo_bindings", | 539 "//content/public/common:mojo_bindings", |
| 540 "//mojo/shell/public/interfaces", | 540 "//mojo/shell/public/interfaces", |
| 541 "//skia/public/interfaces", | 541 "//skia/public/interfaces", |
| 542 "//third_party/WebKit/public:mojo_bindings", | 542 "//third_party/WebKit/public:mojo_bindings", |
| 543 "//ui/mojo/geometry:interfaces", | 543 "//ui/mojo/geometry:interfaces", |
| 544 "//url/mojo:url_mojom_origin", | 544 "//url/mojo:url_mojom_origin", |
| 545 ] | 545 ] |
| 546 } | 546 } |
| OLD | NEW |