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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
ash / webui / status_area_internals / BUILD.gn [blame]
# Copyright 2023 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")
assert(is_chromeos_ash, "Status Area Internals is ash-chrome only")
static_library("status_area_internals") {
sources = [
"status_area_internals_handler.cc",
"status_area_internals_handler.h",
"status_area_internals_ui.cc",
"status_area_internals_ui.h",
"url_constants.cc",
"url_constants.h",
]
deps = [
"//ash",
"//ash/webui/common:trusted_types_util",
"//ash/webui/status_area_internals/mojom:mojom",
"//ash/webui/status_area_internals/resources:resources",
"//chromeos/components/magic_boost/public/cpp:cpp",
"//components/prefs:prefs",
"//content/public/browser",
"//ui/webui",
"//ui/webui/resources",
]
}
source_set("unit_tests") {
testonly = true
sources = [ "status_area_internals_handler_unittest.cc" ]
deps = [
":status_area_internals",
"//ash",
"//ash:test_support",
"//ash/webui/status_area_internals/mojom:mojom",
"//base",
"//chromeos/ash/components:test_support",
"//chromeos/components/magic_boost/public/cpp:cpp",
"//components/prefs:prefs",
"//content/test:test_support",
"//testing/gtest",
"//ui/webui",
]
}