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

Unified Diff: base/win/BUILD.gn

Issue 2496323003: Reland:Adds eventlog provider dll to describe the message types of SYSLOG. (Closed)
Patch Set: Rebased on ToT. Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/syslog_logging.cc ('k') | base/win/eventlog_messages.mc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/win/BUILD.gn
diff --git a/base/win/BUILD.gn b/base/win/BUILD.gn
index 01092735b3ae44276cc9180f26876572772c2a5a..ff2a754ae2ff7aeca66cfd2fc293289e8f08b432 100644
--- a/base/win/BUILD.gn
+++ b/base/win/BUILD.gn
@@ -3,6 +3,7 @@
# found in the LICENSE file.
import("//build/buildflag_header.gni")
+import("//build/win/message_compiler.gni")
declare_args() {
# Indicates if the handle verifier should operate in a single module mode. By
@@ -21,3 +22,29 @@ buildflag_header("base_win_features") {
header_dir = "base/win"
flags = [ "SINGLE_MODULE_MODE_HANDLE_VERIFIER=$single_module_mode_handle_verifier" ]
}
+
+message_compiler("eventlog_messages") {
+ visibility = [
+ "//base:base",
+ ":eventlog_provider",
+ ]
+
+ sources = [
+ "eventlog_messages.mc",
+ ]
+
+ user_mode_logging = false
+ compile_generated_code = false
+}
+shared_library("eventlog_provider") {
+ sources = [
+ "$root_gen_dir/base/win/eventlog_messages.rc",
+ "eventlog_provider.cc",
+ ]
+
+ ldflags = [ "/NOENTRY" ]
+
+ deps = [
+ "//base/win:eventlog_messages",
+ ]
+}
« no previous file with comments | « base/syslog_logging.cc ('k') | base/win/eventlog_messages.mc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698