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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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/config/compiler/compiler.gni") 5 import("//build/config/compiler/compiler.gni")
6 import("//build/config/features.gni") 6 import("//build/config/features.gni")
7 import("//build/config/ui.gni") 7 import("//build/config/ui.gni")
8 import("//chrome/process_version_rc_template.gni") 8 import("//chrome/process_version_rc_template.gni")
9 import("//chrome/test/mini_installer/mini_installer_test.gni") 9 import("//chrome/test/mini_installer/mini_installer_test.gni")
10 import("//third_party/icu/config.gni") 10 import("//third_party/icu/config.gni")
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 ] 232 ]
233 configs += [ 233 configs += [
234 ":mini_installer_compiler_flags", 234 ":mini_installer_compiler_flags",
235 "//build/config/compiler:optimize_no_wpo", 235 "//build/config/compiler:optimize_no_wpo",
236 "//build/config/sanitizers:link_executable", 236 "//build/config/sanitizers:link_executable",
237 "//build/config/win:sdk_link", 237 "//build/config/win:sdk_link",
238 "//build/config/win:windowed", 238 "//build/config/win:windowed",
239 ] 239 ]
240 240
241 ldflags = [ 241 ldflags = [
242 "/ENTRY:MainEntryPoint",
243 "/FIXED:NO", 242 "/FIXED:NO",
244 "/ignore:4199", 243 "/ignore:4199",
245 "/NXCOMPAT", 244 "/NXCOMPAT",
246 ] 245 ]
247 246
247 if (!is_asan) {
248 ldflags += [ "/ENTRY:MainEntryPoint" ]
249 }
250
248 libs = [ "setupapi.lib" ] 251 libs = [ "setupapi.lib" ]
249 252
250 deps = [ 253 deps = [
251 ":$archive_name", 254 ":$archive_name",
252 ":lib", 255 ":lib",
253 ":version", 256 ":version",
254 "//build/config/sanitizers:deps", 257 "//build/config/sanitizers:deps",
255 "//build/win:default_exe_manifest", 258 "//build/win:default_exe_manifest",
256 ] 259 ]
257 } 260 }
(...skipping 29 matching lines...) Expand all
287 args = [ 290 args = [
288 "--out", 291 "--out",
289 "$target_name.exe", 292 "$target_name.exe",
290 ] 293 ]
291 deps = [ 294 deps = [
292 ":mini_installer", 295 ":mini_installer",
293 "//chrome/installer/test:alternate_version_generator", 296 "//chrome/installer/test:alternate_version_generator",
294 ] 297 ]
295 } 298 }
296 } 299 }
OLDNEW
« 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