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
|
# 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("//remoting/build/config/remoting_build.gni")
group("all_tests") {
testonly = true
}
if (enable_me2me_host) {
executable("remoting_user_session") {
sources = [
"remoting_user_session.cc",
]
deps = [
"//base",
]
libs = [ "pam" ]
}
copy("remoting_me2me_host_copy_script") {
sources = [
"linux_me2me_host.py",
]
outputs = [
"$root_build_dir/remoting/chrome-remote-desktop",
]
}
copy("remoting_me2me_host_copy_host_wrapper") {
sources = [
"remoting_me2me_host_wrapper.sh",
]
outputs = [
"$root_build_dir/remoting/chrome-remote-desktop-host",
]
}
group("remoting_dev_me2me_host") {
deps = [
":remoting_me2me_host_copy_host_wrapper",
":remoting_me2me_host_copy_script",
":remoting_native_messaging_host",
"//remoting/host:remoting_me2me_host",
]
}
}
source_set("linux") {
sources = [
"audio_pipe_reader.cc",
"audio_pipe_reader.h",
"certificate_watcher.cc",
"certificate_watcher.h",
"unicode_to_keysym.cc",
"unicode_to_keysym.h",
]
deps = [
"//remoting/protocol",
"//third_party/webrtc/modules/desktop_capture",
]
if (use_x11) {
deps += [ ":x11" ]
}
}
source_set("x11") {
sources = [
"x11_util.cc",
"x11_util.h",
"x_server_clipboard.cc",
"x_server_clipboard.h",
]
deps = [
"//third_party/webrtc/modules/desktop_capture",
]
}
target("executable", "remoting_native_messaging_host") {
configs += [ "//build/config/compiler:wexit_time_destructors" ]
sources = [
"//remoting/host/setup/me2me_native_messaging_host_entry_point.cc",
"//remoting/host/setup/me2me_native_messaging_host_main.cc",
"//remoting/host/setup/me2me_native_messaging_host_main.h",
]
deps = [
"//base",
"//remoting/base:breakpad",
"//remoting/host",
"//remoting/host:remoting_infoplist_strings",
"//remoting/host/native_messaging",
"//remoting/host/setup",
]
# The |major|, |build| and |patch| versions are inherited from Chrome.
# Since Chrome's |minor| version is always '0', we replace it with a
# Chromoting-specific patch version.
defines =
[ "VERSION=" + "$chrome_version_major" + "." + "$remoting_version_patch" +
"." + "$chrome_version_build" + "." + "$chrome_version_patch" ]
}
|