OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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("//remoting/remoting_host.gni") |
6 import("//remoting/remoting_srcs.gni") | 7 import("//remoting/remoting_srcs.gni") |
7 | 8 |
8 source_set("common") { | 9 source_set("common") { |
9 sources = rebase_path( | 10 sources = rebase_path( |
10 remoting_host_srcs_gypi_values.remoting_it2me_host_static_sources, | 11 remoting_host_srcs_gypi_values.remoting_it2me_host_static_sources, |
11 ".", | 12 ".", |
12 "//remoting") | 13 "//remoting") |
13 | 14 |
14 configs += [ | 15 configs += [ |
15 "//build/config/compiler:wexit_time_destructors", | 16 "//build/config/compiler:wexit_time_destructors", |
16 "//remoting:version", | 17 "//remoting:version", |
17 ] | 18 ] |
18 | 19 |
19 deps = [ | 20 deps = [ |
20 "//base:i18n", | 21 "//base:i18n", |
21 "//net:net", | 22 "//net:net", |
22 "//remoting/base", | 23 "//remoting/base", |
23 "//remoting/host", | 24 "//remoting/host", |
24 "//remoting/protocol", | 25 "//remoting/protocol", |
25 "//remoting/resources", | 26 "//remoting/resources", |
26 ] | 27 ] |
27 } | 28 } |
| 29 |
| 30 if (!is_win && enable_remoting_host) { |
| 31 executable("remote_assistance_host") { |
| 32 sources = [ |
| 33 "it2me_native_messaging_host_entry_point.cc", |
| 34 "it2me_native_messaging_host_main.cc", |
| 35 "it2me_native_messaging_host_main.h", |
| 36 ] |
| 37 |
| 38 configs += [ |
| 39 "//build/config/compiler:wexit_time_destructors", |
| 40 "//remoting:version", |
| 41 ] |
| 42 |
| 43 deps = [ |
| 44 ":common", |
| 45 "//remoting/host", |
| 46 "//remoting/host/native_messaging", |
| 47 "//remoting/proto", |
| 48 ] |
| 49 |
| 50 if (enable_webrtc) { |
| 51 deps += [ "//third_party/libjingle:libjingle_webrtc" ] |
| 52 } |
| 53 |
| 54 if (is_linux) { |
| 55 deps += [ "//build/config/linux/gtk" ] |
| 56 } |
| 57 } |
| 58 } |
OLD | NEW |