1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
ash / webui / metrics / BUILD.gn [blame]
# Copyright 2024 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("//testing/test.gni")
assert(is_chromeos_ash)
source_set("structured_metrics_service_wrapper") {
sources = [
"structured_metrics_service_wrapper.cc",
"structured_metrics_service_wrapper.h",
]
deps = [
"//base",
"//chromeos/crosapi/mojom",
"//components/metrics/structured:events",
"//components/metrics/structured:structured",
]
}
source_set("unit_tests") {
testonly = true
sources = [ "structured_metrics_service_wrapper_unittest.cc" ]
deps = [
":structured_metrics_service_wrapper",
"//ash/constants",
"//base",
"//base/test:test_support",
"//components/metrics/structured:structured_events",
"//components/metrics/structured:test_support",
"//testing/gtest",
]
}