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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | services/video_capture/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/video_capture/BUILD.gn
diff --git a/services/video_capture/BUILD.gn b/services/video_capture/BUILD.gn
index b233c86dde45a7e254f59265e6e53646d14a9e4d..cea86351aeb1fb4cbd675095217fcbdd19b2dd15 100644
--- a/services/video_capture/BUILD.gn
+++ b/services/video_capture/BUILD.gn
@@ -15,6 +15,7 @@ service("video_capture") {
deps = [
":lib",
+ "//media/capture:capture",
"//mojo/public/cpp/system",
"//services/shell/public/cpp",
"//services/video_capture/public/interfaces",
@@ -32,6 +33,8 @@ service_manifest("manifest") {
source_set("lib") {
sources = [
+ "device_client_mojo_to_media_adapter.cc",
+ "device_client_mojo_to_media_adapter.h",
"video_capture_device_factory_impl.cc",
"video_capture_device_factory_impl.h",
"video_capture_device_proxy_impl.cc",
@@ -40,6 +43,8 @@ source_set("lib") {
deps = [
"//base",
+ "//media/capture:capture",
+ "//media/mojo/common:common",
"//mojo/common:common_base",
"//services/shell/public/cpp",
"//services/video_capture/public/interfaces",
@@ -48,7 +53,16 @@ source_set("lib") {
test("video_capture_unittests") {
sources = [
- "service_unittest.cc",
+ "fake_device_video_capture_service_test.cc",
+ "fake_device_video_capture_service_test.h",
+ "fake_device_video_capture_service_unittest.cc",
+ "mock_device_descriptor_receiver.cc",
+ "mock_device_descriptor_receiver.h",
+ "mock_video_capture_device_client.cc",
+ "mock_video_capture_device_client.h",
+ "video_capture_service_test.cc",
+ "video_capture_service_test.h",
+ "video_capture_service_unittest.cc",
]
deps = [
« 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