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

Side by Side Diff: remoting/remoting_host_win.gypi

Issue 1778313003: Revert of Move //remoting/remoting_host_win.gypi:* to GN (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/remoting_host.gni ('k') | no next file » | 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 { 5 {
6 'variables': { 6 'variables': {
7 'remoting_host_installer_win_roots': [ 7 'remoting_host_installer_win_roots': [
8 'host/installer/win/', 8 'host/installer/win/',
9 ], 9 ],
10 'remoting_host_installer_win_files': [ 10 'remoting_host_installer_win_files': [
11 'host/installer/win/chromoting.wxs', 11 'host/installer/win/chromoting.wxs',
12 'host/installer/win/parameters.json', 12 'host/installer/win/parameters.json',
13 ], 13 ],
14 }, # end of 'variables' 14 }, # end of 'variables'
15 15
16 'targets': [ 16 'targets': [
17 { 17 {
18 # GN version: //remoting:remoting_breakpad_tester
19 'target_name': 'remoting_breakpad_tester', 18 'target_name': 'remoting_breakpad_tester',
20 'type': 'executable', 19 'type': 'executable',
21 'variables': { 'enable_wexit_time_destructors': 1, }, 20 'variables': { 'enable_wexit_time_destructors': 1, },
22 'dependencies': [ 21 'dependencies': [
23 '../base/base.gyp:base', 22 '../base/base.gyp:base',
24 'remoting_host', 23 'remoting_host',
25 ], 24 ],
26 'sources': [ 25 'sources': [
27 'tools/breakpad_tester_win.cc', 26 'tools/breakpad_tester_win.cc',
28 ], 27 ],
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 ], 72 ],
74 'process_outputs_as_sources': 1, 73 'process_outputs_as_sources': 1,
75 'message': 'Generating <@(_outputs)', 74 'message': 'Generating <@(_outputs)',
76 }, 75 },
77 ], 76 ],
78 }, # end of target 'remoting_lib_idl' 77 }, # end of target 'remoting_lib_idl'
79 78
80 # remoting_lib_ps builds the proxy/stub code generated by MIDL (see 79 # remoting_lib_ps builds the proxy/stub code generated by MIDL (see
81 # remoting_lib_idl). 80 # remoting_lib_idl).
82 { 81 {
83 # GN version: //remoting/host:remoting_lib_ps
84 'target_name': 'remoting_lib_ps', 82 'target_name': 'remoting_lib_ps',
85 'type': 'static_library', 83 'type': 'static_library',
86 'defines': [ 84 'defines': [
87 # Prepend 'Ps' to the MIDL-generated routines. This includes 85 # Prepend 'Ps' to the MIDL-generated routines. This includes
88 # DllGetClassObject, DllCanUnloadNow, DllRegisterServer, 86 # DllGetClassObject, DllCanUnloadNow, DllRegisterServer,
89 # DllUnregisterServer, and DllMain. 87 # DllUnregisterServer, and DllMain.
90 'ENTRY_PREFIX=Ps', 88 'ENTRY_PREFIX=Ps',
91 'REGISTER_PROXY_DLL', 89 'REGISTER_PROXY_DLL',
92 ], 90 ],
93 'dependencies': [ 91 'dependencies': [
(...skipping 18 matching lines...) Expand all
112 }, 110 },
113 }, # end of target 'remoting_lib_ps' 111 }, # end of target 'remoting_lib_ps'
114 112
115 # Regenerates 'chromoting_lib.rc' (used to embed 'chromoting_lib.tlb' 113 # Regenerates 'chromoting_lib.rc' (used to embed 'chromoting_lib.tlb'
116 # into remoting_core.dll's resources) every time 114 # into remoting_core.dll's resources) every time
117 # 'chromoting_lib_idl.templ' changes. Making remoting_core depend on 115 # 'chromoting_lib_idl.templ' changes. Making remoting_core depend on
118 # both this and 'remoting_lib_idl' targets ensures that the resorces 116 # both this and 'remoting_lib_idl' targets ensures that the resorces
119 # are rebuilt every time the type library is updated. GYP alone is 117 # are rebuilt every time the type library is updated. GYP alone is
120 # not smart enough to figure out this dependency on its own. 118 # not smart enough to figure out this dependency on its own.
121 { 119 {
122 # We do not need remoting_lib_rc target anymore in GN, generate_idl and
123 # remoting_lib_idl take care of chromoting_lib_idl.templ change.
124 'target_name': 'remoting_lib_rc', 120 'target_name': 'remoting_lib_rc',
125 'type': 'none', 121 'type': 'none',
126 'sources': [ 122 'sources': [
127 'host/win/chromoting_lib_idl.templ', 123 'host/win/chromoting_lib_idl.templ',
128 ], 124 ],
129 'hard_dependency': 1, 125 'hard_dependency': 1,
130 'direct_dependent_settings': { 126 'direct_dependent_settings': {
131 'include_dirs': [ 127 'include_dirs': [
132 '<(SHARED_INTERMEDIATE_DIR)', 128 '<(SHARED_INTERMEDIATE_DIR)',
133 ], 129 ],
134 }, 130 },
135 'rules': [ 131 'rules': [
136 { 132 {
137 'rule_name': 'generate_rc', 133 'rule_name': 'generate_rc',
138 'extension': 'templ', 134 'extension': 'templ',
139 'outputs': [ 135 'outputs': [
140 '<(SHARED_INTERMEDIATE_DIR)/remoting/host/chromoting_lib.rc', 136 '<(SHARED_INTERMEDIATE_DIR)/remoting/host/chromoting_lib.rc',
141 ], 137 ],
142 'action': [ 138 'action': [
143 'echo 1 typelib "remoting/host/chromoting_lib.tlb" > <@(_outputs)', 139 'echo 1 typelib "remoting/host/chromoting_lib.tlb" > <@(_outputs)',
144 ], 140 ],
145 'message': 'Generating <@(_outputs)', 141 'message': 'Generating <@(_outputs)',
146 }, 142 },
147 ], 143 ],
148 }, # end of target 'remoting_lib_rc' 144 }, # end of target 'remoting_lib_rc'
149 # The only difference between |remoting_console.exe| and 145 # The only difference between |remoting_console.exe| and
150 # |remoting_host.exe| is that the former is a console application. 146 # |remoting_host.exe| is that the former is a console application.
151 # |remoting_console.exe| is used for debugging purposes. 147 # |remoting_console.exe| is used for debugging purposes.
152 { 148 {
153 # GN version: //remoting/host:remoting_console
154 'target_name': 'remoting_console', 149 'target_name': 'remoting_console',
155 'type': 'executable', 150 'type': 'executable',
156 'variables': { 'enable_wexit_time_destructors': 1, }, 151 'variables': { 'enable_wexit_time_destructors': 1, },
157 'defines': [ 152 'defines': [
158 'BINARY=BINARY_HOST_ME2ME', 153 'BINARY=BINARY_HOST_ME2ME',
159 ], 154 ],
160 'dependencies': [ 155 'dependencies': [
161 'remoting_core', 156 'remoting_core',
162 'remoting_windows_resources', 157 'remoting_windows_resources',
163 ], 158 ],
164 'sources': [ 159 'sources': [
165 '<(SHARED_INTERMEDIATE_DIR)/remoting/version.rc', 160 '<(SHARED_INTERMEDIATE_DIR)/remoting/version.rc',
166 'host/win/entry_point.cc', 161 'host/win/entry_point.cc',
167 ], 162 ],
168 'msvs_settings': { 163 'msvs_settings': {
169 'VCManifestTool': { 164 'VCManifestTool': {
170 'AdditionalManifestFiles': [ 165 'AdditionalManifestFiles': [
171 'host/win/dpi_aware.manifest', 166 'host/win/dpi_aware.manifest',
172 ], 167 ],
173 }, 168 },
174 'VCLinkerTool': { 169 'VCLinkerTool': {
175 'EntryPointSymbol': 'HostEntryPoint', 170 'EntryPointSymbol': 'HostEntryPoint',
176 'IgnoreAllDefaultLibraries': 'true', 171 'IgnoreAllDefaultLibraries': 'true',
177 'SubSystem': '1', # /SUBSYSTEM:CONSOLE 172 'SubSystem': '1', # /SUBSYSTEM:CONSOLE
178 }, 173 },
179 }, 174 },
180 }, # end of target 'remoting_console' 175 }, # end of target 'remoting_console'
181 { 176 {
182 # GN version: //remoting/host:remoting_core
183 'target_name': 'remoting_core', 177 'target_name': 'remoting_core',
184 'type': 'shared_library', 178 'type': 'shared_library',
185 'variables': { 'enable_wexit_time_destructors': 1, }, 179 'variables': { 'enable_wexit_time_destructors': 1, },
186 'defines' : [ 180 'defines' : [
187 '_ATL_APARTMENT_THREADED', 181 '_ATL_APARTMENT_THREADED',
188 '_ATL_CSTRING_EXPLICIT_CONSTRUCTORS', 182 '_ATL_CSTRING_EXPLICIT_CONSTRUCTORS',
189 '_ATL_NO_AUTOMATIC_NAMESPACE', 183 '_ATL_NO_AUTOMATIC_NAMESPACE',
190 '_ATL_NO_EXCEPTIONS', 184 '_ATL_NO_EXCEPTIONS',
191 'BINARY=BINARY_CORE', 185 'BINARY=BINARY_CORE',
192 'DAEMON_CONTROLLER_CLSID="{<(daemon_controller_clsid)}"', 186 'DAEMON_CONTROLLER_CLSID="{<(daemon_controller_clsid)}"',
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 # TODO: Remove once remoting/host/verify_config_window_win.h no 271 # TODO: Remove once remoting/host/verify_config_window_win.h no
278 # longer depends on atlapp.h, http://crbug.com/5027 272 # longer depends on atlapp.h, http://crbug.com/5027
279 'VCCLCompilerTool': { 273 'VCCLCompilerTool': {
280 'AdditionalOptions': ['-Wno-header-hygiene'], 274 'AdditionalOptions': ['-Wno-header-hygiene'],
281 }, 275 },
282 }], 276 }],
283 ], 277 ],
284 }, 278 },
285 }, # end of target 'remoting_core' 279 }, # end of target 'remoting_core'
286 { 280 {
287 # GN version: //remoting/host:remoting_desktop
288 'target_name': 'remoting_desktop', 281 'target_name': 'remoting_desktop',
289 'type': 'executable', 282 'type': 'executable',
290 'variables': { 'enable_wexit_time_destructors': 1, }, 283 'variables': { 'enable_wexit_time_destructors': 1, },
291 'defines': [ 284 'defines': [
292 'BINARY=BINARY_DESKTOP', 285 'BINARY=BINARY_DESKTOP',
293 ], 286 ],
294 'dependencies': [ 287 'dependencies': [
295 'remoting_core', 288 'remoting_core',
296 'remoting_windows_resources', 289 'remoting_windows_resources',
297 ], 290 ],
(...skipping 18 matching lines...) Expand all
316 'UACUIAccess': 'true', 309 'UACUIAccess': 'true',
317 }], 310 }],
318 ], 311 ],
319 'EntryPointSymbol': 'HostEntryPoint', 312 'EntryPointSymbol': 'HostEntryPoint',
320 'IgnoreAllDefaultLibraries': 'true', 313 'IgnoreAllDefaultLibraries': 'true',
321 'SubSystem': '2', # /SUBSYSTEM:WINDOWS 314 'SubSystem': '2', # /SUBSYSTEM:WINDOWS
322 }, 315 },
323 }, 316 },
324 }, # end of target 'remoting_desktop' 317 }, # end of target 'remoting_desktop'
325 { 318 {
326 # GN version: //remoting/host:remoting_me2me_host
327 'target_name': 'remoting_me2me_host', 319 'target_name': 'remoting_me2me_host',
328 'product_name': 'remoting_host', 320 'product_name': 'remoting_host',
329 'type': 'executable', 321 'type': 'executable',
330 'variables': { 'enable_wexit_time_destructors': 1, }, 322 'variables': { 'enable_wexit_time_destructors': 1, },
331 'defines': [ 323 'defines': [
332 'BINARY=BINARY_HOST_ME2ME', 324 'BINARY=BINARY_HOST_ME2ME',
333 ], 325 ],
334 'dependencies': [ 326 'dependencies': [
335 'remoting_core', 327 'remoting_core',
336 'remoting_windows_resources', 328 'remoting_windows_resources',
(...skipping 10 matching lines...) Expand all
347 }, 339 },
348 'VCLinkerTool': { 340 'VCLinkerTool': {
349 'EntryPointSymbol': 'HostEntryPoint', 341 'EntryPointSymbol': 'HostEntryPoint',
350 'IgnoreAllDefaultLibraries': 'true', 342 'IgnoreAllDefaultLibraries': 'true',
351 'OutputFile': '$(OutDir)\\remoting_host.exe', 343 'OutputFile': '$(OutDir)\\remoting_host.exe',
352 'SubSystem': '2', # /SUBSYSTEM:WINDOWS 344 'SubSystem': '2', # /SUBSYSTEM:WINDOWS
353 }, 345 },
354 }, 346 },
355 }, # end of target 'remoting_me2me_host' 347 }, # end of target 'remoting_me2me_host'
356 { 348 {
357 # GN version: //remoting/host:remote_security_key
358 'target_name': 'remote_security_key', 349 'target_name': 'remote_security_key',
359 'type': 'executable', 350 'type': 'executable',
360 'product_name': 'remote_security_key', 351 'product_name': 'remote_security_key',
361 'variables': { 'enable_wexit_time_destructors': 1, }, 352 'variables': { 'enable_wexit_time_destructors': 1, },
362 'defines' : [ 353 'defines' : [
363 'BINARY=BINARY_REMOTE_SECURITY_KEY', 354 'BINARY=BINARY_REMOTE_SECURITY_KEY',
364 ], 355 ],
365 'dependencies': [ 356 'dependencies': [
366 'remoting_core', 357 'remoting_core',
367 'remoting_windows_resources', 358 'remoting_windows_resources',
368 ], 359 ],
369 'sources': [ 360 'sources': [
370 '<(SHARED_INTERMEDIATE_DIR)/remoting/version.rc', 361 '<(SHARED_INTERMEDIATE_DIR)/remoting/version.rc',
371 'host/security_key/remote_security_key_entry_point.cc', 362 'host/security_key/remote_security_key_entry_point.cc',
372 ], 363 ],
373 'msvs_settings': { 364 'msvs_settings': {
374 'VCLinkerTool': { 365 'VCLinkerTool': {
375 'IgnoreAllDefaultLibraries': 'true', 366 'IgnoreAllDefaultLibraries': 'true',
376 'SubSystem': '1', # /SUBSYSTEM:CONSOLE 367 'SubSystem': '1', # /SUBSYSTEM:CONSOLE
377 }, 368 },
378 }, 369 },
379 }, # end of target 'remote_security_key' 370 }, # end of target 'remote_security_key'
380 { 371 {
381 # GN version: //remoting/host:remoting_me2me_native_messaging_host
382 'target_name': 'remoting_me2me_native_messaging_host', 372 'target_name': 'remoting_me2me_native_messaging_host',
383 'type': 'executable', 373 'type': 'executable',
384 'product_name': 'remoting_native_messaging_host', 374 'product_name': 'remoting_native_messaging_host',
385 'variables': { 'enable_wexit_time_destructors': 1, }, 375 'variables': { 'enable_wexit_time_destructors': 1, },
386 'defines' : [ 376 'defines' : [
387 'BINARY=BINARY_NATIVE_MESSAGING_HOST', 377 'BINARY=BINARY_NATIVE_MESSAGING_HOST',
388 ], 378 ],
389 'dependencies': [ 379 'dependencies': [
390 'remoting_core', 380 'remoting_core',
391 'remoting_windows_resources', 381 'remoting_windows_resources',
392 ], 382 ],
393 'sources': [ 383 'sources': [
394 '<(SHARED_INTERMEDIATE_DIR)/remoting/version.rc', 384 '<(SHARED_INTERMEDIATE_DIR)/remoting/version.rc',
395 'host/setup/me2me_native_messaging_host_entry_point.cc', 385 'host/setup/me2me_native_messaging_host_entry_point.cc',
396 ], 386 ],
397 'msvs_settings': { 387 'msvs_settings': {
398 'VCLinkerTool': { 388 'VCLinkerTool': {
399 'IgnoreAllDefaultLibraries': 'true', 389 'IgnoreAllDefaultLibraries': 'true',
400 'SubSystem': '1', # /SUBSYSTEM:CONSOLE 390 'SubSystem': '1', # /SUBSYSTEM:CONSOLE
401 }, 391 },
402 }, 392 },
403 }, # end of target 'remoting_me2me_native_messaging_host' 393 }, # end of target 'remoting_me2me_native_messaging_host'
404 { 394 {
405 # GN version: //remoting/host/it2me:remoting_assistance_host
406 'target_name': 'remoting_it2me_native_messaging_host', 395 'target_name': 'remoting_it2me_native_messaging_host',
407 'type': 'executable', 396 'type': 'executable',
408 'product_name': 'remote_assistance_host', 397 'product_name': 'remote_assistance_host',
409 'variables': { 'enable_wexit_time_destructors': 1, }, 398 'variables': { 'enable_wexit_time_destructors': 1, },
410 'dependencies': [ 399 'dependencies': [
411 'remoting_core', 400 'remoting_core',
412 'remoting_windows_resources', 401 'remoting_windows_resources',
413 ], 402 ],
414 'sources': [ 403 'sources': [
415 '<(SHARED_INTERMEDIATE_DIR)/remoting/version.rc', 404 '<(SHARED_INTERMEDIATE_DIR)/remoting/version.rc',
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
474 # Generates localized resources for the Windows binaries. 463 # Generates localized resources for the Windows binaries.
475 # The substitution strings are taken from: 464 # The substitution strings are taken from:
476 # - build/util/LASTCHANGE - the last source code revision. There is 465 # - build/util/LASTCHANGE - the last source code revision. There is
477 # no explicit dependency on this file to avoid rebuilding the host 466 # no explicit dependency on this file to avoid rebuilding the host
478 # after unrelated changes. 467 # after unrelated changes.
479 # - chrome/VERSION - the major, build & patch versions. 468 # - chrome/VERSION - the major, build & patch versions.
480 # - remoting/VERSION - the chromoting patch version (and overrides 469 # - remoting/VERSION - the chromoting patch version (and overrides
481 # for chrome/VERSION). 470 # for chrome/VERSION).
482 # - translated webapp strings 471 # - translated webapp strings
483 { 472 {
484 # GN version: //remoting/host:remoting_windows_resources
485 'target_name': 'remoting_windows_resources', 473 'target_name': 'remoting_windows_resources',
486 'type': 'none', 474 'type': 'none',
487 'dependencies': [ 475 'dependencies': [
488 'remoting_resources', 476 'remoting_resources',
489 ], 477 ],
490 'hard_dependency': 1, 478 'hard_dependency': 1,
491 'direct_dependent_settings': { 479 'direct_dependent_settings': {
492 'include_dirs': [ 480 'include_dirs': [
493 '<(SHARED_INTERMEDIATE_DIR)', 481 '<(SHARED_INTERMEDIATE_DIR)',
494 ], 482 ],
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
678 666
679 { 667 {
680 'target_name': 'remoting_me2me_host_archive', 668 'target_name': 'remoting_me2me_host_archive',
681 'type': 'none', 669 'type': 'none',
682 }, 670 },
683 ], # end of 'targets' 671 ], # end of 'targets'
684 }], # 'wix_exists == "True" and sas_dll_exists == "True"' 672 }], # 'wix_exists == "True" and sas_dll_exists == "True"'
685 673
686 ], # end of 'conditions' 674 ], # end of 'conditions'
687 } 675 }
OLDNEW
« no previous file with comments | « remoting/remoting_host.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698