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("//build/config/features.gni") | 5 import("//build/config/features.gni") |
6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 import("//build/util/version.gni") | 7 import("//build/util/version.gni") |
8 import("//remoting/remoting_version.gni") | 8 import("//remoting/remoting_version.gni") |
9 import("//remoting/remoting_enable.gni") | 9 import("//remoting/remoting_enable.gni") |
10 import("//testing/test.gni") | 10 import("//testing/test.gni") |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 "//remoting/android:remoting_test_apk", | 53 "//remoting/android:remoting_test_apk", |
54 ] | 54 ] |
55 } | 55 } |
56 | 56 |
57 if (enable_remoting_host) { | 57 if (enable_remoting_host) { |
58 deps += [ | 58 deps += [ |
59 "//remoting:remoting_perftests", | 59 "//remoting:remoting_perftests", |
60 "//remoting/host", | 60 "//remoting/host", |
61 ] | 61 ] |
62 | 62 |
63 if (!is_android) { | |
64 deps += [ "//remoting/host:remoting_native_messaging_manifests" ] | |
65 } | |
66 | |
67 if (!is_chromeos && !is_android) { | 63 if (!is_chromeos && !is_android) { |
68 deps += [ | 64 deps += [ |
| 65 "//remoting/host:remoting_native_messaging_manifests", |
69 "//remoting/host:remoting_start_host", | 66 "//remoting/host:remoting_start_host", |
70 "//remoting/host/it2me:remote_assistance_host", | 67 "//remoting/host/it2me:remote_assistance_host", |
71 ] | 68 ] |
72 } | 69 } |
| 70 |
| 71 # The same target is called differently on Linux. |
| 72 # TODO(sergeyu): Rename it to remoting_native_messaging_host on all |
| 73 # platforms. |
| 74 if (is_win) { |
| 75 deps += [ "//remoting/host:remoting_native_messaging_host" ] |
| 76 } else if (!is_chromeos && !is_android) { |
| 77 deps += [ "//remoting/host:native_messaging_host" ] |
| 78 } |
| 79 |
| 80 if (is_linux && !is_chromeos) { |
| 81 deps += [ "//remoting/host:remoting_dev_me2me_host" ] |
| 82 } |
73 } | 83 } |
74 | 84 |
75 if (enable_me2me_host) { | 85 if (enable_me2me_host) { |
76 deps += [ "//remoting/host:remoting_me2me_host" ] | 86 deps += [ "//remoting/host:remoting_me2me_host" ] |
77 if (is_chrome_branded) { | 87 if (is_chrome_branded) { |
78 deps += [ "//remoting/host:remoting_me2me_host_archive" ] | 88 deps += [ "//remoting/host:remoting_me2me_host_archive" ] |
79 } | 89 } |
80 } | 90 } |
81 | 91 |
82 if (enable_nacl) { | 92 if (enable_nacl) { |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 | 229 |
220 if (enable_webrtc) { | 230 if (enable_webrtc) { |
221 deps += [ "//third_party/libjingle:libjingle_webrtc" ] | 231 deps += [ "//third_party/libjingle:libjingle_webrtc" ] |
222 } | 232 } |
223 } | 233 } |
224 } | 234 } |
225 } else { | 235 } else { |
226 group("remoting_unittests") { | 236 group("remoting_unittests") { |
227 } | 237 } |
228 } | 238 } |
OLD | NEW |