Chromium Code Reviews| Index: chrome/common/win/BUILD.gn |
| diff --git a/chrome/common/win/BUILD.gn b/chrome/common/win/BUILD.gn |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..3aa59a3f0188d4af9838a13297ace17375a8936c |
| --- /dev/null |
| +++ b/chrome/common/win/BUILD.gn |
| @@ -0,0 +1,44 @@ |
| +# 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.
|
| +# Use of this source code is governed by a BSD-style license that can be |
| +# found in the LICENSE file. |
| + |
| +import("//build/config/sanitizers/sanitizers.gni") |
| +import("//build/win/message_compiler.gni") |
| +import("//chrome/process_version_rc_template.gni") |
| + |
| +message_compiler("eventlog_messages") { |
| + visibility = [ |
| + "//chrome/common:common", |
| + ":eventlog_provider", |
| + ] |
| + |
| + sources = [ |
| + "eventlog_messages.mc", |
| + ] |
| + |
| + user_mode_logging = false |
| + compile_generated_code = false |
| +} |
| + |
| +process_version_rc_template("eventlog_provider_dll_version") { |
| + sources = [ |
| + "eventlog_provider.ver", |
| + ] |
| + output = "$target_gen_dir/eventlog_provider_dll_version.rc" |
| +} |
| + |
| +shared_library("eventlog_provider") { |
| + sources = [ |
| + "$root_gen_dir/chrome/common/win/eventlog_messages.rc", |
| + "eventlog_provider.cc", |
| + ] |
| + |
| + if (!is_asan) { |
| + ldflags = [ "/NOENTRY" ] |
| + } |
| + |
| + deps = [ |
| + ":eventlog_messages", |
| + ":eventlog_provider_dll_version", |
| + ] |
| +} |