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

Unified Diff: chrome/installer/mini_installer/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 | « base/win/BUILD.gn ('k') | chrome/installer/mini_installer/mini_installer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/mini_installer/BUILD.gn
diff --git a/chrome/installer/mini_installer/BUILD.gn b/chrome/installer/mini_installer/BUILD.gn
index 65df57ccac747c13e47e5c37d9bb33ca39b9723e..84be262612d00aedea5ef0e5c43261dab0ee2650 100644
--- a/chrome/installer/mini_installer/BUILD.gn
+++ b/chrome/installer/mini_installer/BUILD.gn
@@ -239,12 +239,15 @@ template("generate_mini_installer") {
]
ldflags = [
- "/ENTRY:MainEntryPoint",
"/FIXED:NO",
"/ignore:4199",
"/NXCOMPAT",
]
+ if (!is_asan) {
+ ldflags += [ "/ENTRY:MainEntryPoint" ]
+ }
+
libs = [ "setupapi.lib" ]
deps = [
« no previous file with comments | « base/win/BUILD.gn ('k') | chrome/installer/mini_installer/mini_installer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698