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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/installer/mini_installer/BUILD.gn » ('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 (c) 2016 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2016 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/buildflag_header.gni") 5 import("//build/buildflag_header.gni")
6 import("//build/config/sanitizers/sanitizers.gni")
6 import("//build/win/message_compiler.gni") 7 import("//build/win/message_compiler.gni")
7 8
8 declare_args() { 9 declare_args() {
9 # Indicates if the handle verifier should operate in a single module mode. By 10 # Indicates if the handle verifier should operate in a single module mode. By
10 # default a single instance gets shared by all the modules. 11 # default a single instance gets shared by all the modules.
11 single_module_mode_handle_verifier = false 12 single_module_mode_handle_verifier = false
12 } 13 }
13 14
14 # Ensure that the handle verifier is always used in a single module mode for the 15 # Ensure that the handle verifier is always used in a single module mode for the
15 # component builds. 16 # component builds.
(...skipping 19 matching lines...) Expand all
35 36
36 user_mode_logging = false 37 user_mode_logging = false
37 compile_generated_code = false 38 compile_generated_code = false
38 } 39 }
39 shared_library("eventlog_provider") { 40 shared_library("eventlog_provider") {
40 sources = [ 41 sources = [
41 "$root_gen_dir/base/win/eventlog_messages.rc", 42 "$root_gen_dir/base/win/eventlog_messages.rc",
42 "eventlog_provider.cc", 43 "eventlog_provider.cc",
43 ] 44 ]
44 45
45 ldflags = [ "/NOENTRY" ] 46 if (!is_asan) {
47 ldflags = [ "/NOENTRY" ]
48 }
46 49
47 deps = [ 50 deps = [
48 "//base/win:eventlog_messages", 51 "//base/win:eventlog_messages",
49 ] 52 ]
50 } 53 }
OLDNEW
« 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