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

Side by Side Diff: media/cdm/BUILD.gn

Issue 2737513004: Fix media_mojo builds (Closed)
Patch Set: add export Created 3 years, 5 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 | « media/base/cdm_promise.cc ('k') | media/mojo/BUILD.gn » ('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 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
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 }
OLDNEW
« no previous file with comments | « media/base/cdm_promise.cc ('k') | media/mojo/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698