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_enable.gni") | 6 import("//remoting/remoting_enable.gni") |
7 import("//remoting/remoting_locales.gni") | 7 import("//remoting/remoting_locales.gni") |
8 import("//remoting/remoting_version.gni") | 8 import("//remoting/remoting_version.gni") |
9 | 9 |
10 if (is_win) { | 10 if (is_win) { |
11 import("//remoting/host/predefines_win.gni") | 11 import("//remoting/host/predefines_win.gni") |
12 } | 12 } |
13 if (is_mac) { | 13 if (is_mac) { |
14 import("//build/config/mac/rules.gni") | 14 import("//build/config/mac/rules.gni") |
15 import("//third_party/icu/config.gni") | 15 import("//third_party/icu/config.gni") |
16 } | 16 } |
17 | 17 |
18 source_set("common") { | 18 source_set("common") { |
19 sources = [ | 19 sources = [ |
20 "it2me_confirmation_dialog.cc", | 20 "it2me_confirmation_dialog.cc", |
21 "it2me_confirmation_dialog.h", | 21 "it2me_confirmation_dialog.h", |
22 "it2me_confirmation_dialog_chromeos.cc", | 22 "it2me_confirmation_dialog_android.cc", |
| 23 "it2me_confirmation_dialog_linux.cc", |
| 24 "it2me_confirmation_dialog_mac.cc", |
23 "it2me_confirmation_dialog_proxy.cc", | 25 "it2me_confirmation_dialog_proxy.cc", |
24 "it2me_confirmation_dialog_proxy.h", | 26 "it2me_confirmation_dialog_proxy.h", |
| 27 "it2me_confirmation_dialog_win.cc", |
25 "it2me_host.cc", | 28 "it2me_host.cc", |
26 "it2me_host.h", | 29 "it2me_host.h", |
27 "it2me_native_messaging_host.cc", | 30 "it2me_native_messaging_host.cc", |
28 "it2me_native_messaging_host.h", | 31 "it2me_native_messaging_host.h", |
29 ] | 32 ] |
30 | 33 |
31 if (is_android) { | 34 if (is_android) { |
32 sources -= [ | 35 sources -= [ |
33 "it2me_native_messaging_host.cc", | 36 "it2me_native_messaging_host.cc", |
34 "it2me_native_messaging_host.h", | 37 "it2me_native_messaging_host.h", |
35 ] | 38 ] |
36 } | 39 } |
37 | 40 |
| 41 if (is_chromeos) { |
| 42 sources += [ "it2me_confirmation_dialog_chromeos.cc" ] |
| 43 |
| 44 sources -= [ "it2me_confirmation_dialog_linux.cc" ] |
| 45 } |
| 46 |
38 configs += [ | 47 configs += [ |
39 "//build/config/compiler:wexit_time_destructors", | 48 "//build/config/compiler:wexit_time_destructors", |
40 "//remoting/build/config:version", | 49 "//remoting/build/config:version", |
41 ] | 50 ] |
42 | 51 |
43 deps = [ | 52 deps = [ |
44 "//base:i18n", | 53 "//base:i18n", |
45 "//net", | 54 "//net", |
46 "//remoting/base", | 55 "//remoting/base", |
47 "//remoting/host", | 56 "//remoting/host", |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 if (enable_webrtc) { | 217 if (enable_webrtc) { |
209 deps += [ "//third_party/libjingle:libjingle_webrtc" ] | 218 deps += [ "//third_party/libjingle:libjingle_webrtc" ] |
210 } | 219 } |
211 | 220 |
212 if (is_desktop_linux) { | 221 if (is_desktop_linux) { |
213 deps += [ "//build/config/linux/gtk2" ] | 222 deps += [ "//build/config/linux/gtk2" ] |
214 } | 223 } |
215 } | 224 } |
216 } | 225 } |
217 } | 226 } |
OLD | NEW |