| OLD | NEW |
| 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("//chrome/common/features.gni") | 6 import("//chrome/common/features.gni") |
| 7 import("//ppapi/features/features.gni") | 7 import("//ppapi/features/features.gni") |
| 8 import("//printing/features/features.gni") | 8 import("//printing/features/features.gni") |
| 9 import("//services/catalog/public/tools/catalog.gni") | |
| 10 import("//services/service_manager/public/service_manifest.gni") | 9 import("//services/service_manager/public/service_manifest.gni") |
| 11 import("//tools/grit/grit_rule.gni") | 10 import("//tools/grit/grit_rule.gni") |
| 12 | 11 |
| 13 # This target is for dependency tracking for the command ID header. | 12 # This target is for dependency tracking for the command ID header. |
| 14 source_set("command_ids") { | 13 source_set("command_ids") { |
| 15 sources = [ | 14 sources = [ |
| 16 "chrome_command_ids.h", | 15 "chrome_command_ids.h", |
| 17 ] | 16 ] |
| 18 } | 17 } |
| 19 | 18 |
| (...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 347 } | 346 } |
| 348 | 347 |
| 349 if (enable_plugins && enable_nacl) { | 348 if (enable_plugins && enable_nacl) { |
| 350 deps += [ | 349 deps += [ |
| 351 "//components/nacl/browser", | 350 "//components/nacl/browser", |
| 352 "//components/nacl/renderer/plugin:nacl_trusted_plugin", | 351 "//components/nacl/renderer/plugin:nacl_trusted_plugin", |
| 353 ] | 352 ] |
| 354 } | 353 } |
| 355 } | 354 } |
| 356 | 355 |
| 357 service_manifest("chrome_content_browser_manifest_overlay") { | 356 service_manifest_overlay("chrome_content_browser_manifest_overlay") { |
| 358 source = "//chrome/browser/chrome_content_browser_manifest_overlay.json" | 357 source = "//chrome/browser/chrome_content_browser_manifest_overlay.json" |
| 359 packaged_services = [ | 358 packaged_services = [ |
| 359 "image_decoder", |
| 360 "preferences", |
| 361 ] |
| 362 deps = [ |
| 360 "//chrome/browser:preferences_manifest", | 363 "//chrome/browser:preferences_manifest", |
| 361 "//services/image_decoder:manifest", | 364 "//services/image_decoder:manifest", |
| 362 ] | 365 ] |
| 363 } | 366 } |
| 364 | 367 |
| 365 service_manifest("chrome_content_gpu_manifest_overlay") { | |
| 366 source = "//chrome/browser/chrome_content_gpu_manifest_overlay.json" | |
| 367 } | |
| 368 | |
| 369 service_manifest("chrome_content_plugin_manifest_overlay") { | |
| 370 source = "//chrome/browser/chrome_content_plugin_manifest_overlay.json" | |
| 371 } | |
| 372 | |
| 373 service_manifest("chrome_content_renderer_manifest_overlay") { | |
| 374 source = "//chrome/browser/chrome_content_renderer_manifest_overlay.json" | |
| 375 } | |
| 376 | |
| 377 service_manifest("chrome_content_utility_manifest_overlay") { | |
| 378 source = "//chrome/browser/chrome_content_utility_manifest_overlay.json" | |
| 379 } | |
| 380 | |
| 381 group("chrome_content_manifest_overlays") { | |
| 382 deps = [ | |
| 383 ":chrome_content_browser_manifest_overlay", | |
| 384 ":chrome_content_gpu_manifest_overlay", | |
| 385 ":chrome_content_plugin_manifest_overlay", | |
| 386 ":chrome_content_renderer_manifest_overlay", | |
| 387 ":chrome_content_utility_manifest_overlay", | |
| 388 ] | |
| 389 } | |
| 390 | |
| 391 if (use_aura) { | 368 if (use_aura) { |
| 392 # NOTE: These rules generate compiled versions of the content service | 369 # NOTE: These rules generate compiled versions of the content service |
| 393 # manifests with Chrome's overlays applied. These are only used at run-time, | 370 # manifests with Chrome's overlays applied. These are only used at run-time, |
| 394 # and only when running Chrome inside the Mash environment. In production | 371 # and only when running Chrome inside the Mash environment. In production |
| 395 # Chrome, the content manifests and Chrome's overlays are baked into browser | 372 # Chrome, the content manifests and Chrome's overlays are baked into browser |
| 396 # resources and merged at runtime. | 373 # resources and merged at runtime. |
| 397 | 374 |
| 398 service_manifest("chrome_content_browser_manifest") { | 375 service_manifest("chrome_content_browser_manifest") { |
| 399 source_manifest = "//content/public/app:browser_manifest" | 376 name = "content_browser" |
| 400 overlays = [ ":chrome_content_browser_manifest_overlay" ] | 377 output_name = "chrome_content_browser" |
| 378 source = "${root_out_dir}/Packages/content_browser/manifest.json" |
| 379 overlays = |
| 380 [ "${root_gen_dir}/chrome_content_browser_manifest_overlay.json" ] |
| 381 deps = [ |
| 382 ":chrome_content_browser_manifest_overlay", |
| 383 "//content/public/app:browser_manifest", |
| 384 ] |
| 401 } | 385 } |
| 402 | 386 |
| 403 service_manifest("chrome_content_gpu_manifest") { | 387 service_manifest("chrome_content_gpu_manifest") { |
| 404 source_manifest = "//content/public/app:gpu_manifest" | 388 name = "content_gpu" |
| 405 overlays = [ ":chrome_content_gpu_manifest_overlay" ] | 389 output_name = "chrome_content_gpu" |
| 390 source = "${root_out_dir}/Packages/content_gpu/manifest.json" |
| 391 overlays = [ "//chrome/browser/chrome_content_gpu_manifest_overlay.json" ] |
| 392 deps = [ |
| 393 "//content/public/app:gpu_manifest", |
| 394 ] |
| 406 } | 395 } |
| 407 | 396 |
| 408 service_manifest("chrome_content_plugin_manifest") { | 397 service_manifest("chrome_content_plugin_manifest") { |
| 409 source_manifest = "//content/public/app:plugin_manifest" | 398 name = "content_plugin" |
| 410 overlays = [ ":chrome_content_plugin_manifest_overlay" ] | 399 output_name = "chrome_content_plugin" |
| 400 source = "${root_out_dir}/Packages/content_plugin/manifest.json" |
| 401 overlays = |
| 402 [ "//chrome/browser/chrome_content_plugin_manifest_overlay.json" ] |
| 403 deps = [ |
| 404 "//content/public/app:plugin_manifest", |
| 405 ] |
| 411 } | 406 } |
| 412 | 407 |
| 413 service_manifest("chrome_content_renderer_manifest") { | 408 service_manifest("chrome_content_renderer_manifest") { |
| 414 source_manifest = "//content/public/app:renderer_manifest" | 409 name = "content_renderer" |
| 415 overlays = [ ":chrome_content_renderer_manifest_overlay" ] | 410 output_name = "chrome_content_renderer" |
| 411 source = "${root_out_dir}/Packages/content_renderer/manifest.json" |
| 412 overlays = |
| 413 [ "//chrome/browser/chrome_content_renderer_manifest_overlay.json" ] |
| 414 deps = [ |
| 415 "//content/public/app:renderer_manifest", |
| 416 ] |
| 416 } | 417 } |
| 417 | 418 |
| 418 service_manifest("chrome_content_utility_manifest") { | 419 service_manifest("chrome_content_utility_manifest") { |
| 419 source_manifest = "//content/public/app:utility_manifest" | 420 name = "content_utility" |
| 420 overlays = [ ":chrome_content_utility_manifest_overlay" ] | 421 output_name = "chrome_content_utility" |
| 422 source = "${root_out_dir}/Packages/content_utility/manifest.json" |
| 423 overlays = |
| 424 [ "//chrome/browser/chrome_content_utility_manifest_overlay.json" ] |
| 425 deps = [ |
| 426 "//content/public/app:utility_manifest", |
| 427 ] |
| 421 } | 428 } |
| 422 | 429 |
| 423 group("service_manifests") { | 430 group("service_manifests") { |
| 424 data_deps = [ | 431 data_deps = [ |
| 425 ":chrome_content_browser_manifest", | 432 ":chrome_content_browser_manifest", |
| 426 ":chrome_content_gpu_manifest", | 433 ":chrome_content_gpu_manifest", |
| 427 ":chrome_content_plugin_manifest", | 434 ":chrome_content_plugin_manifest", |
| 428 ":chrome_content_renderer_manifest", | 435 ":chrome_content_renderer_manifest", |
| 429 ":chrome_content_utility_manifest", | 436 ":chrome_content_utility_manifest", |
| 430 ] | 437 ] |
| 431 } | 438 } |
| 432 | |
| 433 catalog("catalog") { | |
| 434 embedded_services = [ | |
| 435 ":chrome_content_browser_manifest", | |
| 436 ":chrome_content_gpu_manifest", | |
| 437 ":chrome_content_plugin_manifest", | |
| 438 ":chrome_content_renderer_manifest", | |
| 439 ":chrome_content_utility_manifest", | |
| 440 ] | |
| 441 } | |
| 442 } | 439 } |
| OLD | NEW |