| 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 ] | 178 ] |
| 176 } | 179 } |
| 177 | 180 |
| 178 if (enable_configuration_policy) { | 181 if (enable_configuration_policy) { |
| 179 #deps += [ "//components/policy/core/browser:test_support" ] | 182 #deps += [ "//components/policy/core/browser:test_support" ] |
| 180 } | 183 } |
| 181 } | 184 } |
| 182 | 185 |
| 183 if (enable_remoting_host) { | 186 if (enable_remoting_host) { |
| 184 test("remoting_perftests") { | 187 test("remoting_perftests") { |
| 188 defines = [] |
| 189 libs = [] |
| 190 |
| 185 sources = [ | 191 sources = [ |
| 186 "test/codec_perftest.cc", | 192 "test/codec_perftest.cc", |
| 187 "test/protocol_perftest.cc", | 193 "test/protocol_perftest.cc", |
| 188 ] | 194 ] |
| 189 | 195 |
| 190 configs += [ "//remoting/build/config:version" ] | 196 configs += [ "//remoting/build/config:version" ] |
| 191 | 197 |
| 192 deps = [ | 198 deps = [ |
| 193 ":test_support", | 199 ":test_support", |
| 194 "//base", | 200 "//base", |
| 195 "//base/test:run_all_unittests", | 201 "//base/test:run_all_unittests", |
| 196 "//base/test:test_support", | 202 "//base/test:test_support", |
| 197 "//net:test_support", | 203 "//net:test_support", |
| 198 "//remoting/base", | 204 "//remoting/base", |
| 199 "//testing/gtest", | 205 "//testing/gtest", |
| 200 "//third_party/libjingle", | 206 "//third_party/libjingle", |
| 201 "//third_party/webrtc/modules/desktop_capture", | 207 "//third_party/webrtc/modules/desktop_capture", |
| 202 ] | 208 ] |
| 203 | 209 |
| 204 if (enable_webrtc) { | 210 if (enable_webrtc) { |
| 205 deps += [ "//third_party/libjingle:libjingle_webrtc" ] | 211 deps += [ "//third_party/libjingle:libjingle_webrtc" ] |
| 206 } | 212 } |
| 213 |
| 214 if (is_win) { |
| 215 defines += [ "_ALT_NO_EXCEPTIONS" ] |
| 216 |
| 217 libs += [ |
| 218 "rpcrt4.lib", |
| 219 "wtsapi32.lib", |
| 220 ] |
| 221 } |
| 207 } | 222 } |
| 208 } | 223 } |
| OLD | NEW |