| 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_android.cc", | |
| 23 "it2me_confirmation_dialog_linux.cc", | 22 "it2me_confirmation_dialog_linux.cc", |
| 24 "it2me_confirmation_dialog_mac.mm", | 23 "it2me_confirmation_dialog_mac.mm", |
| 25 "it2me_confirmation_dialog_proxy.cc", | 24 "it2me_confirmation_dialog_proxy.cc", |
| 26 "it2me_confirmation_dialog_proxy.h", | 25 "it2me_confirmation_dialog_proxy.h", |
| 27 "it2me_confirmation_dialog_win.cc", | 26 "it2me_confirmation_dialog_win.cc", |
| 28 "it2me_host.cc", | 27 "it2me_host.cc", |
| 29 "it2me_host.h", | 28 "it2me_host.h", |
| 30 "it2me_native_messaging_host.cc", | 29 "it2me_native_messaging_host.cc", |
| 31 "it2me_native_messaging_host.h", | 30 "it2me_native_messaging_host.h", |
| 32 ] | 31 ] |
| 33 | 32 |
| 34 if (is_android) { | |
| 35 sources -= [ | |
| 36 "it2me_native_messaging_host.cc", | |
| 37 "it2me_native_messaging_host.h", | |
| 38 ] | |
| 39 } | |
| 40 | |
| 41 if (is_chromeos) { | 33 if (is_chromeos) { |
| 42 sources += [ "it2me_confirmation_dialog_chromeos.cc" ] | 34 sources += [ "it2me_confirmation_dialog_chromeos.cc" ] |
| 43 | 35 |
| 44 sources -= [ "it2me_confirmation_dialog_linux.cc" ] | 36 sources -= [ "it2me_confirmation_dialog_linux.cc" ] |
| 45 } | 37 } |
| 46 | 38 |
| 47 configs += [ | 39 configs += [ |
| 48 "//build/config/compiler:wexit_time_destructors", | 40 "//build/config/compiler:wexit_time_destructors", |
| 49 "//remoting/build/config:version", | 41 "//remoting/build/config:version", |
| 50 ] | 42 ] |
| (...skipping 16 matching lines...) Expand all Loading... |
| 67 all_dependent_configs = [ "//third_party/harfbuzz-ng:pangoft2_link_hack" ] | 59 all_dependent_configs = [ "//third_party/harfbuzz-ng:pangoft2_link_hack" ] |
| 68 | 60 |
| 69 if (use_gtk3) { | 61 if (use_gtk3) { |
| 70 deps += [ "//build/config/linux/gtk3" ] | 62 deps += [ "//build/config/linux/gtk3" ] |
| 71 } else { | 63 } else { |
| 72 deps += [ "//build/config/linux/gtk2" ] | 64 deps += [ "//build/config/linux/gtk2" ] |
| 73 } | 65 } |
| 74 } | 66 } |
| 75 } | 67 } |
| 76 | 68 |
| 77 if (!is_chromeos && !is_android && enable_remoting_host) { | 69 if (!is_chromeos && enable_remoting_host) { |
| 78 if (is_win) { | 70 if (is_win) { |
| 79 # GYP version: | 71 # GYP version: |
| 80 # //remoting/remoting_host_win.gypi:remoting_it2me_native_messaging_host | 72 # //remoting/remoting_host_win.gypi:remoting_it2me_native_messaging_host |
| 81 executable("remote_assistance_host") { | 73 executable("remote_assistance_host") { |
| 82 configs += [ "//build/config/compiler:wexit_time_destructors" ] | 74 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
| 83 | 75 |
| 84 deps = [ | 76 deps = [ |
| 85 "//base/allocator", | 77 "//base/allocator", |
| 86 "//remoting/host/win:dpi_aware_exe_manifest", | 78 "//remoting/host/win:dpi_aware_exe_manifest", |
| 87 "//remoting/host/win:remoting_core", | 79 "//remoting/host/win:remoting_core", |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 247 if (is_desktop_linux) { | 239 if (is_desktop_linux) { |
| 248 if (use_gtk3) { | 240 if (use_gtk3) { |
| 249 deps += [ "//build/config/linux/gtk3" ] | 241 deps += [ "//build/config/linux/gtk3" ] |
| 250 } else { | 242 } else { |
| 251 deps += [ "//build/config/linux/gtk2" ] | 243 deps += [ "//build/config/linux/gtk2" ] |
| 252 } | 244 } |
| 253 } | 245 } |
| 254 } | 246 } |
| 255 } | 247 } |
| 256 } | 248 } |
| OLD | NEW |