forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD.gn
65 lines (55 loc) · 1.43 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
# 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("//services/service_manager/public/cpp/service.gni")
import("//services/service_manager/public/service_manifest.gni")
import("//mojo/public/tools/bindings/mojom.gni")
import("//tools/grit/repack.gni")
source_set("lib") {
sources = [
"session.cc",
"session.h",
]
deps = [
"//base",
"//content/public/common:service_names",
"//mash/common",
"//mash/login/public/interfaces",
"//mash/quick_launch/public/interfaces:constants",
"//mash/screenlock/public/interfaces:constants",
"//mash/session/public/interfaces",
"//mojo/common",
"//mojo/public/cpp/bindings",
"//services/service_manager/public/cpp",
"//services/service_manager/public/cpp:sources",
]
data_deps = [
"//mash/quick_launch",
]
if (is_chromeos) {
data_deps += [ "//ash/mus" ]
}
}
service("session") {
output_name = "mash_session"
sources = [
"main.cc",
]
deps = [
":lib",
"//base",
"//mash/session/public/interfaces",
"//mojo/common",
"//mojo/public/cpp/bindings",
"//services/service_manager/public/cpp",
"//services/service_manager/public/cpp:sources",
]
data_deps = [
":manifest",
]
}
service_manifest("manifest") {
name = "mash_session"
source = "manifest.json"
}