Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(430)

Side by Side Diff: content/common/BUILD.gn

Issue 1448303002: media: Add static MojoCdmService::GetCdm(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add CdmManager Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « no previous file | content/common/gpu/media/android_video_decode_accelerator.cc » ('j') | media/mojo/services/mojo_cdm_service.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698