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

Side by Side Diff: services/video_capture/BUILD.gn

Issue 2658063003: Misc service_manager and service test cleanup (Closed)
Patch Set: . Created 3 years, 11 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 | « services/ui/common/run_all_service_tests.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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("//services/service_manager/public/cpp/service.gni") 5 import("//services/service_manager/public/cpp/service.gni")
6 import("//services/service_manager/public/service_manifest.gni") 6 import("//services/service_manager/public/service_manifest.gni")
7 import("//services/service_manager/public/tools/test/service_test.gni")
7 import("//testing/test.gni") 8 import("//testing/test.gni")
8 9
9 service("video_capture") { 10 service("video_capture") {
10 sources = [ 11 sources = [
11 "service_impl.cc", 12 "service_impl.cc",
12 "service_impl.h", 13 "service_impl.h",
13 "service_main.cc", 14 "service_main.cc",
14 ] 15 ]
15 16
16 deps = [ 17 deps = [
(...skipping 22 matching lines...) Expand all
39 "//media", 40 "//media",
40 "//media/capture:capture", 41 "//media/capture:capture",
41 "//media/capture/mojo:image_capture", 42 "//media/capture/mojo:image_capture",
42 "//media/mojo/common:common", 43 "//media/mojo/common:common",
43 "//mojo/common:common_base", 44 "//mojo/common:common_base",
44 "//services/service_manager/public/cpp", 45 "//services/service_manager/public/cpp",
45 "//services/video_capture/public/interfaces", 46 "//services/video_capture/public/interfaces",
46 ] 47 ]
47 } 48 }
48 49
49 test("video_capture_unittests") { 50 service_test("video_capture_unittests") {
50 sources = [ 51 sources = [
51 "test/fake_device_descriptor_test.cc", 52 "test/fake_device_descriptor_test.cc",
52 "test/fake_device_descriptor_test.h", 53 "test/fake_device_descriptor_test.h",
53 "test/fake_device_descriptor_unittest.cc", 54 "test/fake_device_descriptor_unittest.cc",
54 "test/fake_device_test.cc", 55 "test/fake_device_test.cc",
55 "test/fake_device_test.h", 56 "test/fake_device_test.h",
56 "test/fake_device_unittest.cc", 57 "test/fake_device_unittest.cc",
57 "test/mock_device_factory.cc", 58 "test/mock_device_factory.cc",
58 "test/mock_device_factory.h", 59 "test/mock_device_factory.h",
59 "test/mock_device_test.cc", 60 "test/mock_device_test.cc",
60 "test/mock_device_test.h", 61 "test/mock_device_test.h",
61 "test/mock_device_unittest.cc", 62 "test/mock_device_unittest.cc",
62 "test/mock_receiver.cc", 63 "test/mock_receiver.cc",
63 "test/mock_receiver.h", 64 "test/mock_receiver.h",
64 "test/service_test.cc", 65 "test/service_test.cc",
65 "test/service_test.h", 66 "test/service_test.h",
66 "test/service_unittest.cc", 67 "test/service_unittest.cc",
67 ] 68 ]
68 69
70 catalog = ":video_capture_unittests_catalog"
71
69 deps = [ 72 deps = [
70 ":lib", 73 ":lib",
71 ":video_capture", 74 ":video_capture",
72 "//base/test:test_support", 75 "//base/test:test_support",
73 "//media/capture/mojo:capture_types", 76 "//media/capture/mojo:capture_types",
74 "//services/service_manager/public/cpp", 77 "//services/service_manager/public/cpp",
75 "//services/service_manager/public/cpp:service_test_support", 78 "//services/service_manager/public/cpp:service_test_support",
76 "//services/service_manager/public/cpp/test:run_all_service_tests",
77 "//testing/gmock", 79 "//testing/gmock",
78 "//testing/gtest", 80 "//testing/gtest",
79 "//ui/gfx:test_support", 81 "//ui/gfx:test_support",
80 ] 82 ]
81 } 83 }
82 84
83 service_manifest("unittest_manifest") { 85 service_manifest("unittest_manifest") {
84 name = "video_capture_unittests" 86 name = "video_capture_unittests"
85 source = "test/service_unittest_manifest.json" 87 source = "test/service_unittest_manifest.json"
86 } 88 }
89
90 catalog("video_capture_unittests_catalog") {
91 embedded_services = [ ":unittest_manifest" ]
92 standalone_services = [ ":manifest" ]
93 }
OLDNEW
« no previous file with comments | « services/ui/common/run_all_service_tests.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698