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

Unified Diff: remoting/host/win/BUILD.gn

Issue 2570153002: Fix missing CRT libraries with ASAN unittests (Closed)
Patch Set: remove debug code Created 4 years 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 side-by-side diff with in-line comments
Download patch
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",
]
« build/config/sanitizers/BUILD.gn ('K') | « chrome/installer/mini_installer/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698