| 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) { |
| (...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 365 "gpu/media/avda_state_provider.h", | 365 "gpu/media/avda_state_provider.h", |
| 366 ] | 366 ] |
| 367 | 367 |
| 368 if (enable_webrtc) { | 368 if (enable_webrtc) { |
| 369 deps += [ "//third_party/libyuv" ] | 369 deps += [ "//third_party/libyuv" ] |
| 370 sources += [ | 370 sources += [ |
| 371 "gpu/media/android_video_encode_accelerator.cc", | 371 "gpu/media/android_video_encode_accelerator.cc", |
| 372 "gpu/media/android_video_encode_accelerator.h", | 372 "gpu/media/android_video_encode_accelerator.h", |
| 373 ] | 373 ] |
| 374 } | 374 } |
| 375 | |
| 376 if (enable_mojo_media == "gpu") { | |
| 377 deps += [ "//media/mojo/services:application" ] | |
| 378 } | |
| 379 } | 375 } |
| 380 | 376 |
| 381 if (is_chromeos) { | 377 if (is_chromeos) { |
| 382 sources += [ | 378 sources += [ |
| 383 "gpu/media/accelerated_video_decoder.h", | 379 "gpu/media/accelerated_video_decoder.h", |
| 384 "gpu/media/h264_decoder.cc", | 380 "gpu/media/h264_decoder.cc", |
| 385 "gpu/media/h264_decoder.h", | 381 "gpu/media/h264_decoder.h", |
| 386 "gpu/media/h264_dpb.cc", | 382 "gpu/media/h264_dpb.cc", |
| 387 "gpu/media/h264_dpb.h", | 383 "gpu/media/h264_dpb.h", |
| 388 "gpu/media/vp8_decoder.cc", | 384 "gpu/media/vp8_decoder.cc", |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 548 import_dirs = [ "//mojo/services" ] | 544 import_dirs = [ "//mojo/services" ] |
| 549 | 545 |
| 550 deps = [ | 546 deps = [ |
| 551 "//components/mus/public/interfaces", | 547 "//components/mus/public/interfaces", |
| 552 "//content/public/common:mojo_bindings", | 548 "//content/public/common:mojo_bindings", |
| 553 "//mojo/shell/public/interfaces", | 549 "//mojo/shell/public/interfaces", |
| 554 "//skia/public/interfaces", | 550 "//skia/public/interfaces", |
| 555 "//ui/mojo/geometry:interfaces", | 551 "//ui/mojo/geometry:interfaces", |
| 556 ] | 552 ] |
| 557 } | 553 } |
| OLD | NEW |