| 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("//mojo/public/tools/bindings/mojom.gni") | 9 import("//mojo/public/tools/bindings/mojom.gni") |
| 9 if (is_mac) { | 10 if (is_mac) { |
| 10 import("//build/config/mac/mac_sdk.gni") | 11 import("//build/config/mac/mac_sdk.gni") |
| 11 } | 12 } |
| 12 | 13 |
| 13 if (is_chromeos && current_cpu != "arm") { | 14 if (is_chromeos && current_cpu != "arm") { |
| 14 action("libva_generate_stubs") { | 15 action("libva_generate_stubs") { |
| 15 extra_header = "gpu/media/va_stub_header.fragment" | 16 extra_header = "gpu/media/va_stub_header.fragment" |
| 16 | 17 |
| 17 script = "../../tools/generate_stubs/generate_stubs.py" | 18 script = "../../tools/generate_stubs/generate_stubs.py" |
| (...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 361 "gpu/media/avda_state_provider.h", | 362 "gpu/media/avda_state_provider.h", |
| 362 ] | 363 ] |
| 363 | 364 |
| 364 if (enable_webrtc) { | 365 if (enable_webrtc) { |
| 365 deps += [ "//third_party/libyuv" ] | 366 deps += [ "//third_party/libyuv" ] |
| 366 sources += [ | 367 sources += [ |
| 367 "gpu/media/android_video_encode_accelerator.cc", | 368 "gpu/media/android_video_encode_accelerator.cc", |
| 368 "gpu/media/android_video_encode_accelerator.h", | 369 "gpu/media/android_video_encode_accelerator.h", |
| 369 ] | 370 ] |
| 370 } | 371 } |
| 372 |
| 373 if (enable_mojo_media == "gpu") { |
| 374 deps += [ "//media/mojo/services:application" ] |
| 375 } |
| 371 } | 376 } |
| 372 | 377 |
| 373 if (is_chromeos) { | 378 if (is_chromeos) { |
| 374 sources += [ | 379 sources += [ |
| 375 "gpu/media/accelerated_video_decoder.h", | 380 "gpu/media/accelerated_video_decoder.h", |
| 376 "gpu/media/h264_decoder.cc", | 381 "gpu/media/h264_decoder.cc", |
| 377 "gpu/media/h264_decoder.h", | 382 "gpu/media/h264_decoder.h", |
| 378 "gpu/media/h264_dpb.cc", | 383 "gpu/media/h264_dpb.cc", |
| 379 "gpu/media/h264_dpb.h", | 384 "gpu/media/h264_dpb.h", |
| 380 "gpu/media/vp8_decoder.cc", | 385 "gpu/media/vp8_decoder.cc", |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 537 | 542 |
| 538 import_dirs = [ "//mojo/services" ] | 543 import_dirs = [ "//mojo/services" ] |
| 539 | 544 |
| 540 deps = [ | 545 deps = [ |
| 541 "//content/public/common:mojo_bindings", | 546 "//content/public/common:mojo_bindings", |
| 542 "//mojo/application/public/interfaces", | 547 "//mojo/application/public/interfaces", |
| 543 "//skia/public/interfaces", | 548 "//skia/public/interfaces", |
| 544 "//ui/mojo/geometry:interfaces", | 549 "//ui/mojo/geometry:interfaces", |
| 545 ] | 550 ] |
| 546 } | 551 } |
| OLD | NEW |