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

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

Issue 1877753003: Move mojo\shell to services\shell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@62scan
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 | « media/mojo/DEPS ('k') | media/mojo/services/android_mojo_media_client.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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 72
73 public_configs = [ ":mojo_media_config" ] 73 public_configs = [ ":mojo_media_config" ]
74 74
75 deps = [ 75 deps = [
76 "//base", 76 "//base",
77 "//media", 77 "//media",
78 "//media/mojo/common", 78 "//media/mojo/common",
79 "//media/mojo/interfaces", 79 "//media/mojo/interfaces",
80 "//mojo/common", 80 "//mojo/common",
81 "//mojo/public/c/system:for_component", 81 "//mojo/public/c/system:for_component",
82 "//mojo/shell/public/cpp:sources", 82 "//services/shell/public/cpp:sources",
83 "//mojo/shell/public/interfaces", 83 "//services/shell/public/interfaces",
84 ] 84 ]
85 } 85 }
86 86
87 source_set("cdm_service") { 87 source_set("cdm_service") {
88 deps = [ 88 deps = [
89 "//base", 89 "//base",
90 "//media", 90 "//media",
91 "//media/mojo/common", 91 "//media/mojo/common",
92 "//media/mojo/interfaces", 92 "//media/mojo/interfaces",
93 "//mojo/common", 93 "//mojo/common",
94 "//mojo/public/c/system:for_component", 94 "//mojo/public/c/system:for_component",
95 "//mojo/shell/public/interfaces", 95 "//services/shell/public/interfaces",
96 "//url", 96 "//url",
97 ] 97 ]
98 98
99 sources = [ 99 sources = [
100 "mojo_cdm_allocator.cc", 100 "mojo_cdm_allocator.cc",
101 "mojo_cdm_allocator.h", 101 "mojo_cdm_allocator.h",
102 "mojo_cdm_promise.cc", 102 "mojo_cdm_promise.cc",
103 "mojo_cdm_promise.h", 103 "mojo_cdm_promise.h",
104 "mojo_cdm_service.cc", 104 "mojo_cdm_service.cc",
105 "mojo_cdm_service.h", 105 "mojo_cdm_service.h",
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 176
177 public_configs = [ ":mojo_media_config" ] 177 public_configs = [ ":mojo_media_config" ]
178 178
179 deps = [ 179 deps = [
180 ":audio_decoder_service", 180 ":audio_decoder_service",
181 ":cdm_service", 181 ":cdm_service",
182 ":renderer_service", 182 ":renderer_service",
183 "//base", 183 "//base",
184 "//media", 184 "//media",
185 "//media/mojo/interfaces", 185 "//media/mojo/interfaces",
186 "//mojo/shell/public/cpp", 186 "//services/shell/public/cpp",
187 ] 187 ]
188 } 188 }
189 189
190 source_set("application_factory") { 190 source_set("application_factory") {
191 sources = [ 191 sources = [
192 "mojo_media_application_factory.cc", 192 "mojo_media_application_factory.cc",
193 "mojo_media_application_factory.h", 193 "mojo_media_application_factory.h",
194 ] 194 ]
195 195
196 public_configs = [ ":mojo_media_config" ] 196 public_configs = [ ":mojo_media_config" ]
197 197
198 deps = [ 198 deps = [
199 ":application", 199 ":application",
200 "//base", 200 "//base",
201 "//media", 201 "//media",
202 "//mojo/shell/public/cpp:sources", 202 "//services/shell/public/cpp:sources",
203 ] 203 ]
204 204
205 if (enable_test_mojo_media_client) { 205 if (enable_test_mojo_media_client) {
206 defines = [ "ENABLE_TEST_MOJO_MEDIA_CLIENT" ] 206 defines = [ "ENABLE_TEST_MOJO_MEDIA_CLIENT" ]
207 sources += [ 207 sources += [
208 "test_mojo_media_client.cc", 208 "test_mojo_media_client.cc",
209 "test_mojo_media_client.h", 209 "test_mojo_media_client.h",
210 ] 210 ]
211 } else if (is_android) { 211 } else if (is_android) {
212 sources += [ 212 sources += [
(...skipping 16 matching lines...) Expand all
229 "test_mojo_media_client.cc", 229 "test_mojo_media_client.cc",
230 "test_mojo_media_client.h", 230 "test_mojo_media_client.h",
231 ] 231 ]
232 232
233 deps = [ 233 deps = [
234 ":application", 234 ":application",
235 "//base", 235 "//base",
236 "//media", 236 "//media",
237 "//mojo/logging", 237 "//mojo/logging",
238 "//mojo/public/c/system:for_shared_library", 238 "//mojo/public/c/system:for_shared_library",
239 "//mojo/shell/public/cpp:sources", 239 "//services/shell/public/cpp:sources",
240 ] 240 ]
241 } 241 }
242 242
243 # Note, the following tests must be loaded via mojo_runner as an app, e.g. 243 # Note, the following tests must be loaded via mojo_runner as an app, e.g.
244 # 244 #
245 # mojo/tools/apptest_runner.py 245 # mojo/tools/apptest_runner.py
246 # --apptest-filter mojo:media_apptests out/Debug 246 # --apptest-filter mojo:media_apptests out/Debug
247 # 247 #
248 # mojo/tools/apptest_runner.py 248 # mojo/tools/apptest_runner.py
249 # --apptest-filter mojo:media_pipeline_integration_apptests out/Debug 249 # --apptest-filter mojo:media_pipeline_integration_apptests out/Debug
250 # 250 #
251 mojo_native_application("media_apptests") { 251 mojo_native_application("media_apptests") {
252 testonly = true 252 testonly = true
253 253
254 sources = [ 254 sources = [
255 "media_apptest.cc", 255 "media_apptest.cc",
256 ] 256 ]
257 257
258 deps = [ 258 deps = [
259 ":proxy", 259 ":proxy",
260 "//media", 260 "//media",
261 "//media/base:test_support", 261 "//media/base:test_support",
262 "//media/mojo/common", 262 "//media/mojo/common",
263 "//media/mojo/interfaces", 263 "//media/mojo/interfaces",
264 "//mojo/shell/public/cpp:test_support", 264 "//services/shell/public/cpp:test_support",
265 "//testing/gmock", 265 "//testing/gmock",
266 "//testing/gtest", 266 "//testing/gtest",
267 ] 267 ]
268 268
269 data_deps = [ 269 data_deps = [
270 ":apptest_manifest", 270 ":apptest_manifest",
271 ":media", 271 ":media",
272 ] 272 ]
273 } 273 }
274 274
(...skipping 20 matching lines...) Expand all
295 source = "pipeline_apptest_manifest.json" 295 source = "pipeline_apptest_manifest.json"
296 } 296 }
297 297
298 group("tests") { 298 group("tests") {
299 testonly = true 299 testonly = true
300 deps = [ 300 deps = [
301 ":media_apptests", 301 ":media_apptests",
302 ":media_pipeline_integration_apptests", 302 ":media_pipeline_integration_apptests",
303 ] 303 ]
304 } 304 }
OLDNEW
« no previous file with comments | « media/mojo/DEPS ('k') | media/mojo/services/android_mojo_media_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698