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

Unified 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 side-by-side diff with in-line comments
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 »
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
new file mode 100644
index 0000000000000000000000000000000000000000..6c8dcfefbe08be33e80bdb1c45dba29461e9f415
--- /dev/null
+++ b/services/video_capture/BUILD.gn
@@ -0,0 +1,76 @@
+# Copyright 2016 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import("//services/shell/public/cpp/service.gni")
+import("//services/shell/public/service_manifest.gni")
+import("//testing/test.gni")
+
+service("video_capture") {
+ sources = [
+ "service_main.cc",
+ "video_capture_service.cc",
+ "video_capture_service.h",
+ ]
+
+ deps = [
+ ":lib",
+ "//mojo/public/cpp/system",
+ "//services/shell/public/cpp",
+ "//services/video_capture/public/interfaces",
+ ]
+
+ data_deps = [
+ ":manifest",
+ ]
+}
+
+service_manifest("manifest") {
+ name = "video_capture"
+ source = "service_manifest.json"
+}
+
+source_set("lib") {
+ sources = [
+ "video_capture_device_client_impl.cc",
+ "video_capture_device_client_impl.h",
+ "video_capture_device_factory_impl.cc",
+ "video_capture_device_factory_impl.h",
+ "video_capture_device_impl.cc",
+ "video_capture_device_impl.h",
+ ]
+
+ deps = [
+ "//base",
+ "//mojo/common:common_base",
+ "//services/shell/public/cpp",
+ "//services/video_capture/public/interfaces",
+ ]
+}
+
+test("video_capture_unittests") {
+ sources = [
+ "service_unittest.cc",
+ ]
+
+ deps = [
+ ":video_capture",
+ "//base",
+ "//base/test:test_support",
+ "//services/shell/public/cpp",
+ "//services/shell/public/cpp:service_test_support",
+ "//services/shell/public/cpp/test:run_all_shelltests",
+ "//services/video_capture/public/interfaces",
+ "//testing/gmock",
+ "//testing/gtest",
+ ]
+
+ data_deps = [
+ ":unittest_manifest",
+ ]
+}
+
+service_manifest("unittest_manifest") {
+ name = "video_capture_unittests"
+ source = "service_unittest_manifest.json"
+}
« 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