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

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

Issue 1716793003: Enforce Capability Filter provided in manifest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@9deps
Patch Set: . Created 4 years, 10 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 | « mash/wm/manifest.json ('k') | media/mojo/services/apptest_manifest.json » ('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 9
9 # Target naming conventions: 10 # Target naming conventions:
10 # - converters: C++/Mojo type converters. 11 # - converters: C++/Mojo type converters.
11 # - proxy: C++ implementations supported by mojo services. 12 # - proxy: C++ implementations supported by mojo services.
12 # - service: Mojo interface implementations. 13 # - service: Mojo interface implementations.
13 # - unittests: Unit tests for a particular class/file. 14 # - unittests: Unit tests for a particular class/file.
14 # - test: Tests for a particular app, e.g. media. 15 # - test: Tests for a particular app, e.g. media.
15 16
16 config("mojo_media_config") { 17 config("mojo_media_config") {
17 if (!enable_mojo_media) { 18 if (!enable_mojo_media) {
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 # --apptest-filter mojo:media_pipeline_integration_apptests out/Debug 259 # --apptest-filter mojo:media_pipeline_integration_apptests out/Debug
259 # 260 #
260 mojo_native_application("media_apptests") { 261 mojo_native_application("media_apptests") {
261 testonly = true 262 testonly = true
262 263
263 sources = [ 264 sources = [
264 "media_apptest.cc", 265 "media_apptest.cc",
265 ] 266 ]
266 267
267 deps = [ 268 deps = [
269 ":apptest_manifest",
268 ":proxy", 270 ":proxy",
269 "//media/base:test_support", 271 "//media/base:test_support",
270 "//mojo/shell/public/cpp:test_support", 272 "//mojo/shell/public/cpp:test_support",
271 "//testing/gmock", 273 "//testing/gmock",
272 "//testing/gtest", 274 "//testing/gtest",
273 ] 275 ]
274 276
275 data_deps = [ 277 data_deps = [
276 ":media", 278 ":media",
277 ] 279 ]
278 } 280 }
279 281
282 mojo_application_manifest("apptest_manifest") {
283 application_name = "media_apptests"
284 source = "apptest_manifest.json"
285 }
286
280 mojo_native_application("media_pipeline_integration_apptests") { 287 mojo_native_application("media_pipeline_integration_apptests") {
281 testonly = true 288 testonly = true
282 289
283 deps = [ 290 deps = [
291 ":pipeline_apptest_manifest",
284 "//media/test:mojo_pipeline_integration_tests", 292 "//media/test:mojo_pipeline_integration_tests",
285 ] 293 ]
286 294
287 data_deps = [ 295 data_deps = [
288 ":media", 296 ":media",
289 ] 297 ]
290 } 298 }
291 299
300 mojo_application_manifest("pipeline_apptest_manifest") {
301 application_name = "media_pipeline_integration_apptests"
302 source = "pipeline_apptest_manifest.json"
303 }
304
292 group("tests") { 305 group("tests") {
293 testonly = true 306 testonly = true
294 deps = [ 307 deps = [
295 ":media_apptests", 308 ":media_apptests",
296 ":media_mojo_unittests", 309 ":media_mojo_unittests",
297 ":media_pipeline_integration_apptests", 310 ":media_pipeline_integration_apptests",
298 ] 311 ]
299 } 312 }
OLDNEW
« no previous file with comments | « mash/wm/manifest.json ('k') | media/mojo/services/apptest_manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698