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

Side by Side Diff: media/BUILD.gn

Issue 2900773004: media: Add experimental feature to enable Mojo CDM on desktop Chromium (Closed)
Patch Set: drop utility_process_host_impl.cc change Created 3 years, 7 months 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
« no previous file with comments | « content/utility/utility_service_factory.cc ('k') | media/base/media_switches.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/buildflag_header.gni") 5 import("//build/buildflag_header.gni")
6 import("//build/config/android/config.gni") 6 import("//build/config/android/config.gni")
7 import("//build/config/arm.gni") 7 import("//build/config/arm.gni")
8 import("//build/config/features.gni") 8 import("//build/config/features.gni")
9 import("//build/config/linux/pkg_config.gni") 9 import("//build/config/linux/pkg_config.gni")
10 import("//build/config/ui.gni") 10 import("//build/config/ui.gni")
(...skipping 493 matching lines...) Expand 10 before | Expand all | Expand 10 after
504 ] 504 ]
505 } 505 }
506 506
507 if (use_udev) { 507 if (use_udev) {
508 deps += [ "//device/udev_linux" ] 508 deps += [ "//device/udev_linux" ]
509 sources += [ 509 sources += [
510 "device_monitors/device_monitor_udev.cc", 510 "device_monitors/device_monitor_udev.cc",
511 "device_monitors/device_monitor_udev.h", 511 "device_monitors/device_monitor_udev.h",
512 ] 512 ]
513 } 513 }
514
515 # TODO(xhwang): Move other library CDM related files to this block as well.
516 if (enable_pepper_cdms) {
517 deps += [
518 ":cdm_paths",
519
520 # TODO(xhwang): Remove this after Widevine specific logic is removed in
521 # CdmAdapterFactory. See http://crbug.com/510604
522 "//third_party/widevine/cdm:headers",
523 ]
524 sources += [
525 "cdm/cdm_adapter_factory.cc",
526 "cdm/cdm_adapter_factory.h",
527 ]
528 }
514 } 529 }
515 530
516 config("cdm_manager_implementation") { 531 config("cdm_manager_implementation") {
517 defines = [ "CDM_MANAGER_IMPLEMENTATION" ] 532 defines = [ "CDM_MANAGER_IMPLEMENTATION" ]
518 } 533 }
519 534
520 # cdm_manager must not be a source_set() because CdmManager exposes a static 535 # cdm_manager must not be a source_set() because CdmManager exposes a static
521 # singleton, shared by multiple component()s. 536 # singleton, shared by multiple component()s.
522 # 537 #
523 # TODO(xhwang): Remove this component once AVDA no longer depends on it. 538 # TODO(xhwang): Remove this component once AVDA no longer depends on it.
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after
999 fuzzer_test("media_mp4_avcc_parser_fuzzer") { 1014 fuzzer_test("media_mp4_avcc_parser_fuzzer") {
1000 sources = [ 1015 sources = [
1001 "formats/mp4/mp4_avcc_parser_fuzzer.cc", 1016 "formats/mp4/mp4_avcc_parser_fuzzer.cc",
1002 ] 1017 ]
1003 deps = [ 1018 deps = [
1004 ":media", 1019 ":media",
1005 "//base", 1020 "//base",
1006 ] 1021 ]
1007 } 1022 }
1008 } 1023 }
OLDNEW
« no previous file with comments | « content/utility/utility_service_factory.cc ('k') | media/base/media_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698