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