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

Side by Side Diff: media/mojo/services/BUILD.gn

Issue 1847823006: media: Fix gn deps on media/mojo/ targets. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 | « no previous file | media/mojo/services/mojo_media_application_factory.cc » ('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("//media/media_options.gni") 5 import("//media/media_options.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 import("//mojo/public/mojo_application.gni") 7 import("//mojo/public/mojo_application.gni")
8 import("//mojo/public/mojo_application_manifest.gni") 8 import("//mojo/public/mojo_application_manifest.gni")
9 9
10 # Target naming conventions: 10 # Target naming conventions:
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 public_configs = [ ":mojo_media_config" ] 70 public_configs = [ ":mojo_media_config" ]
71 71
72 deps = [ 72 deps = [
73 "//base", 73 "//base",
74 "//media", 74 "//media",
75 "//media/mojo/common", 75 "//media/mojo/common",
76 "//media/mojo/interfaces", 76 "//media/mojo/interfaces",
77 "//mojo/common", 77 "//mojo/common",
78 "//mojo/environment:chromium", 78 "//mojo/environment:chromium",
79 "//mojo/public/c/system:for_component", 79 "//mojo/public/c/system:for_component",
80 "//mojo/shell/public/cpp:sources",
80 "//mojo/shell/public/interfaces", 81 "//mojo/shell/public/interfaces",
81 ] 82 ]
82 } 83 }
83 84
84 source_set("cdm_service") { 85 source_set("cdm_service") {
85 deps = [ 86 deps = [
86 "//base", 87 "//base",
87 "//media", 88 "//media",
88 "//media/mojo/common", 89 "//media/mojo/common",
89 "//media/mojo/interfaces", 90 "//media/mojo/interfaces",
90 "//mojo/common", 91 "//mojo/common",
91 "//mojo/environment:chromium", 92 "//mojo/environment:chromium",
92 "//mojo/public/c/system:for_component", 93 "//mojo/public/c/system:for_component",
93 "//mojo/shell/public/interfaces", 94 "//mojo/shell/public/interfaces",
95 "//url",
94 ] 96 ]
95 97
96 sources = [ 98 sources = [
97 "mojo_cdm_promise.cc", 99 "mojo_cdm_promise.cc",
98 "mojo_cdm_promise.h", 100 "mojo_cdm_promise.h",
99 "mojo_cdm_service.cc", 101 "mojo_cdm_service.cc",
100 "mojo_cdm_service.h", 102 "mojo_cdm_service.h",
101 "mojo_cdm_service_context.cc", 103 "mojo_cdm_service_context.cc",
102 "mojo_cdm_service_context.h", 104 "mojo_cdm_service_context.h",
103 "mojo_decryptor_service.cc", 105 "mojo_decryptor_service.cc",
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 "service_factory_impl.h", 154 "service_factory_impl.h",
153 ] 155 ]
154 156
155 public_configs = [ ":mojo_media_config" ] 157 public_configs = [ ":mojo_media_config" ]
156 158
157 deps = [ 159 deps = [
158 ":cdm_service", 160 ":cdm_service",
159 ":renderer_service", 161 ":renderer_service",
160 "//base", 162 "//base",
161 "//media", 163 "//media",
164 "//media/mojo/interfaces",
162 "//mojo/shell/public/cpp", 165 "//mojo/shell/public/cpp",
163 ] 166 ]
164 } 167 }
165 168
166 source_set("application_factory") { 169 source_set("application_factory") {
167 sources = [ 170 sources = [
168 "mojo_media_application_factory.cc", 171 "mojo_media_application_factory.cc",
169 "mojo_media_application_factory.h", 172 "mojo_media_application_factory.h",
170 ] 173 ]
171 174
172 public_configs = [ ":mojo_media_config" ] 175 public_configs = [ ":mojo_media_config" ]
173 176
174 deps = [ 177 deps = [
175 ":application", 178 ":application",
176 "//base", 179 "//base",
177 "//media", 180 "//media",
181 "//mojo/shell/public/cpp:sources",
178 ] 182 ]
179 183
180 if (enable_test_mojo_media_client) { 184 if (enable_test_mojo_media_client) {
181 defines = [ "ENABLE_TEST_MOJO_MEDIA_CLIENT" ] 185 defines = [ "ENABLE_TEST_MOJO_MEDIA_CLIENT" ]
182 sources += [ 186 sources += [
183 "test_mojo_media_client.cc", 187 "test_mojo_media_client.cc",
184 "test_mojo_media_client.h", 188 "test_mojo_media_client.h",
185 ] 189 ]
186 } else if (is_android) { 190 } else if (is_android) {
187 sources += [ 191 sources += [
(...skipping 12 matching lines...) Expand all
200 testonly = true 204 testonly = true
201 205
202 sources = [ 206 sources = [
203 "main.cc", 207 "main.cc",
204 "test_mojo_media_client.cc", 208 "test_mojo_media_client.cc",
205 "test_mojo_media_client.h", 209 "test_mojo_media_client.h",
206 ] 210 ]
207 211
208 deps = [ 212 deps = [
209 ":application", 213 ":application",
214 "//base",
215 "//media",
210 "//mojo/logging", 216 "//mojo/logging",
211 "//mojo/public/c/system:for_shared_library", 217 "//mojo/public/c/system:for_shared_library",
218 "//mojo/shell/public/cpp:sources",
212 ] 219 ]
213 } 220 }
214 221
215 # Note, the following tests must be loaded via mojo_runner as an app, e.g. 222 # Note, the following tests must be loaded via mojo_runner as an app, e.g.
216 # 223 #
217 # mojo/tools/apptest_runner.py 224 # mojo/tools/apptest_runner.py
218 # --apptest-filter mojo:media_apptests out/Debug 225 # --apptest-filter mojo:media_apptests out/Debug
219 # 226 #
220 # mojo/tools/apptest_runner.py 227 # mojo/tools/apptest_runner.py
221 # --apptest-filter mojo:media_pipeline_integration_apptests out/Debug 228 # --apptest-filter mojo:media_pipeline_integration_apptests out/Debug
222 # 229 #
223 mojo_native_application("media_apptests") { 230 mojo_native_application("media_apptests") {
224 testonly = true 231 testonly = true
225 232
226 sources = [ 233 sources = [
227 "media_apptest.cc", 234 "media_apptest.cc",
228 ] 235 ]
229 236
230 deps = [ 237 deps = [
231 ":apptest_manifest", 238 ":apptest_manifest",
232 ":proxy", 239 ":proxy",
240 "//media",
233 "//media/base:test_support", 241 "//media/base:test_support",
242 "//media/mojo/common",
243 "//media/mojo/interfaces",
234 "//mojo/shell/public/cpp:test_support", 244 "//mojo/shell/public/cpp:test_support",
235 "//testing/gmock", 245 "//testing/gmock",
236 "//testing/gtest", 246 "//testing/gtest",
237 ] 247 ]
238 248
239 data_deps = [ 249 data_deps = [
240 ":media", 250 ":media",
241 ] 251 ]
242 } 252 }
243 253
(...skipping 20 matching lines...) Expand all
264 source = "pipeline_apptest_manifest.json" 274 source = "pipeline_apptest_manifest.json"
265 } 275 }
266 276
267 group("tests") { 277 group("tests") {
268 testonly = true 278 testonly = true
269 deps = [ 279 deps = [
270 ":media_apptests", 280 ":media_apptests",
271 ":media_pipeline_integration_apptests", 281 ":media_pipeline_integration_apptests",
272 ] 282 ]
273 } 283 }
OLDNEW
« no previous file with comments | « no previous file | media/mojo/services/mojo_media_application_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698