Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 # Copyright (c) 2017 The Chromium Authors. All rights reserved. | |
|
grt (UTC plus 2)
2017/06/21 20:26:15
nit: no " (c)" in the current notice: https://chro
proberge
2017/06/21 21:33:39
Done.
| |
| 2 # Use of this source code is governed by a BSD-style license that can be | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 import("//build/config/sanitizers/sanitizers.gni") | |
| 6 import("//build/win/message_compiler.gni") | |
| 7 import("//chrome/process_version_rc_template.gni") | |
| 8 | |
| 9 message_compiler("eventlog_messages") { | |
| 10 visibility = [ | |
| 11 "//chrome/common:common", | |
| 12 ":eventlog_provider", | |
| 13 ] | |
| 14 | |
| 15 sources = [ | |
| 16 "eventlog_messages.mc", | |
| 17 ] | |
| 18 | |
| 19 user_mode_logging = false | |
| 20 compile_generated_code = false | |
| 21 } | |
| 22 | |
| 23 process_version_rc_template("eventlog_provider_dll_version") { | |
| 24 sources = [ | |
| 25 "eventlog_provider.ver", | |
| 26 ] | |
| 27 output = "$target_gen_dir/eventlog_provider_dll_version.rc" | |
| 28 } | |
| 29 | |
| 30 shared_library("eventlog_provider") { | |
| 31 sources = [ | |
| 32 "$root_gen_dir/chrome/common/win/eventlog_messages.rc", | |
| 33 "eventlog_provider.cc", | |
| 34 ] | |
| 35 | |
| 36 if (!is_asan) { | |
| 37 ldflags = [ "/NOENTRY" ] | |
| 38 } | |
| 39 | |
| 40 deps = [ | |
| 41 ":eventlog_messages", | |
| 42 ":eventlog_provider_dll_version", | |
| 43 ] | |
| 44 } | |
| OLD | NEW |