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

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

Issue 2238083004: Video Capture Mojo (1.4b): Implement ability to use fake device instance (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@FillServicePart1
Patch Set: Fix control reached end of non-void function. Created 4 years, 3 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 | « no previous file | services/video_capture/DEPS » ('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 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 "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 "//mojo/public/cpp/system", 19 "//mojo/public/cpp/system",
19 "//services/shell/public/cpp", 20 "//services/shell/public/cpp",
20 "//services/video_capture/public/interfaces", 21 "//services/video_capture/public/interfaces",
21 ] 22 ]
22 23
23 data_deps = [ 24 data_deps = [
24 ":manifest", 25 ":manifest",
25 ] 26 ]
26 } 27 }
27 28
28 service_manifest("manifest") { 29 service_manifest("manifest") {
29 name = "video_capture" 30 name = "video_capture"
30 source = "service_manifest.json" 31 source = "service_manifest.json"
31 } 32 }
32 33
33 source_set("lib") { 34 source_set("lib") {
34 sources = [ 35 sources = [
36 "device_client_mojo_to_media_adapter.cc",
37 "device_client_mojo_to_media_adapter.h",
35 "video_capture_device_factory_impl.cc", 38 "video_capture_device_factory_impl.cc",
36 "video_capture_device_factory_impl.h", 39 "video_capture_device_factory_impl.h",
37 "video_capture_device_proxy_impl.cc", 40 "video_capture_device_proxy_impl.cc",
38 "video_capture_device_proxy_impl.h", 41 "video_capture_device_proxy_impl.h",
39 ] 42 ]
40 43
41 deps = [ 44 deps = [
42 "//base", 45 "//base",
46 "//media/capture:capture",
47 "//media/mojo/common:common",
43 "//mojo/common:common_base", 48 "//mojo/common:common_base",
44 "//services/shell/public/cpp", 49 "//services/shell/public/cpp",
45 "//services/video_capture/public/interfaces", 50 "//services/video_capture/public/interfaces",
46 ] 51 ]
47 } 52 }
48 53
49 test("video_capture_unittests") { 54 test("video_capture_unittests") {
50 sources = [ 55 sources = [
51 "service_unittest.cc", 56 "fake_device_video_capture_service_test.cc",
57 "fake_device_video_capture_service_test.h",
58 "fake_device_video_capture_service_unittest.cc",
59 "mock_device_descriptor_receiver.cc",
60 "mock_device_descriptor_receiver.h",
61 "mock_video_capture_device_client.cc",
62 "mock_video_capture_device_client.h",
63 "video_capture_service_test.cc",
64 "video_capture_service_test.h",
65 "video_capture_service_unittest.cc",
52 ] 66 ]
53 67
54 deps = [ 68 deps = [
55 ":video_capture", 69 ":video_capture",
56 "//base", 70 "//base",
57 "//base/test:test_support", 71 "//base/test:test_support",
58 "//services/shell/public/cpp", 72 "//services/shell/public/cpp",
59 "//services/shell/public/cpp:service_test_support", 73 "//services/shell/public/cpp:service_test_support",
60 "//services/shell/public/cpp/test:run_all_shelltests", 74 "//services/shell/public/cpp/test:run_all_shelltests",
61 "//services/video_capture/public/interfaces", 75 "//services/video_capture/public/interfaces",
62 "//testing/gmock", 76 "//testing/gmock",
63 "//testing/gtest", 77 "//testing/gtest",
64 ] 78 ]
65 79
66 data_deps = [ 80 data_deps = [
67 ":unittest_manifest", 81 ":unittest_manifest",
68 ] 82 ]
69 } 83 }
70 84
71 service_manifest("unittest_manifest") { 85 service_manifest("unittest_manifest") {
72 name = "video_capture_unittests" 86 name = "video_capture_unittests"
73 source = "service_unittest_manifest.json" 87 source = "service_unittest_manifest.json"
74 } 88 }
OLDNEW
« no previous file with comments | « no previous file | services/video_capture/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698