| # Copyright 2014 The Chromium Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| import("//services/service_manager/public/service_manifest.gni") |
| import("//mojo/public/tools/bindings/mojom.gni") |
| import("//testing/test.gni") |
| |
| group("all") { |
| testonly = true |
| deps = [ |
| ":service_manager", |
| "//services/service_manager/background", |
| "//services/service_manager/standalone", |
| "//services/service_manager/tests", |
| ] |
| } |
| |
| source_set("service_manager") { |
| sources = [ |
| "connect_params.cc", |
| "connect_params.h", |
| "connect_util.cc", |
| "connect_util.h", |
| "service_manager.cc", |
| "service_manager.h", |
| "service_overrides.cc", |
| "service_overrides.h", |
| "switches.cc", |
| "switches.h", |
| ] |
| |
| deps = [ |
| "//base", |
| "//base/third_party/dynamic_annotations", |
| "//mojo/common", |
| "//mojo/public/cpp/bindings", |
| "//services/catalog/public/interfaces:constants", |
| "//services/service_manager/public/cpp:sources", |
| "//services/service_manager/public/interfaces", |
| "//services/service_manager/runner/host:lib", |
| "//services/tracing/public/interfaces:constants", |
| ] |
| |
| public_deps = [ |
| # ApplicationManager exposes and uses PackageManager types in its header. |
| "//services/catalog:lib", |
| ] |
| } |
| |
| service_manifest("manifest") { |
| name = "service_manager" |
| source = "manifest.json" |
| } |