| OLD | NEW |
| 1 # Copyright 2017 The Chromium Authors. All rights reserved. | 1 # Copyright 2017 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("//media/media_options.gni") | 5 import("//media/media_options.gni") |
| 6 | 6 |
| 7 source_set("cdm_api") { | 7 source_set("cdm_api") { |
| 8 sources = [ | 8 sources = [ |
| 9 "api/content_decryption_module.h", | 9 "api/content_decryption_module.h", |
| 10 ] | 10 ] |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 defines = [ "CDM_MANAGER_IMPLEMENTATION" ] | 84 defines = [ "CDM_MANAGER_IMPLEMENTATION" ] |
| 85 } | 85 } |
| 86 | 86 |
| 87 # cdm_manager must not be a source_set() because CdmManager exposes a static | 87 # cdm_manager must not be a source_set() because CdmManager exposes a static |
| 88 # singleton, shared by multiple component()s. | 88 # singleton, shared by multiple component()s. |
| 89 # | 89 # |
| 90 # TODO(xhwang): Remove this component once AVDA no longer depends on it. | 90 # TODO(xhwang): Remove this component once AVDA no longer depends on it. |
| 91 component("cdm_manager") { | 91 component("cdm_manager") { |
| 92 visibility = [ | 92 visibility = [ |
| 93 "//media/gpu", | 93 "//media/gpu", |
| 94 "//media/mojo/services:lib", | 94 "//media/mojo/services", |
| 95 ] | 95 ] |
| 96 sources = [ | 96 sources = [ |
| 97 "cdm_manager.cc", | 97 "cdm_manager.cc", |
| 98 "cdm_manager.h", | 98 "cdm_manager.h", |
| 99 "cdm_manager_export.h", | 99 "cdm_manager_export.h", |
| 100 ] | 100 ] |
| 101 configs += [ ":cdm_manager_implementation" ] | 101 configs += [ ":cdm_manager_implementation" ] |
| 102 deps = [ | 102 deps = [ |
| 103 "//base", | 103 "//base", |
| 104 "//media", | 104 "//media", |
| 105 ] | 105 ] |
| 106 } | 106 } |
| 107 | 107 |
| 108 static_library("cdm_paths") { | 108 static_library("cdm_paths") { |
| 109 sources = [ | 109 sources = [ |
| 110 "cdm_paths.cc", | 110 "cdm_paths.cc", |
| 111 "cdm_paths.h", | 111 "cdm_paths.h", |
| 112 ] | 112 ] |
| 113 deps = [ | 113 deps = [ |
| 114 "//base", | 114 "//base", |
| 115 ] | 115 ] |
| 116 } | 116 } |
| OLD | NEW |