Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(174)

Side by Side Diff: remoting/host/it2me/BUILD.gn

Issue 2308813002: Moving CRD Windows targets to subdirectories. (Closed)
Patch Set: The exec needs to be called native_messaging_host for downstream installers to work. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « remoting/host/installer/win/generate_clsids.gni ('k') | remoting/host/security_key/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 72
73 if (!is_chromeos && !is_android && enable_remoting_host) { 73 if (!is_chromeos && !is_android && enable_remoting_host) {
74 if (is_win) { 74 if (is_win) {
75 # GYP version: 75 # GYP version:
76 # //remoting/remoting_host_win.gypi:remoting_it2me_native_messaging_host 76 # //remoting/remoting_host_win.gypi:remoting_it2me_native_messaging_host
77 executable("remote_assistance_host") { 77 executable("remote_assistance_host") {
78 configs += [ "//build/config/compiler:wexit_time_destructors" ] 78 configs += [ "//build/config/compiler:wexit_time_destructors" ]
79 79
80 deps = [ 80 deps = [
81 "//base/allocator", 81 "//base/allocator",
82 "//remoting/host:dpi_aware_exe_manifest", 82 "//remoting/host/win:dpi_aware_exe_manifest",
83 "//remoting/host:remoting_core", 83 "//remoting/host/win:remoting_core",
84 "//remoting/host:remoting_windows_resources", 84 "//remoting/host/win:remoting_windows_resources",
85 ] 85 ]
86 86
87 sources = [ 87 sources = [
88 "$root_gen_dir/remoting/version.rc", 88 "$root_gen_dir/remoting/version.rc",
89 "it2me_native_messaging_host_entry_point.cc", 89 "it2me_native_messaging_host_entry_point.cc",
90 ] 90 ]
91 91
92 defines = host_predefines + [ "BINARY=BINARY_REMOTE_ASSISTANCE_HOST" ] 92 defines = host_predefines + [ "BINARY=BINARY_REMOTE_ASSISTANCE_HOST" ]
93 93
94 ldflags = [ 94 ldflags = [
95 # "/NODEFAULTLIB", TODO(zijiehe): Why IgnoreAllDefaultLibraries: true in 95 # "/NODEFAULTLIB", TODO(zijiehe): Why IgnoreAllDefaultLibraries: true in
96 # GYP does not take effect? 96 # GYP does not take effect?
97 "comctl32.lib", 97 "comctl32.lib",
98 ] 98 ]
99 } 99 }
100 100
101 # GYP version: 101 # GYP version:
102 # //remoting/remoting_host_win.gypi:remoting_it2me_native_messaging_host_uia ccess 102 # //remoting/remoting_host_win.gypi:remoting_it2me_native_messaging_host_uia ccess
103 executable("remote_assistance_host_uiaccess") { 103 executable("remote_assistance_host_uiaccess") {
104 configs += [ "//build/config/compiler:wexit_time_destructors" ] 104 configs += [ "//build/config/compiler:wexit_time_destructors" ]
105 105
106 deps = [ 106 deps = [
107 "//base/allocator", 107 "//base/allocator",
108 "//remoting/host:remoting_core", 108 "//remoting/host/win:remoting_core",
109 "//remoting/host:remoting_windows_resources", 109 "//remoting/host/win:remoting_windows_resources",
110 ] 110 ]
111 111
112 sources = [ 112 sources = [
113 "$root_gen_dir/remoting/version.rc", 113 "$root_gen_dir/remoting/version.rc",
114 "it2me_native_messaging_host_entry_point.cc", 114 "it2me_native_messaging_host_entry_point.cc",
115 ] 115 ]
116 116
117 defines = host_predefines + [ "BINARY=BINARY_HOST_IT2ME_UIACCESS" ] 117 defines = host_predefines + [ "BINARY=BINARY_HOST_IT2ME_UIACCESS" ]
118 118
119 ldflags = [ 119 ldflags = [
120 # "/NODEFAULTLIB", TODO(zijiehe): Why IgnoreAllDefaultLibraries: true in 120 # "/NODEFAULTLIB", TODO(zijiehe): Why IgnoreAllDefaultLibraries: true in
121 # GYP does not take effect? 121 # GYP does not take effect?
122 "comctl32.lib", 122 "comctl32.lib",
123 ] 123 ]
124 124
125 # uiAccess requires a signed build to work correctly, so only enable the 125 # uiAccess requires a signed build to work correctly, so only enable the
126 # manifest flag when the binary will be properly signed. 126 # manifest flag when the binary will be properly signed.
127 if (is_official_build) { 127 if (is_official_build) {
128 deps += [ "//remoting/host:dpi_aware_uiaccess_exe_manifest" ] 128 deps += [ "//remoting/host/win:dpi_aware_uiaccess_exe_manifest" ]
129 } else { 129 } else {
130 deps += [ "//remoting/host:dpi_aware_exe_manifest" ] 130 deps += [ "//remoting/host/win:dpi_aware_exe_manifest" ]
131 } 131 }
132 } 132 }
133 } else { 133 } else {
134 if (is_mac) { 134 if (is_mac) {
135 app_target_type = "mac_app_bundle" 135 app_target_type = "mac_app_bundle"
136 136
137 # remote_assistance_host-InfoPlist.strings 137 # remote_assistance_host-InfoPlist.strings
138 foreach(locale, remoting_locales_with_underscores) { 138 foreach(locale, remoting_locales_with_underscores) {
139 bundle_data("remote_assistance_host_strings_${locale}_bundle_data") { 139 bundle_data("remote_assistance_host_strings_${locale}_bundle_data") {
140 sources = [ 140 sources = [
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 if (enable_webrtc) { 228 if (enable_webrtc) {
229 deps += [ "//third_party/libjingle:libjingle_webrtc" ] 229 deps += [ "//third_party/libjingle:libjingle_webrtc" ]
230 } 230 }
231 231
232 if (is_desktop_linux) { 232 if (is_desktop_linux) {
233 deps += [ "//build/config/linux/gtk2" ] 233 deps += [ "//build/config/linux/gtk2" ]
234 } 234 }
235 } 235 }
236 } 236 }
237 } 237 }
OLDNEW
« no previous file with comments | « remoting/host/installer/win/generate_clsids.gni ('k') | remoting/host/security_key/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698