chromium/chrome/browser/ash/mojo_service_manager/BUILD.gn

# Copyright 2022 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import("//build/config/chromeos/ui_mode.gni")
import("//chromeos/features.gni")

assert(is_chromeos_ash)

static_library("mojo_service_manager") {
  sources = [
    "connection_helper.cc",
    "connection_helper.h",
    "utility_process_bridge.cc",
    "utility_process_bridge.h",
  ]
  deps = [
    "//base",
    "//chromeos:features",
    "//chromeos/ash/components/mojo_service_manager",
    "//content/public/common",
    "//mojo/public/cpp/bindings",
  ]
  if (!use_real_chromeos_services) {
    deps += [ "//chromeos/ash/services/cros_healthd/public/cpp:fakes" ]
  }
}