Chromium Code Reviews| Index: remoting/host/win/BUILD.gn |
| diff --git a/remoting/host/win/BUILD.gn b/remoting/host/win/BUILD.gn |
| index cf2dbcd8d8c829a40dc3d4a06289ab5358991609..2c0a29e7f1b7a89664c27aeb9e5c2b2011ec0316 100644 |
| --- a/remoting/host/win/BUILD.gn |
| +++ b/remoting/host/win/BUILD.gn |
| @@ -261,7 +261,10 @@ message_compiler("messages") { |
| } |
| executable("remoting_console") { |
| - configs += [ "//build/config/compiler:wexit_time_destructors" ] |
| + configs += [ |
| + "//build/config/compiler:wexit_time_destructors", |
| + "//build/config/sanitizers:sanitizer_default_libs", |
| + ] |
| defines = host_predefines + [ "BINARY=BINARY_HOST_ME2ME" ] |
| @@ -269,6 +272,7 @@ executable("remoting_console") { |
| ":dpi_aware_exe_manifest", |
| ":remoting_core", |
| ":remoting_windows_resources", |
| + "//build/config/sanitizers:deps", |
|
joedow
2017/01/10 16:40:22
Just curious, why was deps updated for this target
etienneb
2017/01/11 16:05:32
This is adding sanitizers code into the executable
|
| ] |
| sources = [ |
| @@ -286,6 +290,7 @@ executable("remoting_me2me_host") { |
| configs += [ |
| "//build/config/compiler:wexit_time_destructors", |
| "//build/config/win:windowed", |
| + "//build/config/sanitizers:sanitizer_default_libs", |
| "//remoting/build/config:remoting_me2me_host", |
| ] |
| @@ -419,6 +424,7 @@ shared_library("remoting_core") { |
| executable("remoting_desktop") { |
| configs += [ |
| "//build/config/compiler:wexit_time_destructors", |
| + "//build/config/sanitizers:sanitizer_default_libs", |
| "//build/config/win:windowed", |
| ] |