| 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/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 Loading... |
| 504 | 504 |
| 505 if (use_udev) { | 505 if (use_udev) { |
| 506 deps += [ "//device/udev_linux" ] | 506 deps += [ "//device/udev_linux" ] |
| 507 sources += [ | 507 sources += [ |
| 508 "device_monitors/device_monitor_udev.cc", | 508 "device_monitors/device_monitor_udev.cc", |
| 509 "device_monitors/device_monitor_udev.h", | 509 "device_monitors/device_monitor_udev.h", |
| 510 ] | 510 ] |
| 511 } | 511 } |
| 512 } | 512 } |
| 513 | 513 |
| 514 config("cdm_manager_implementation") { |
| 515 defines = [ "CDM_MANAGER_IMPLEMENTATION" ] |
| 516 } |
| 517 |
| 518 # cdm_manager must not be a source_set() because CdmManager exposes a static |
| 519 # singleton, shared by multiple component()s. |
| 520 # |
| 521 # TODO(xhwang): Remove this component once AVDA no longer depends on it. |
| 522 component("cdm_manager") { |
| 523 visibility = [ |
| 524 "//media/gpu", |
| 525 "//media/mojo/services:lib", |
| 526 ] |
| 527 sources = [ |
| 528 "cdm/cdm_manager.cc", |
| 529 "cdm/cdm_manager.h", |
| 530 "cdm/cdm_manager_export.h", |
| 531 ] |
| 532 configs += [ ":cdm_manager_implementation" ] |
| 533 deps = [ |
| 534 ":media", |
| 535 "//base", |
| 536 ] |
| 537 } |
| 538 |
| 514 static_library("cdm_paths") { | 539 static_library("cdm_paths") { |
| 515 sources = [ | 540 sources = [ |
| 516 "cdm/cdm_paths.cc", | 541 "cdm/cdm_paths.cc", |
| 517 "cdm/cdm_paths.h", | 542 "cdm/cdm_paths.h", |
| 518 ] | 543 ] |
| 519 deps = [ | 544 deps = [ |
| 520 "//base", | 545 "//base", |
| 521 ] | 546 ] |
| 522 } | 547 } |
| 523 | 548 |
| (...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 971 fuzzer_test("media_mp4_avcc_parser_fuzzer") { | 996 fuzzer_test("media_mp4_avcc_parser_fuzzer") { |
| 972 sources = [ | 997 sources = [ |
| 973 "formats/mp4/mp4_avcc_parser_fuzzer.cc", | 998 "formats/mp4/mp4_avcc_parser_fuzzer.cc", |
| 974 ] | 999 ] |
| 975 deps = [ | 1000 deps = [ |
| 976 ":media", | 1001 ":media", |
| 977 "//base", | 1002 "//base", |
| 978 ] | 1003 ] |
| 979 } | 1004 } |
| 980 } | 1005 } |
| OLD | NEW |