| 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) { |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 if (use_gtk3) { | 61 if (use_gtk3) { |
| 62 deps += [ "//build/config/linux/gtk3" ] | 62 deps += [ "//build/config/linux/gtk3" ] |
| 63 } else { | 63 } else { |
| 64 deps += [ "//build/config/linux/gtk2" ] | 64 deps += [ "//build/config/linux/gtk2" ] |
| 65 } | 65 } |
| 66 } | 66 } |
| 67 } | 67 } |
| 68 | 68 |
| 69 if (!is_chromeos && enable_remoting_host) { | 69 if (!is_chromeos && enable_remoting_host) { |
| 70 if (is_win) { | 70 if (is_win) { |
| 71 # GYP version: | |
| 72 # //remoting/remoting_host_win.gypi:remoting_it2me_native_messaging_host | |
| 73 executable("remote_assistance_host") { | 71 executable("remote_assistance_host") { |
| 74 configs += [ "//build/config/compiler:wexit_time_destructors" ] | 72 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
| 75 | 73 |
| 76 deps = [ | 74 deps = [ |
| 77 "//base/allocator", | 75 "//base/allocator", |
| 78 "//remoting/host/win:dpi_aware_exe_manifest", | 76 "//remoting/host/win:dpi_aware_exe_manifest", |
| 79 "//remoting/host/win:remoting_core", | 77 "//remoting/host/win:remoting_core", |
| 80 "//remoting/host/win:remoting_windows_resources", | 78 "//remoting/host/win:remoting_windows_resources", |
| 81 ] | 79 ] |
| 82 | 80 |
| 83 sources = [ | 81 sources = [ |
| 84 "$root_gen_dir/remoting/version.rc", | 82 "$root_gen_dir/remoting/version.rc", |
| 85 "it2me_native_messaging_host_entry_point.cc", | 83 "it2me_native_messaging_host_entry_point.cc", |
| 86 ] | 84 ] |
| 87 | 85 |
| 88 defines = host_predefines + [ "BINARY=BINARY_REMOTE_ASSISTANCE_HOST" ] | 86 defines = host_predefines + [ "BINARY=BINARY_REMOTE_ASSISTANCE_HOST" ] |
| 89 | 87 |
| 90 ldflags = [ | 88 ldflags = [ |
| 91 # "/NODEFAULTLIB", TODO(zijiehe): Why IgnoreAllDefaultLibraries: true in | 89 # "/NODEFAULTLIB", TODO(zijiehe): Why IgnoreAllDefaultLibraries: true in |
| 92 # GYP does not take effect? | 90 # GYP does not take effect? |
| 93 "comctl32.lib", | 91 "comctl32.lib", |
| 94 ] | 92 ] |
| 95 } | 93 } |
| 96 | 94 |
| 97 # GYP version: | |
| 98 # //remoting/remoting_host_win.gypi:remoting_it2me_native_messaging_host_uia
ccess | |
| 99 executable("remote_assistance_host_uiaccess") { | 95 executable("remote_assistance_host_uiaccess") { |
| 100 configs += [ "//build/config/compiler:wexit_time_destructors" ] | 96 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
| 101 | 97 |
| 102 deps = [ | 98 deps = [ |
| 103 "//base/allocator", | 99 "//base/allocator", |
| 104 "//remoting/host/win:remoting_core", | 100 "//remoting/host/win:remoting_core", |
| 105 "//remoting/host/win:remoting_windows_resources", | 101 "//remoting/host/win:remoting_windows_resources", |
| 106 ] | 102 ] |
| 107 | 103 |
| 108 sources = [ | 104 sources = [ |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 if (is_desktop_linux) { | 235 if (is_desktop_linux) { |
| 240 if (use_gtk3) { | 236 if (use_gtk3) { |
| 241 deps += [ "//build/config/linux/gtk3" ] | 237 deps += [ "//build/config/linux/gtk3" ] |
| 242 } else { | 238 } else { |
| 243 deps += [ "//build/config/linux/gtk2" ] | 239 deps += [ "//build/config/linux/gtk2" ] |
| 244 } | 240 } |
| 245 } | 241 } |
| 246 } | 242 } |
| 247 } | 243 } |
| 248 } | 244 } |
| OLD | NEW |