forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD.gn
82 lines (75 loc) · 1.82 KB
/
BUILD.gn
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
# Copyright 2016 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("//mojo/public/mojo_application.gni")
import("//mojo/public/mojo_application_manifest.gni")
import("//mojo/public/tools/bindings/mojom.gni")
import("//tools/grit/repack.gni")
source_set("lib") {
sources = [
"keyboard_ui_mus.cc",
"keyboard_ui_mus.h",
"shelf_delegate_mus.cc",
"shelf_delegate_mus.h",
"shell_delegate_mus.cc",
"shell_delegate_mus.h",
"stub_context_factory.cc",
"stub_context_factory.h",
"sysui_application.cc",
"sysui_application.h",
]
deps = [
"//ash",
"//cc",
"//cc/surfaces",
"//components/mus/common",
"//components/mus/public/cpp",
"//components/mus/public/interfaces",
"//components/user_manager",
"//mash/wm/public/interfaces",
"//mojo/common:common_base",
"//mojo/converters/geometry",
"//mojo/converters/input_events",
"//mojo/services/tracing/public/cpp",
"//mojo/shell/public/cpp",
"//skia",
"//ui/aura",
"//ui/events",
"//ui/gfx",
"//ui/gfx/geometry",
"//ui/keyboard:mojom",
"//ui/message_center",
"//ui/mojo/init",
"//ui/platform_window/stub",
"//ui/resources",
"//ui/strings",
"//ui/views",
"//ui/views/mus:for_mojo_application",
]
if (is_chromeos) {
deps += [
"//chromeos",
"//device/bluetooth",
"//ui/events/devices",
]
}
}
mojo_application_manifest("manifest") {
application_name = "ash_sysui"
source = "manifest.json"
}
mojo_native_application("mus") {
output_name = "ash_sysui"
sources = [
"main.cc",
]
deps = [
":lib",
":manifest",
"//mojo/shell/public/cpp",
]
data_deps = [
"//components/mus",
]
}