| 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 | 61 |
| 62 if (!is_chromeos && !is_android && enable_remoting_host) { | 62 if (!is_chromeos && !is_android && enable_remoting_host) { |
| 63 if (is_win) { | 63 if (is_win) { |
| 64 # GYP version: | 64 # GYP version: |
| 65 # //remoting/remoting_host_win.gypi:remoting_it2me_native_messaging_host | 65 # //remoting/remoting_host_win.gypi:remoting_it2me_native_messaging_host |
| 66 executable("remote_assistance_host") { | 66 executable("remote_assistance_host") { |
| 67 configs += [ "//build/config/compiler:wexit_time_destructors" ] | 67 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
| 68 | 68 |
| 69 deps = [ | 69 deps = [ |
| 70 "//base/allocator", | 70 "//base/allocator", |
| 71 "//remoting/host/win:dpi_aware_exe_manifest", | 71 "//remoting/host:dpi_aware_exe_manifest", |
| 72 "//remoting/host/win:remoting_core", | 72 "//remoting/host:remoting_core", |
| 73 "//remoting/host/win:remoting_windows_resources", | 73 "//remoting/host:remoting_windows_resources", |
| 74 ] | 74 ] |
| 75 | 75 |
| 76 sources = [ | 76 sources = [ |
| 77 "$root_gen_dir/remoting/version.rc", | 77 "$root_gen_dir/remoting/version.rc", |
| 78 "it2me_native_messaging_host_entry_point.cc", | 78 "it2me_native_messaging_host_entry_point.cc", |
| 79 ] | 79 ] |
| 80 | 80 |
| 81 defines = host_predefines + [ "BINARY=BINARY_REMOTE_ASSISTANCE_HOST" ] | 81 defines = host_predefines + [ "BINARY=BINARY_REMOTE_ASSISTANCE_HOST" ] |
| 82 | 82 |
| 83 ldflags = [ | 83 ldflags = [ |
| 84 # "/NODEFAULTLIB", TODO(zijiehe): Why IgnoreAllDefaultLibraries: true in | 84 # "/NODEFAULTLIB", TODO(zijiehe): Why IgnoreAllDefaultLibraries: true in |
| 85 # GYP does not take effect? | 85 # GYP does not take effect? |
| 86 "comctl32.lib", | 86 "comctl32.lib", |
| 87 ] | 87 ] |
| 88 } | 88 } |
| 89 | 89 |
| 90 # GYP version: | 90 # GYP version: |
| 91 # //remoting/remoting_host_win.gypi:remoting_it2me_native_messaging_host_uia
ccess | 91 # //remoting/remoting_host_win.gypi:remoting_it2me_native_messaging_host_uia
ccess |
| 92 executable("remote_assistance_host_uiaccess") { | 92 executable("remote_assistance_host_uiaccess") { |
| 93 configs += [ "//build/config/compiler:wexit_time_destructors" ] | 93 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
| 94 | 94 |
| 95 deps = [ | 95 deps = [ |
| 96 "//base/allocator", | 96 "//base/allocator", |
| 97 "//remoting/host/win:remoting_core", | 97 "//remoting/host:remoting_core", |
| 98 "//remoting/host/win:remoting_windows_resources", | 98 "//remoting/host:remoting_windows_resources", |
| 99 ] | 99 ] |
| 100 | 100 |
| 101 sources = [ | 101 sources = [ |
| 102 "$root_gen_dir/remoting/version.rc", | 102 "$root_gen_dir/remoting/version.rc", |
| 103 "it2me_native_messaging_host_entry_point.cc", | 103 "it2me_native_messaging_host_entry_point.cc", |
| 104 ] | 104 ] |
| 105 | 105 |
| 106 defines = host_predefines + [ "BINARY=BINARY_HOST_IT2ME_UIACCESS" ] | 106 defines = host_predefines + [ "BINARY=BINARY_HOST_IT2ME_UIACCESS" ] |
| 107 | 107 |
| 108 ldflags = [ | 108 ldflags = [ |
| 109 # "/NODEFAULTLIB", TODO(zijiehe): Why IgnoreAllDefaultLibraries: true in | 109 # "/NODEFAULTLIB", TODO(zijiehe): Why IgnoreAllDefaultLibraries: true in |
| 110 # GYP does not take effect? | 110 # GYP does not take effect? |
| 111 "comctl32.lib", | 111 "comctl32.lib", |
| 112 ] | 112 ] |
| 113 | 113 |
| 114 # uiAccess requires a signed build to work correctly, so only enable the | 114 # uiAccess requires a signed build to work correctly, so only enable the |
| 115 # manifest flag when the binary will be properly signed. | 115 # manifest flag when the binary will be properly signed. |
| 116 if (is_official_build) { | 116 if (is_official_build) { |
| 117 deps += [ "//remoting/host:dpi_aware_uiaccess_exe_manifest" ] | 117 deps += [ "//remoting/host:dpi_aware_uiaccess_exe_manifest" ] |
| 118 } else { | 118 } else { |
| 119 deps += [ "//remoting/host/win:dpi_aware_exe_manifest" ] | 119 deps += [ "//remoting/host:dpi_aware_exe_manifest" ] |
| 120 } | 120 } |
| 121 } | 121 } |
| 122 } else { | 122 } else { |
| 123 if (is_mac) { | 123 if (is_mac) { |
| 124 app_target_type = "mac_app_bundle" | 124 app_target_type = "mac_app_bundle" |
| 125 | 125 |
| 126 # remote_assistance_host-InfoPlist.strings | 126 # remote_assistance_host-InfoPlist.strings |
| 127 foreach(locale, remoting_locales_with_underscores) { | 127 foreach(locale, remoting_locales_with_underscores) { |
| 128 bundle_data("remote_assistance_host_strings_${locale}_bundle_data") { | 128 bundle_data("remote_assistance_host_strings_${locale}_bundle_data") { |
| 129 sources = [ | 129 sources = [ |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 if (enable_webrtc) { | 217 if (enable_webrtc) { |
| 218 deps += [ "//third_party/libjingle:libjingle_webrtc" ] | 218 deps += [ "//third_party/libjingle:libjingle_webrtc" ] |
| 219 } | 219 } |
| 220 | 220 |
| 221 if (is_desktop_linux) { | 221 if (is_desktop_linux) { |
| 222 deps += [ "//build/config/linux/gtk2" ] | 222 deps += [ "//build/config/linux/gtk2" ] |
| 223 } | 223 } |
| 224 } | 224 } |
| 225 } | 225 } |
| 226 } | 226 } |
| OLD | NEW |