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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
|
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/config/ui.gni")
import("//testing/test.gni")
import("//services/service_manager/public/cpp/service.gni")
import("//services/service_manager/public/service_manifest.gni")
import("//tools/grit/repack.gni")
group("all") {
testonly = true
deps = [
":ui",
"//services/ui/ime/test_ime_driver",
"//services/ui/test_wm",
]
}
service("ui") {
sources = [
"main.cc",
]
deps = [
":lib",
"//services/service_manager/public/cpp",
]
data_deps = [
":resources_100",
":resources_200",
":resources_strings",
"//services/ui/ime/test_ime_driver",
]
}
service_manifest("manifest") {
name = "ui"
source = "manifest.json"
}
source_set("lib") {
sources = [
"service.cc",
"service.h",
]
public_deps = [
"//services/ui/common:mus_common",
]
deps = [
"//base",
"//cc",
"//cc/surfaces",
"//components/discardable_memory/public/interfaces",
"//components/discardable_memory/service",
"//mojo/common:common_base",
"//services/catalog/public/cpp",
"//services/catalog/public/interfaces:constants",
"//services/service_manager/public/cpp",
"//services/ui/clipboard:lib",
"//services/ui/ime:lib",
"//services/ui/input_devices",
"//services/ui/public/interfaces",
"//services/ui/surfaces",
"//services/ui/ws:lib",
"//services/ui/ws:test_interface",
"//ui/events",
"//ui/events/ozone:events_ozone_layout",
"//ui/gl:gl",
"//ui/platform_window:platform_impls",
"//ui/platform_window:platform_window",
]
if (use_x11) {
public_configs = [ "//build/config/linux:x11" ]
public_deps += [ "//ui/events/platform/x11" ]
}
if (use_ozone) {
deps += [ "//ui/ozone:ozone" ]
}
}
repack("resources_strings") {
sources = [
"$root_gen_dir/ui/strings/app_locale_settings_en-US.pak",
"$root_gen_dir/ui/strings/ui_strings_en-US.pak",
]
output = "$root_out_dir/mus_app_resources_strings.pak"
deps = [
"//ui/strings",
]
}
repack("resources_100") {
sources = [
"$root_gen_dir/ui/resources/ui_resources_100_percent.pak",
]
output = "$root_out_dir/mus_app_resources_100.pak"
deps = [
"//ui/resources",
]
}
repack("resources_200") {
sources = [
"$root_gen_dir/ui/resources/ui_resources_200_percent.pak",
]
output = "$root_out_dir/mus_app_resources_200.pak"
deps = [
"//ui/resources",
]
}
|