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

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

Issue 2224103002: Package video capture skeleton as Mojo Shell Service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@VideoMojoSkeleton2
Patch Set: ben's comments Created 4 years, 4 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 | « BUILD.gn ('k') | services/video_capture/public/interfaces/video_capture_device.mojom » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 import("//services/shell/public/cpp/service.gni")
6 import("//services/shell/public/service_manifest.gni")
7 import("//testing/test.gni")
8
9 service("video_capture") {
10 sources = [
11 "service_main.cc",
12 "video_capture_service.cc",
13 "video_capture_service.h",
14 ]
15
16 deps = [
17 ":lib",
18 "//mojo/public/cpp/system",
19 "//services/shell/public/cpp",
20 "//services/video_capture/public/interfaces",
21 ]
22
23 data_deps = [
24 ":manifest",
25 ]
26 }
27
28 service_manifest("manifest") {
29 name = "video_capture"
30 source = "service_manifest.json"
31 }
32
33 source_set("lib") {
34 sources = [
35 "video_capture_device_client_impl.cc",
36 "video_capture_device_client_impl.h",
37 "video_capture_device_factory_impl.cc",
38 "video_capture_device_factory_impl.h",
39 "video_capture_device_impl.cc",
40 "video_capture_device_impl.h",
41 ]
42
43 deps = [
44 "//base",
45 "//mojo/common:common_base",
46 "//services/shell/public/cpp",
47 "//services/video_capture/public/interfaces",
48 ]
49 }
50
51 test("video_capture_unittests") {
52 sources = [
53 "service_unittest.cc",
54 ]
55
56 deps = [
57 ":video_capture",
58 "//base",
59 "//base/test:test_support",
60 "//services/shell/public/cpp",
61 "//services/shell/public/cpp:service_test_support",
62 "//services/shell/public/cpp/test:run_all_shelltests",
63 "//services/video_capture/public/interfaces",
64 "//testing/gmock",
65 "//testing/gtest",
66 ]
67
68 data_deps = [
69 ":unittest_manifest",
70 ]
71 }
72
73 service_manifest("unittest_manifest") {
74 name = "video_capture_unittests"
75 source = "service_unittest_manifest.json"
76 }
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | services/video_capture/public/interfaces/video_capture_device.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698