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
51
52
53
54
55
ash / webui / mall / 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("//mojo/public/tools/bindings/mojom.gni")
assert(is_chromeos_ash, "Mall is ash-chrome only")
source_set("mall") {
sources = [
"mall_page_handler.cc",
"mall_page_handler.h",
"mall_ui.cc",
"mall_ui.h",
"mall_ui_delegate.h",
]
deps = [
":mojo_bindings",
":url_constants",
"//ash/webui/common:chrome_os_webui_config",
"//ash/webui/mall/resources",
"//base",
"//chromeos/constants/",
"//components/strings:components_strings_grit",
"//content/public/browser",
"//ui/webui",
]
}
mojom("mojo_bindings") {
sources = [ "mall_ui.mojom" ]
public_deps = [ "//url/mojom:url_mojom_gurl" ]
webui_module_path = "/"
}
source_set("url_constants") {
sources = [
"url_constants.cc",
"url_constants.h",
]
deps = [
"//ash/constants",
"//base",
"//chromeos/constants",
"//url",
]
}
source_set("app_id") {
sources = [ "app_id.h" ]
}