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

Unified Diff: base/win/BUILD.gn

Issue 2621223003: Fix building ASAN instrumented executables with custom entrypoints (Closed)
Patch Set: nits Created 3 years, 11 months 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
« no previous file with comments | « no previous file | chrome/installer/mini_installer/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/win/BUILD.gn
diff --git a/base/win/BUILD.gn b/base/win/BUILD.gn
index ff2a754ae2ff7aeca66cfd2fc293289e8f08b432..74c1b8a0a9c40678c2e447395687f68c49e2c80e 100644
--- a/base/win/BUILD.gn
+++ b/base/win/BUILD.gn
@@ -3,6 +3,7 @@
# found in the LICENSE file.
import("//build/buildflag_header.gni")
+import("//build/config/sanitizers/sanitizers.gni")
import("//build/win/message_compiler.gni")
declare_args() {
@@ -42,7 +43,9 @@ shared_library("eventlog_provider") {
"eventlog_provider.cc",
]
- ldflags = [ "/NOENTRY" ]
+ if (!is_asan) {
+ ldflags = [ "/NOENTRY" ]
+ }
deps = [
"//base/win:eventlog_messages",
« no previous file with comments | « no previous file | chrome/installer/mini_installer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698