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

Unified Diff: base/win/BUILD.gn

Issue 2687783003: Add version info to the eventlog_provider.dll. (Closed)
Patch Set: Address comment. Created 3 years, 10 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 | « no previous file | base/win/eventlog_provider.ver » ('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 74c1b8a0a9c40678c2e447395687f68c49e2c80e..5d3d094ce8b914ac4d60970165d4ee4c5b498dfd 100644
--- a/base/win/BUILD.gn
+++ b/base/win/BUILD.gn
@@ -5,6 +5,7 @@
import("//build/buildflag_header.gni")
import("//build/config/sanitizers/sanitizers.gni")
import("//build/win/message_compiler.gni")
+import("//chrome/process_version_rc_template.gni")
veranika 2017/02/17 19:17:20 This change makes //base/win depend on //chrome, w
grt (UTC plus 2) 2017/02/20 09:26:21 Agreed. Sorry I missed that. Since logging::SetEve
pastarmovj 2017/02/20 09:47:01 I contemplated this for a while when I was adding
grt (UTC plus 2) 2017/02/20 09:53:47 Hmm. Well, another way to look at it is that addin
declare_args() {
# Indicates if the handle verifier should operate in a single module mode. By
@@ -37,6 +38,14 @@ message_compiler("eventlog_messages") {
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/base/win/eventlog_messages.rc",
@@ -49,5 +58,6 @@ shared_library("eventlog_provider") {
deps = [
"//base/win:eventlog_messages",
+ "//base/win:eventlog_provider_dll_version",
]
}
« no previous file with comments | « no previous file | base/win/eventlog_provider.ver » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698