blob: 6f7b053113e6468fc17dda1b9c623437f0a565a7 [file] [log] [blame]
# Copyright 2022 The Chromium OS 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("//common-mk/pkg_config.gni")
pkg_config("target_defaults") {
pkg_deps = [
"libchrome",
"libmetrics",
]
}
static_library("libanalytics") {
sources = [
"registry.cc",
"registry.h",
"resource_collector.cc",
"resource_collector.h",
]
configs += [ ":target_defaults" ]
}
source_set("unit_tests") {
sources = [
"registry_test.cc",
"resource_collector_mock.cc",
"resource_collector_mock.h",
"resource_collector_test.cc",
]
deps = [ ":libanalytics" ]
configs += [ ":target_defaults" ]
}