OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//remoting/build/config/remoting_build.gni") | 5 import("//remoting/build/config/remoting_build.gni") |
6 | 6 |
7 group("remoting_all") { | 7 group("remoting_all") { |
8 testonly = true | 8 testonly = true |
9 | 9 |
10 deps = [ | 10 deps = [ |
11 ":remoting_unittests", | 11 ":remoting_unittests", |
12 "//remoting/test:chromoting_test_driver", | 12 "//remoting/test:chromoting_test_driver", |
13 "//remoting/webapp:browser_test_resources", | 13 "//remoting/webapp:browser_test_resources", |
14 "//remoting/webapp:unit_tests", | 14 "//remoting/webapp:unit_tests", |
15 ] | 15 ] |
16 | 16 |
17 if ((is_linux && !is_chromeos) || is_win || is_mac) { | 17 if ((is_linux && !is_chromeos) || is_win || is_mac) { |
18 deps += [ "//remoting/webapp" ] | 18 deps += [ "//remoting/webapp" ] |
19 } | 19 } |
20 | 20 |
21 if (is_win) { | 21 if (is_win) { |
22 deps += [ | 22 deps += [ |
23 "//remoting:remoting_breakpad_tester", | 23 "//remoting:remoting_breakpad_tester", |
24 "//remoting/host/win:all", | 24 "//remoting/host:remoting_console", |
| 25 "//remoting/host:remoting_desktop", |
25 ] | 26 ] |
26 | 27 |
27 if (is_chrome_branded) { | 28 if (is_chrome_branded) { |
28 deps += [ "//remoting/host:remoting_host_installation" ] | 29 deps += [ "//remoting/host:remoting_host_installation" ] |
29 } | 30 } |
30 } | 31 } |
31 | 32 |
32 if (is_android) { | 33 if (is_android) { |
33 deps += [ | 34 deps += [ |
34 "//remoting/android:remoting_apk", | 35 "//remoting/android:remoting_apk", |
(...skipping 12 matching lines...) Expand all Loading... |
47 "//remoting/host:remoting_native_messaging_manifests", | 48 "//remoting/host:remoting_native_messaging_manifests", |
48 "//remoting/host:remoting_start_host", | 49 "//remoting/host:remoting_start_host", |
49 "//remoting/host/it2me:remote_assistance_host", | 50 "//remoting/host/it2me:remote_assistance_host", |
50 ] | 51 ] |
51 | 52 |
52 if (is_win) { | 53 if (is_win) { |
53 deps += [ "//remoting/host/it2me:remote_assistance_host_uiaccess" ] | 54 deps += [ "//remoting/host/it2me:remote_assistance_host_uiaccess" ] |
54 } | 55 } |
55 } | 56 } |
56 | 57 |
57 if (is_win || (!is_chromeos && !is_android && !is_ios)) { | 58 # The same target is called differently on Linux. |
| 59 # TODO(sergeyu): Rename it to remoting_native_messaging_host on all |
| 60 # platforms. |
| 61 if (is_win) { |
58 deps += [ "//remoting/host:remoting_native_messaging_host" ] | 62 deps += [ "//remoting/host:remoting_native_messaging_host" ] |
| 63 } else if (!is_chromeos && !is_android) { |
| 64 deps += [ "//remoting/host:native_messaging_host" ] |
59 } | 65 } |
60 | 66 |
61 if (is_linux && !is_chromeos) { | 67 if (is_linux && !is_chromeos) { |
62 deps += [ "//remoting/host:remoting_dev_me2me_host" ] | 68 deps += [ "//remoting/host:remoting_dev_me2me_host" ] |
63 } | 69 } |
64 } | 70 } |
65 | 71 |
66 if (enable_me2me_host) { | 72 if (enable_me2me_host) { |
67 deps += [ "//remoting/host:remoting_me2me_host" ] | 73 deps += [ "//remoting/host:remoting_me2me_host" ] |
68 if (is_chrome_branded) { | 74 if (is_chrome_branded) { |
69 deps += [ "//remoting/host:remoting_me2me_host_archive" ] | 75 deps += [ "//remoting/host:remoting_me2me_host_archive" ] |
70 } | 76 } |
71 } | 77 } |
72 | 78 |
73 if (enable_nacl) { | 79 if (enable_nacl) { |
74 deps += [ "//remoting/tools/javascript_key_tester" ] | 80 deps += [ "//remoting/tools/javascript_key_tester" ] |
75 } | 81 } |
76 } | 82 } |
77 | 83 |
78 if (is_win) { | 84 if (is_win) { |
79 # GYP version: remoting/remoting_host_win.gypi:remoting_breakpad_tester | 85 # GYP version: remoting/remoting_host_win.gypi:remoting_breakpad_tester |
80 executable("remoting_breakpad_tester") { | 86 executable("remoting_breakpad_tester") { |
81 deps = [ | 87 deps = [ |
82 "//base", | 88 "//base", |
83 "//build/win:default_exe_manifest", | 89 "//build/win:default_exe_manifest", |
84 "//remoting/host", | 90 "//remoting/host", |
85 ] | 91 ] |
86 | 92 |
87 libs = [] | |
88 | |
89 configs += [ "//build/config/compiler:wexit_time_destructors" ] | 93 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
90 | 94 |
91 sources = [ | 95 sources = [ |
92 "tools/breakpad_tester_win.cc", | 96 "tools/breakpad_tester_win.cc", |
93 ] | 97 ] |
94 | |
95 if (is_win) { | |
96 libs += [ | |
97 "rpcrt4.lib", | |
98 "wtsapi32.lib", | |
99 ] | |
100 } | |
101 } | 98 } |
102 } | 99 } |
103 | 100 |
104 # GYP version: remoting/remoting_test.gypi:remoting_test_support | 101 # GYP version: remoting/remoting_test.gypi:remoting_test_support |
105 group("test_support") { | 102 group("test_support") { |
106 testonly = true | 103 testonly = true |
107 | 104 |
108 deps = [ | 105 deps = [ |
109 "//base", | 106 "//base", |
110 "//net", | 107 "//net", |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 ] | 176 ] |
180 } | 177 } |
181 | 178 |
182 if (enable_configuration_policy) { | 179 if (enable_configuration_policy) { |
183 #deps += [ "//components/policy/core/browser:test_support" ] | 180 #deps += [ "//components/policy/core/browser:test_support" ] |
184 } | 181 } |
185 } | 182 } |
186 | 183 |
187 if (enable_remoting_host) { | 184 if (enable_remoting_host) { |
188 test("remoting_perftests") { | 185 test("remoting_perftests") { |
189 defines = [] | |
190 libs = [] | |
191 | |
192 sources = [ | 186 sources = [ |
193 "test/codec_perftest.cc", | 187 "test/codec_perftest.cc", |
194 "test/protocol_perftest.cc", | 188 "test/protocol_perftest.cc", |
195 ] | 189 ] |
196 | 190 |
197 configs += [ "//remoting/build/config:version" ] | 191 configs += [ "//remoting/build/config:version" ] |
198 | 192 |
199 deps = [ | 193 deps = [ |
200 ":test_support", | 194 ":test_support", |
201 "//base", | 195 "//base", |
202 "//base/test:run_all_unittests", | 196 "//base/test:run_all_unittests", |
203 "//base/test:test_support", | 197 "//base/test:test_support", |
204 "//net:test_support", | 198 "//net:test_support", |
205 "//remoting/base", | 199 "//remoting/base", |
206 "//testing/gtest", | 200 "//testing/gtest", |
207 "//third_party/libjingle", | 201 "//third_party/libjingle", |
208 "//third_party/webrtc/modules/desktop_capture", | 202 "//third_party/webrtc/modules/desktop_capture", |
209 ] | 203 ] |
210 | 204 |
211 if (enable_webrtc) { | 205 if (enable_webrtc) { |
212 deps += [ "//third_party/libjingle:libjingle_webrtc" ] | 206 deps += [ "//third_party/libjingle:libjingle_webrtc" ] |
213 } | 207 } |
214 | |
215 if (is_win) { | |
216 defines += [ "_ALT_NO_EXCEPTIONS" ] | |
217 | |
218 libs += [ | |
219 "rpcrt4.lib", | |
220 "wtsapi32.lib", | |
221 ] | |
222 } | |
223 } | 208 } |
224 } | 209 } |
OLD | NEW |