blob: 041c492f8083822c0fd70cf7a54fd8ec1354ee5a [file] [log] [blame]
# Copyright 2021 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")
metrics_registry("camera_metrics") {
project_id = 8
namespace = "camera::metrics"
generate_cc = true
}
source_set("cobalt_logger") {
sources = [
"event.cc",
"event.h",
"logger.cc",
"logger.h",
"metrics.h",
]
deps = [
"//sdk/fidl/fuchsia.camera2:fuchsia.camera2_hlcpp",
"//src/lib/fxl",
]
public_deps = [
":camera_metrics_cc",
"//sdk/fidl/fuchsia.metrics:fuchsia.metrics_hlcpp",
"//sdk/lib/sys/cpp",
"//src/cobalt/bin/utils:error_utils",
"//src/lib/backoff:backoff",
"//src/lib/timekeeper",
"//src/lib/timekeeper:system",
]
}