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/shell/public/cpp/service.gni") |
6 import("//services/shell/public/service_manifest.gni") | 6 import("//services/shell/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 "fake_video_capture_device_factory_configurator_impl.cc", |
| 12 "fake_video_capture_device_factory_configurator_impl.h", |
11 "service_main.cc", | 13 "service_main.cc", |
12 "video_capture_service.cc", | 14 "video_capture_service.cc", |
13 "video_capture_service.h", | 15 "video_capture_service.h", |
14 ] | 16 ] |
15 | 17 |
16 deps = [ | 18 deps = [ |
17 ":lib", | 19 ":lib", |
18 "//mojo/public/cpp/system", | 20 "//mojo/public/cpp/system", |
19 "//services/shell/public/cpp", | 21 "//services/shell/public/cpp", |
20 "//services/video_capture/public/interfaces", | 22 "//services/video_capture/public/interfaces", |
21 ] | 23 ] |
22 | 24 |
23 data_deps = [ | 25 data_deps = [ |
24 ":manifest", | 26 ":manifest", |
25 ] | 27 ] |
26 } | 28 } |
27 | 29 |
28 service_manifest("manifest") { | 30 service_manifest("manifest") { |
29 name = "video_capture" | 31 name = "video_capture" |
30 source = "service_manifest.json" | 32 source = "service_manifest.json" |
31 } | 33 } |
32 | 34 |
33 source_set("lib") { | 35 source_set("lib") { |
34 sources = [ | 36 sources = [ |
35 "video_capture_device_client_impl.cc", | |
36 "video_capture_device_client_impl.h", | |
37 "video_capture_device_factory_impl.cc", | 37 "video_capture_device_factory_impl.cc", |
38 "video_capture_device_factory_impl.h", | 38 "video_capture_device_factory_impl.h", |
39 "video_capture_device_impl.cc", | 39 "video_capture_device_impl.cc", |
40 "video_capture_device_impl.h", | 40 "video_capture_device_impl.h", |
41 ] | 41 ] |
42 | 42 |
43 deps = [ | 43 deps = [ |
44 "//base", | 44 "//base", |
45 "//mojo/common:common_base", | 45 "//mojo/common:common_base", |
46 "//services/shell/public/cpp", | 46 "//services/shell/public/cpp", |
(...skipping 20 matching lines...) Expand all Loading... |
67 | 67 |
68 data_deps = [ | 68 data_deps = [ |
69 ":unittest_manifest", | 69 ":unittest_manifest", |
70 ] | 70 ] |
71 } | 71 } |
72 | 72 |
73 service_manifest("unittest_manifest") { | 73 service_manifest("unittest_manifest") { |
74 name = "video_capture_unittests" | 74 name = "video_capture_unittests" |
75 source = "service_unittest_manifest.json" | 75 source = "service_unittest_manifest.json" |
76 } | 76 } |
OLD | NEW |