blob: f36cfc58924492664f07b1a20e94b89afa28d39a [file] [log] [blame]
# Copyright 2018 The Fuchsia 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("//third_party/cobalt/metrics_registry.gni")
visibility = [
"//src/modular/bin/basemgr/*",
"//src/modular/bin/sessionmgr/*",
]
metrics_registry("basemgr_metrics_registry") {
# This must match the name of our Cobalt project as specified in:
# https://cobalt-analytics.googlesource.com/config/+/refs/heads/master/projects.yaml
project_name = "modular"
generate_cc = true
namespace = "cobalt_registry"
generate_binarypb = false
}
source_set("cobalt") {
sources = [
"cobalt.cc",
"cobalt.h",
]
public_deps = [
":basemgr_metrics_registry",
"//sdk/lib/sys/cpp",
"//src/lib/fxl",
]
deps = [
"//garnet/public/lib/cobalt/cpp:deprecated_cobalt_logger",
"//src/lib/callback",
"//src/lib/cobalt/cpp:cobalt_logger",
"//zircon/system/fidl/fuchsia-cobalt",
]
}