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

Unified Diff: services/ui/demo/BUILD.gn

Issue 2440453002: Splitting the Mus demo code out of a service. (Closed)
Patch Set: Addressed @sky comments and synced Created 4 years, 2 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/ui/demo/bitmap_uploader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/demo/BUILD.gn
diff --git a/services/ui/demo/BUILD.gn b/services/ui/demo/BUILD.gn
index 8eec9ba071983b6761667081a9a1d95fe236be08..381a43110ba11f0e8dee3c4138381114806ee0ad 100644
--- a/services/ui/demo/BUILD.gn
+++ b/services/ui/demo/BUILD.gn
@@ -8,22 +8,42 @@ import("//testing/test.gni")
service("mus_demo") {
sources = [
+ "main.cc",
+ "mus_demo_service.cc",
+ "mus_demo_service.h",
+ ]
+
+ deps = [
+ ":mus_demo_lib",
+ "//mojo/public/cpp/bindings",
+ "//services/service_manager/public/cpp",
+ "//services/service_manager/public/cpp:sources",
+ ]
+
+ data_deps = [
+ ":manifest",
+ ]
+}
+
+static_library("mus_demo_lib") {
+ sources = [
"bitmap_uploader.cc",
"bitmap_uploader.h",
- "main.cc",
"mus_demo.cc",
"mus_demo.h",
]
+ public_deps = [
+ "//skia",
+ ]
+
deps = [
"//base",
"//mojo/public/cpp/bindings",
"//services/service_manager/public/cpp",
- "//services/service_manager/public/cpp:sources",
"//services/ui/public/cpp",
"//services/ui/public/cpp:internal",
"//services/ui/public/interfaces",
- "//skia",
"//ui/gfx/geometry",
]
« no previous file with comments | « no previous file | services/ui/demo/bitmap_uploader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698