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
ash / webui / color_internals / BUILD.gn [blame]
# Copyright 2022 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("//chrome/test/base/ash/js2gtest.gni")
import("//third_party/closure_compiler/compile_js.gni")
import("//ui/webui/resources/tools/generate_grd.gni")
assert(is_chromeos_ash, "Color Internals is ash-chrome only")
static_library("color_internals") {
sources = [
"color_internals_ui.cc",
"color_internals_ui.h",
"url_constants.cc",
"url_constants.h",
"wallpaper_colors_handler_impl.cc",
"wallpaper_colors_handler_impl.h",
]
deps = [
"//ash/webui/color_internals/mojom",
"//ash/webui/color_internals/resources:resources",
"//content/public/browser",
"//ui/webui",
]
}
js2gtest("browser_tests_js") {
test_type = "mojo_webui"
sources = [ "test/color_internals_browsertest.js" ]
defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ]
}