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

Side by Side Diff: content/public/app/BUILD.gn

Issue 2164503006: Rename mojo_application GN templates to service* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 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 | « content/content.gyp ('k') | mash/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 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 # App different than the regular content subcomponents (see comments in 5 # App different than the regular content subcomponents (see comments in
6 # //content/BUILD.gn) because it has to support the browser/child process split 6 # //content/BUILD.gn) because it has to support the browser/child process split
7 # (the "both" target include both browser and child process files and is used 7 # (the "both" target include both browser and child process files and is used
8 # for testing). 8 # for testing).
9 # 9 #
10 # In non-component mode, browser, child, and both all follow the same structure: 10 # In non-component mode, browser, child, and both all follow the same structure:
11 # foo -> 11 # foo ->
12 # //content/public/app:child (group) -> 12 # //content/public/app:child (group) ->
13 # //content/public/app:child_sources (source set) -> 13 # //content/public/app:child_sources (source set) ->
14 # //content/app:child (source set) 14 # //content/app:child (source set)
15 15
16 # In component mode, content is linked as one big turd so there is only one 16 # In component mode, content is linked as one big turd so there is only one
17 # app target containing sources ("both") and the other ones forward to it: 17 # app target containing sources ("both") and the other ones forward to it:
18 # foo -> 18 # foo ->
19 # //content/public/app:child (group; "browser" and "both" ones look the same) 19 # //content/public/app:child (group; "browser" and "both" ones look the same)
20 # //content (shared library) -> 20 # //content (shared library) ->
21 # //content/public/app:both_sources (source set) 21 # //content/public/app:both_sources (source set)
22 22
23 import("//build/config/chrome_build.gni") 23 import("//build/config/chrome_build.gni")
24 import("//mojo/public/mojo_application_manifest.gni") 24 import("//services/shell/public/service_manifest.gni")
25 25
26 public_app_shared_sources = [ 26 public_app_shared_sources = [
27 "content_jni_onload.h", 27 "content_jni_onload.h",
28 "content_main.h", 28 "content_main.h",
29 "content_main_delegate.cc", 29 "content_main_delegate.cc",
30 "content_main_delegate.h", 30 "content_main_delegate.h",
31 "content_main_runner.h", 31 "content_main_runner.h",
32 "sandbox_helper_win.h", 32 "sandbox_helper_win.h",
33 ] 33 ]
34 34
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 ] 135 ]
136 } 136 }
137 group("child") { 137 group("child") {
138 deps = [ 138 deps = [
139 ":both", 139 ":both",
140 ] 140 ]
141 } 141 }
142 } 142 }
143 } 143 }
144 144
145 mojo_application_manifest("browser_manifest") { 145 service_manifest("browser_manifest") {
146 type = "exe" 146 type = "exe"
147 application_name = "content_browser" 147 name = "content_browser"
148 source = "mojo/content_browser_manifest.json" 148 source = "mojo/content_browser_manifest.json"
149 packaged_applications = [ 149 packaged_services = [
150 "media", 150 "media",
151 "user", 151 "user",
152 ] 152 ]
153 deps = [ 153 deps = [
154 "//media/mojo/services:media_manifest", 154 "//media/mojo/services:media_manifest",
155 "//services/user:manifest", 155 "//services/user:manifest",
156 ] 156 ]
157 } 157 }
158 158
159 mojo_application_manifest("gpu_manifest") { 159 service_manifest("gpu_manifest") {
160 type = "exe" 160 type = "exe"
161 application_name = "content_gpu" 161 name = "content_gpu"
162 source = "mojo/content_gpu_manifest.json" 162 source = "mojo/content_gpu_manifest.json"
163 } 163 }
164 164
165 mojo_application_manifest("renderer_manifest") { 165 service_manifest("renderer_manifest") {
166 type = "exe" 166 type = "exe"
167 application_name = "content_renderer" 167 name = "content_renderer"
168 source = "mojo/content_renderer_manifest.json" 168 source = "mojo/content_renderer_manifest.json"
169 } 169 }
170 170
171 mojo_application_manifest("utility_manifest") { 171 service_manifest("utility_manifest") {
172 type = "exe" 172 type = "exe"
173 application_name = "content_utility" 173 name = "content_utility"
174 source = "mojo/content_utility_manifest.json" 174 source = "mojo/content_utility_manifest.json"
175 } 175 }
OLDNEW
« no previous file with comments | « content/content.gyp ('k') | mash/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698