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

Side by Side Diff: services/service_manager/README.md

Issue 2652273002: Remove all service manifests from data_deps (Closed)
Patch Set: . Created 3 years, 11 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 | « media/mojo/services/BUILD.gn ('k') | services/service_manager/background/tests/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Service Manager User Guide 1 # Service Manager User Guide
2 2
3 ## What is the Service Manager? 3 ## What is the Service Manager?
4 4
5 The Service Manager is a tool that brokers connections and capabilities between 5 The Service Manager is a tool that brokers connections and capabilities between
6 and manages instances of components, referred to henceforth as “services”. 6 and manages instances of components, referred to henceforth as “services”.
7 7
8 The Service Manager performs the following functions: 8 The Service Manager performs the following functions:
9 9
10 * Brokering connections between services, including communicating policies such 10 * Brokering connections between services, including communicating policies such
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 } 123 }
124 124
125 **BUILD.gn:** 125 **BUILD.gn:**
126 126
127 import("//services/service_manager/public/cpp/service.gni") 127 import("//services/service_manager/public/cpp/service.gni")
128 import("//services/service_manager/public/service_manifest.gni") 128 import("//services/service_manager/public/service_manifest.gni")
129 129
130 service("my_service") { 130 service("my_service") {
131 sources = [ "my_service.cc" ] 131 sources = [ "my_service.cc" ]
132 deps = [ "//base", "//services/service_manager/public/cpp" ] 132 deps = [ "//base", "//services/service_manager/public/cpp" ]
133 data_deps = [ ":manifest" ]
134 } 133 }
135 134
136 service_manifest("manifest") { 135 service_manifest("manifest") {
137 name = "my_service" 136 name = "my_service"
138 source = "manifest.json" 137 source = "manifest.json"
139 } 138 }
140 139
141 What does all this do? Building the app target produces two files in the output 140 What does all this do? Building the app target produces two files in the output
142 directory: Packages/my_service/my_service.library and 141 directory: Packages/my_service/my_service.library and
143 Packages/my_service/manifest.json. app.library is a DSO loaded by the Service 142 Packages/my_service/manifest.json. app.library is a DSO loaded by the Service
(...skipping 660 matching lines...) Expand 10 before | Expand all | Expand 10 after
804 Under the Hood 803 Under the Hood
805 Four major components: Service Manager API (Mojom), Service Manager, Catalog, 804 Four major components: Service Manager API (Mojom), Service Manager, Catalog,
806 Service Manager Client Lib. 805 Service Manager Client Lib.
807 The connect flow, catalog, etc. 806 The connect flow, catalog, etc.
808 Capability brokering in the Service Manager 807 Capability brokering in the Service Manager
809 Userids 808 Userids
810 809
811 Finer points: 810 Finer points:
812 811
813 Service Names: mojo, exe 812 Service Names: mojo, exe
OLDNEW
« no previous file with comments | « media/mojo/services/BUILD.gn ('k') | services/service_manager/background/tests/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698