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

Side by Side Diff: chrome/app/BUILD.gn

Issue 2389133008: Mash: Replaces "exe:chrome" with "service:content_browser" (Closed)
Patch Set: rebase 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 unified diff | Download patch
« no previous file with comments | « chrome/BUILD.gn ('k') | chrome/app/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 import("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 import("//services/shell/public/service_manifest.gni") 6 import("//services/shell/public/service_manifest.gni")
7 import("//tools/grit/grit_rule.gni") 7 import("//tools/grit/grit_rule.gni")
8 8
9 # This target is for dependency tracking for the command ID header. 9 # This target is for dependency tracking for the command ID header.
10 source_set("command_ids") { 10 source_set("command_ids") {
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 332
333 if (enable_plugins && enable_nacl) { 333 if (enable_plugins && enable_nacl) {
334 deps += [ 334 deps += [
335 "//components/nacl/browser", 335 "//components/nacl/browser",
336 "//components/nacl/renderer/plugin:nacl_trusted_plugin", 336 "//components/nacl/renderer/plugin:nacl_trusted_plugin",
337 ] 337 ]
338 } 338 }
339 } 339 }
340 340
341 if (use_aura) { 341 if (use_aura) {
342 service_manifest("chrome_manifest") { 342 # NOTE: These rules generate compiled versions of the content service
343 type = "exe" 343 # manifests with Chrome's overlays applied. These are only used at run-time,
344 name = "chrome" 344 # and only when running Chrome inside the Mash environment. In production
345 source = "mojo/chrome_manifest.json" 345 # Chrome, the content manifests and Chrome's overlays are baked into browser
346 base_manifest = "${root_out_dir}/Packages/content_browser/manifest.json" 346 # resources and merged at runtime.
347 base_deps = [ "//content/public/app:browser_manifest" ] 347
348 service_manifest("chrome_content_browser_manifest") {
349 name = "content_browser"
350 output_name = "chrome_content_browser"
351 source = "${root_out_dir}/Packages/content_browser/manifest.json"
352 overlays =
353 [ "//chrome/browser/chrome_content_browser_manifest_overlay.json" ]
354 deps = [
355 "//content/public/app:browser_manifest",
356 ]
348 } 357 }
349 358
350 service_manifest("chrome_renderer_manifest") { 359 service_manifest("chrome_content_gpu_manifest") {
351 type = "exe" 360 name = "content_gpu"
352 name = "chrome_renderer" 361 output_name = "chrome_content_gpu"
353 source = "mojo/chrome_renderer_manifest.json" 362 source = "${root_out_dir}/Packages/content_gpu/manifest.json"
354 base_manifest = "${root_out_dir}/Packages/content_renderer/manifest.json" 363 overlays = [ "//chrome/browser/chrome_content_gpu_manifest_overlay.json" ]
355 base_deps = [ "//content/public/app:renderer_manifest" ] 364 deps = [
365 "//content/public/app:gpu_manifest",
366 ]
356 } 367 }
357 368
358 group("mojo_manifests") { 369 service_manifest("chrome_content_renderer_manifest") {
370 name = "content_renderer"
371 output_name = "chrome_content_renderer"
372 source = "${root_out_dir}/Packages/content_renderer/manifest.json"
373 overlays =
374 [ "//chrome/browser/chrome_content_renderer_manifest_overlay.json" ]
375 deps = [
376 "//content/public/app:renderer_manifest",
377 ]
378 }
379
380 service_manifest("chrome_content_utility_manifest") {
381 name = "content_utility"
382 output_name = "chrome_content_utility"
383 source = "${root_out_dir}/Packages/content_utility/manifest.json"
384 overlays =
385 [ "//chrome/browser/chrome_content_utility_manifest_overlay.json" ]
386 deps = [
387 "//content/public/app:utility_manifest",
388 ]
389 }
390
391 group("service_manifests") {
359 data_deps = [ 392 data_deps = [
360 ":chrome_manifest", 393 ":chrome_content_browser_manifest",
361 ":chrome_renderer_manifest", 394 ":chrome_content_gpu_manifest",
395 ":chrome_content_renderer_manifest",
396 ":chrome_content_utility_manifest",
362 ] 397 ]
363 } 398 }
364 } 399 }
OLDNEW
« no previous file with comments | « chrome/BUILD.gn ('k') | chrome/app/mash/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698