OLD | NEW |
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/shell/public/cpp/service.gni") | 5 import("//services/service_manager/public/cpp/service.gni") |
6 import("//services/shell/public/service_manifest.gni") | 6 import("//services/service_manager/public/service_manifest.gni") |
7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
8 | 8 |
9 service("video_capture") { | 9 service("video_capture") { |
10 sources = [ | 10 sources = [ |
11 "service_main.cc", | 11 "service_main.cc", |
12 "video_capture_service.cc", | 12 "video_capture_service.cc", |
13 "video_capture_service.h", | 13 "video_capture_service.h", |
14 ] | 14 ] |
15 | 15 |
16 deps = [ | 16 deps = [ |
17 ":lib", | 17 ":lib", |
18 "//media/capture:capture", | 18 "//media/capture:capture", |
19 "//mojo/public/cpp/system", | 19 "//mojo/public/cpp/system", |
20 "//services/shell/public/cpp", | 20 "//services/service_manager/public/cpp", |
21 "//services/video_capture/public/interfaces", | 21 "//services/video_capture/public/interfaces", |
22 ] | 22 ] |
23 | 23 |
24 data_deps = [ | 24 data_deps = [ |
25 ":manifest", | 25 ":manifest", |
26 ] | 26 ] |
27 } | 27 } |
28 | 28 |
29 service_manifest("manifest") { | 29 service_manifest("manifest") { |
30 name = "video_capture" | 30 name = "video_capture" |
(...skipping 20 matching lines...) Expand all Loading... |
51 "video_capture_device_proxy_impl.h", | 51 "video_capture_device_proxy_impl.h", |
52 ] | 52 ] |
53 | 53 |
54 deps = [ | 54 deps = [ |
55 "//base", | 55 "//base", |
56 "//media", | 56 "//media", |
57 "//media/capture:capture", | 57 "//media/capture:capture", |
58 "//media/mojo/common:common", | 58 "//media/mojo/common:common", |
59 "//media/mojo/interfaces:image_capture", | 59 "//media/mojo/interfaces:image_capture", |
60 "//mojo/common:common_base", | 60 "//mojo/common:common_base", |
61 "//services/shell/public/cpp", | 61 "//services/service_manager/public/cpp", |
62 "//services/video_capture/public/interfaces", | 62 "//services/video_capture/public/interfaces", |
63 ] | 63 ] |
64 } | 64 } |
65 | 65 |
66 test("video_capture_unittests") { | 66 test("video_capture_unittests") { |
67 sources = [ | 67 sources = [ |
68 "fake_device_descriptor_test.cc", | 68 "fake_device_descriptor_test.cc", |
69 "fake_device_descriptor_test.h", | 69 "fake_device_descriptor_test.h", |
70 "fake_device_descriptor_unittest.cc", | 70 "fake_device_descriptor_unittest.cc", |
71 "fake_device_test.cc", | 71 "fake_device_test.cc", |
(...skipping 11 matching lines...) Expand all Loading... |
83 "video_capture_service_test.cc", | 83 "video_capture_service_test.cc", |
84 "video_capture_service_test.h", | 84 "video_capture_service_test.h", |
85 "video_capture_service_unittest.cc", | 85 "video_capture_service_unittest.cc", |
86 ] | 86 ] |
87 | 87 |
88 deps = [ | 88 deps = [ |
89 ":video_capture", | 89 ":video_capture", |
90 "//base", | 90 "//base", |
91 "//base/test:test_support", | 91 "//base/test:test_support", |
92 "//media/mojo/common:common", | 92 "//media/mojo/common:common", |
93 "//services/shell/public/cpp", | 93 "//services/service_manager/public/cpp", |
94 "//services/shell/public/cpp:service_test_support", | 94 "//services/service_manager/public/cpp:service_test_support", |
95 "//services/shell/public/cpp/test:run_all_shelltests", | 95 "//services/service_manager/public/cpp/test:run_all_shelltests", |
96 "//services/video_capture/public/interfaces", | 96 "//services/video_capture/public/interfaces", |
97 "//testing/gmock", | 97 "//testing/gmock", |
98 "//testing/gtest", | 98 "//testing/gtest", |
99 "//ui/gfx:test_support", | 99 "//ui/gfx:test_support", |
100 ] | 100 ] |
101 | 101 |
102 data_deps = [ | 102 data_deps = [ |
103 ":unittest_manifest", | 103 ":unittest_manifest", |
104 ] | 104 ] |
105 } | 105 } |
106 | 106 |
107 service_manifest("unittest_manifest") { | 107 service_manifest("unittest_manifest") { |
108 name = "video_capture_unittests" | 108 name = "video_capture_unittests" |
109 source = "service_unittest_manifest.json" | 109 source = "service_unittest_manifest.json" |
110 } | 110 } |
OLD | NEW |