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