blob: 0b3841bfadef6ac75e13531d8bb0e4b4798911ca [file] [log] [blame]
# Copyright 2021 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/chrome_build.gni")
source_set("structured") {
sources = []
deps = [
"//components/metrics",
"//components/metrics/structured",
"//components/metrics/structured:structured_metrics_validator",
"//components/metrics/structured/lib",
]
if (is_chromeos) {
deps += [ "//components/metrics/structured:external_metrics" ]
} else if (is_win || is_linux || is_mac) {
sources += [
"chrome_event_storage.cc",
"chrome_event_storage.h",
"chrome_structured_metrics_recorder.cc",
"chrome_structured_metrics_recorder.h",
"key_data_provider_chrome.cc",
"key_data_provider_chrome.h",
]
deps += [ "//components/prefs" ]
}
}
static_library("test_support") {
testonly = true
sources = [
"test/structured_metrics_mixin.cc",
"test/structured_metrics_mixin.h",
]
deps = [
"//chrome/test:test_support",
"//components/metrics/structured",
"//components/metrics/structured:structured_metrics_features",
"//components/metrics/structured:test_support",
"//components/metrics_services_manager",
]
}