| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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/toolchain/win/midl.gni") | 5 import("//build/toolchain/win/midl.gni") |
| 6 import("//build/win/message_compiler.gni") | 6 import("//build/win/message_compiler.gni") |
| 7 import("//media/media_options.gni") | 7 import("//media/media_options.gni") |
| 8 import("//remoting/build/config/remoting_build.gni") | 8 import("//remoting/build/config/remoting_build.gni") |
| 9 import("//remoting/host/installer/win/generate_clsids.gni") | 9 import("//remoting/host/installer/win/generate_clsids.gni") |
| 10 | 10 |
| (...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 256 compile_generated_code = false | 256 compile_generated_code = false |
| 257 sources = get_target_outputs(":messages_localizing") | 257 sources = get_target_outputs(":messages_localizing") |
| 258 deps = [ | 258 deps = [ |
| 259 ":messages_localizing", | 259 ":messages_localizing", |
| 260 ] | 260 ] |
| 261 } | 261 } |
| 262 | 262 |
| 263 executable("remoting_console") { | 263 executable("remoting_console") { |
| 264 configs += [ "//build/config/compiler:wexit_time_destructors" ] | 264 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
| 265 | 265 |
| 266 defines = host_predefines + [ "BINARY=BINARY_HOST_ME2ME" ] | 266 defines = host_predefines + [ "REMOTING_HOST_BINARY=BINARY_HOST_ME2ME" ] |
| 267 | 267 |
| 268 deps = [ | 268 deps = [ |
| 269 ":dpi_aware_exe_manifest", | 269 ":dpi_aware_exe_manifest", |
| 270 ":remoting_core", | 270 ":remoting_core", |
| 271 ":remoting_windows_resources", | 271 ":remoting_windows_resources", |
| 272 ] | 272 ] |
| 273 | 273 |
| 274 sources = [ | 274 sources = [ |
| 275 "$root_gen_dir/remoting/version.rc", | 275 "$root_gen_dir/remoting/version.rc", |
| 276 "entry_point.cc", | 276 "entry_point.cc", |
| 277 ] | 277 ] |
| 278 | 278 |
| 279 ldflags = [ | 279 ldflags = [ |
| 280 "/ENTRY:HostEntryPoint", | 280 "/ENTRY:HostEntryPoint", |
| 281 # "/NODEFAULTLIB", | 281 # "/NODEFAULTLIB", |
| 282 ] | 282 ] |
| 283 } | 283 } |
| 284 | 284 |
| 285 executable("remoting_me2me_host") { | 285 executable("remoting_me2me_host") { |
| 286 configs += [ | 286 configs += [ |
| 287 "//build/config/compiler:wexit_time_destructors", | 287 "//build/config/compiler:wexit_time_destructors", |
| 288 "//build/config/win:windowed", | 288 "//build/config/win:windowed", |
| 289 "//remoting/build/config:remoting_me2me_host", | 289 "//remoting/build/config:remoting_me2me_host", |
| 290 ] | 290 ] |
| 291 | 291 |
| 292 defines = host_predefines + [ "BINARY=BINARY_HOST_ME2ME" ] | 292 defines = host_predefines + [ "REMOTING_HOST_BINARY=BINARY_HOST_ME2ME" ] |
| 293 | 293 |
| 294 deps = [ | 294 deps = [ |
| 295 ":dpi_aware_exe_manifest", | 295 ":dpi_aware_exe_manifest", |
| 296 ":remoting_core", | 296 ":remoting_core", |
| 297 ":remoting_windows_resources", | 297 ":remoting_windows_resources", |
| 298 ] | 298 ] |
| 299 | 299 |
| 300 sources = [ | 300 sources = [ |
| 301 "$root_gen_dir/remoting/version.rc", | 301 "$root_gen_dir/remoting/version.rc", |
| 302 "entry_point.cc", | 302 "entry_point.cc", |
| 303 ] | 303 ] |
| 304 | 304 |
| 305 output_name = "remoting_host" | 305 output_name = "remoting_host" |
| 306 | 306 |
| 307 ldflags = [ "/ENTRY:HostEntryPoint" ] | 307 ldflags = [ "/ENTRY:HostEntryPoint" ] |
| 308 } | 308 } |
| 309 | 309 |
| 310 shared_library("remoting_core") { | 310 shared_library("remoting_core") { |
| 311 configs += [ "//build/config/compiler:wexit_time_destructors" ] | 311 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
| 312 | 312 |
| 313 defines = host_predefines + [ | 313 defines = host_predefines + [ |
| 314 "_ATL_APARTMENT_THREADED", | 314 "_ATL_APARTMENT_THREADED", |
| 315 "_ATL_CSTRING_EXPLICIT_CONSTRUCTORS", | 315 "_ATL_CSTRING_EXPLICIT_CONSTRUCTORS", |
| 316 "_ATL_NO_AUTOMATIC_NAMESPACE", | 316 "_ATL_NO_AUTOMATIC_NAMESPACE", |
| 317 "_ATL_NO_EXCEPTIONS", | 317 "_ATL_NO_EXCEPTIONS", |
| 318 "BINARY=BINARY_CORE", | 318 "REMOTING_HOST_BINARY=BINARY_CORE", |
| 319 "DAEMON_CONTROLLER_CLSID=\"$daemon_controller_clsid\"", | 319 "DAEMON_CONTROLLER_CLSID=\"$daemon_controller_clsid\"", |
| 320 "RDP_DESKTOP_SESSION_CLSID=\"$rdp_desktop_session_clsid\"", | 320 "RDP_DESKTOP_SESSION_CLSID=\"$rdp_desktop_session_clsid\"", |
| 321 "HOST_IMPLEMENTATION", | 321 "HOST_IMPLEMENTATION", |
| 322 "ISOLATION_AWARE_ENABLED=1", | 322 "ISOLATION_AWARE_ENABLED=1", |
| 323 "STRICT", | 323 "STRICT", |
| 324 "VERSION=$chrome_version_full", | 324 "VERSION=$chrome_version_full", |
| 325 ] | 325 ] |
| 326 | 326 |
| 327 if (remoting_multi_process != 0 && remoting_rdp_session != 0) { | 327 if (remoting_multi_process != 0 && remoting_rdp_session != 0) { |
| 328 defines += [ "REMOTING_RDP_SESSION" ] | 328 defines += [ "REMOTING_RDP_SESSION" ] |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 415 cflags = [ "-Wno-header-hygiene" ] | 415 cflags = [ "-Wno-header-hygiene" ] |
| 416 } | 416 } |
| 417 } | 417 } |
| 418 | 418 |
| 419 executable("remoting_desktop") { | 419 executable("remoting_desktop") { |
| 420 configs += [ | 420 configs += [ |
| 421 "//build/config/compiler:wexit_time_destructors", | 421 "//build/config/compiler:wexit_time_destructors", |
| 422 "//build/config/win:windowed", | 422 "//build/config/win:windowed", |
| 423 ] | 423 ] |
| 424 | 424 |
| 425 defines = host_predefines + [ "BINARY=BINARY_DESKTOP" ] | 425 defines = host_predefines + [ "REMOTING_HOST_BINARY=BINARY_DESKTOP" ] |
| 426 | 426 |
| 427 deps = [ | 427 deps = [ |
| 428 ":remoting_core", | 428 ":remoting_core", |
| 429 ":remoting_windows_resources", | 429 ":remoting_windows_resources", |
| 430 ] | 430 ] |
| 431 | 431 |
| 432 if (is_official_build) { | 432 if (is_official_build) { |
| 433 deps += [ ":dpi_aware_elevated_exe_manifest" ] | 433 deps += [ ":dpi_aware_elevated_exe_manifest" ] |
| 434 } else { | 434 } else { |
| 435 deps += [ ":dpi_aware_exe_manifest" ] | 435 deps += [ ":dpi_aware_exe_manifest" ] |
| 436 } | 436 } |
| 437 | 437 |
| 438 sources = [ | 438 sources = [ |
| 439 "$root_gen_dir/remoting/version.rc", | 439 "$root_gen_dir/remoting/version.rc", |
| 440 "entry_point.cc", | 440 "entry_point.cc", |
| 441 ] | 441 ] |
| 442 | 442 |
| 443 ldflags = [ | 443 ldflags = [ |
| 444 "/ENTRY:HostEntryPoint", | 444 "/ENTRY:HostEntryPoint", |
| 445 # "/NODEFAULTLIB", | 445 # "/NODEFAULTLIB", |
| 446 ] | 446 ] |
| 447 } | 447 } |
| 448 | 448 |
| 449 executable("remoting_native_messaging_host") { | 449 executable("remoting_native_messaging_host") { |
| 450 configs += [ "//build/config/compiler:wexit_time_destructors" ] | 450 configs += [ "//build/config/compiler:wexit_time_destructors" ] |
| 451 | 451 |
| 452 defines = host_predefines + [ "BINARY=BINARY_NATIVE_MESSAGING_HOST" ] | 452 defines = |
| 453 host_predefines + [ "REMOTING_HOST_BINARY=BINARY_NATIVE_MESSAGING_HOST" ] |
| 453 | 454 |
| 454 deps = [ | 455 deps = [ |
| 455 ":remoting_core", | 456 ":remoting_core", |
| 456 ":remoting_windows_resources", | 457 ":remoting_windows_resources", |
| 457 "//build/win:default_exe_manifest", | 458 "//build/win:default_exe_manifest", |
| 458 ] | 459 ] |
| 459 | 460 |
| 460 sources = [ | 461 sources = [ |
| 461 "$root_gen_dir/remoting/version.rc", | 462 "$root_gen_dir/remoting/version.rc", |
| 462 "../setup/me2me_native_messaging_host_entry_point.cc", | 463 "../setup/me2me_native_messaging_host_entry_point.cc", |
| (...skipping 18 matching lines...) Expand all Loading... |
| 481 | 482 |
| 482 output = "$root_gen_dir/remoting/{{source_name_part}}" | 483 output = "$root_gen_dir/remoting/{{source_name_part}}" |
| 483 | 484 |
| 484 locale_dir = webapp_locale_dir | 485 locale_dir = webapp_locale_dir |
| 485 | 486 |
| 486 encoding = "utf-16" | 487 encoding = "utf-16" |
| 487 | 488 |
| 488 locales = remoting_locales | 489 locales = remoting_locales |
| 489 } | 490 } |
| 490 # TODO(GYP) More Windows remoting targets from remoting_host_win.gypi | 491 # TODO(GYP) More Windows remoting targets from remoting_host_win.gypi |
| OLD | NEW |