| 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 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 254 # Makes the .h/.rc files from the .mc file. | 254 # Makes the .h/.rc files from the .mc file. |
| 255 message_compiler("messages") { | 255 message_compiler("messages") { |
| 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 += [ |
| 265 "//build/config/compiler:wexit_time_destructors", |
| 266 "//build/config/sanitizers:sanitizer_default_libs", |
| 267 ] |
| 265 | 268 |
| 266 defines = host_predefines + [ "REMOTING_HOST_BINARY=BINARY_HOST_ME2ME" ] | 269 defines = host_predefines + [ "REMOTING_HOST_BINARY=BINARY_HOST_ME2ME" ] |
| 267 | 270 |
| 268 deps = [ | 271 deps = [ |
| 269 ":dpi_aware_exe_manifest", | 272 ":dpi_aware_exe_manifest", |
| 270 ":remoting_core", | 273 ":remoting_core", |
| 271 ":remoting_windows_resources", | 274 ":remoting_windows_resources", |
| 272 ] | 275 ] |
| 273 | 276 |
| 274 sources = [ | 277 sources = [ |
| 275 "$root_gen_dir/remoting/version.rc", | 278 "$root_gen_dir/remoting/version.rc", |
| 276 "entry_point.cc", | 279 "entry_point.cc", |
| 277 ] | 280 ] |
| 278 | 281 |
| 279 ldflags = [ | 282 ldflags = [ |
| 280 "/ENTRY:HostEntryPoint", | 283 "/ENTRY:HostEntryPoint", |
| 281 # "/NODEFAULTLIB", | 284 # "/NODEFAULTLIB", |
| 282 ] | 285 ] |
| 283 } | 286 } |
| 284 | 287 |
| 285 executable("remoting_me2me_host") { | 288 executable("remoting_me2me_host") { |
| 286 configs += [ | 289 configs += [ |
| 287 "//build/config/compiler:wexit_time_destructors", | 290 "//build/config/compiler:wexit_time_destructors", |
| 288 "//build/config/win:windowed", | 291 "//build/config/win:windowed", |
| 292 "//build/config/sanitizers:sanitizer_default_libs", |
| 289 "//remoting/build/config:remoting_me2me_host", | 293 "//remoting/build/config:remoting_me2me_host", |
| 290 ] | 294 ] |
| 291 | 295 |
| 292 defines = host_predefines + [ "REMOTING_HOST_BINARY=BINARY_HOST_ME2ME" ] | 296 defines = host_predefines + [ "REMOTING_HOST_BINARY=BINARY_HOST_ME2ME" ] |
| 293 | 297 |
| 294 deps = [ | 298 deps = [ |
| 295 ":dpi_aware_exe_manifest", | 299 ":dpi_aware_exe_manifest", |
| 296 ":remoting_core", | 300 ":remoting_core", |
| 297 ":remoting_windows_resources", | 301 ":remoting_windows_resources", |
| 298 ] | 302 ] |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 412 ] | 416 ] |
| 413 | 417 |
| 414 if (is_clang) { | 418 if (is_clang) { |
| 415 cflags = [ "-Wno-header-hygiene" ] | 419 cflags = [ "-Wno-header-hygiene" ] |
| 416 } | 420 } |
| 417 } | 421 } |
| 418 | 422 |
| 419 executable("remoting_desktop") { | 423 executable("remoting_desktop") { |
| 420 configs += [ | 424 configs += [ |
| 421 "//build/config/compiler:wexit_time_destructors", | 425 "//build/config/compiler:wexit_time_destructors", |
| 426 "//build/config/sanitizers:sanitizer_default_libs", |
| 422 "//build/config/win:windowed", | 427 "//build/config/win:windowed", |
| 423 ] | 428 ] |
| 424 | 429 |
| 425 defines = host_predefines + [ "REMOTING_HOST_BINARY=BINARY_DESKTOP" ] | 430 defines = host_predefines + [ "REMOTING_HOST_BINARY=BINARY_DESKTOP" ] |
| 426 | 431 |
| 427 deps = [ | 432 deps = [ |
| 428 ":remoting_core", | 433 ":remoting_core", |
| 429 ":remoting_windows_resources", | 434 ":remoting_windows_resources", |
| 430 ] | 435 ] |
| 431 | 436 |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 482 | 487 |
| 483 output = "$root_gen_dir/remoting/{{source_name_part}}" | 488 output = "$root_gen_dir/remoting/{{source_name_part}}" |
| 484 | 489 |
| 485 locale_dir = webapp_locale_dir | 490 locale_dir = webapp_locale_dir |
| 486 | 491 |
| 487 encoding = "utf-16" | 492 encoding = "utf-16" |
| 488 | 493 |
| 489 locales = remoting_locales | 494 locales = remoting_locales |
| 490 } | 495 } |
| 491 # TODO(GYP) More Windows remoting targets from remoting_host_win.gypi | 496 # TODO(GYP) More Windows remoting targets from remoting_host_win.gypi |
| OLD | NEW |