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

Unified Diff: chrome/common/win/BUILD.gn

Issue 2946983002: Move eventlog_provider from //base/win to //chrome/common/win (Closed)
Patch Set: Address review comments on #5 Created 3 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/logging_chrome.cc ('k') | chrome/common/win/eventlog_messages.mc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..f67201394cfbb500f12a50db71f65e47b920284d
--- /dev/null
+++ b/chrome/common/win/BUILD.gn
@@ -0,0 +1,44 @@
+# Copyright 2017 The Chromium Authors. All rights reserved.
+# 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",
+ ]
+}
« no previous file with comments | « chrome/common/logging_chrome.cc ('k') | chrome/common/win/eventlog_messages.mc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698