| OLD | NEW |
| 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 Loading... |
| 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 } |
| OLD | NEW |