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

Issue 2687783003: Add version info to the eventlog_provider.dll. (Closed)

Created:
3 years, 10 months ago by pastarmovj
Modified:
3 years, 10 months ago
CC:
chromium-reviews, grt+watch_chromium.org, vmpstr+watch_chromium.org, wfh+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add version info to the eventlog_provider.dll. BUG=none TEST=none Review-Url: https://codereview.chromium.org/2687783003 Cr-Commit-Position: refs/heads/master@{#449586} Committed: https://chromium.googlesource.com/chromium/src/+/fca8ec3cb1f629bdbcb5aafb42f53449bc3939f3

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address comment. #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -0 lines) Patch
M base/win/BUILD.gn View 1 3 chunks +10 lines, -0 lines 4 comments Download
A base/win/eventlog_provider.ver View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (6 generated)
pastarmovj
Hi Greg, please take a look when you have time. This CL adds the version ...
3 years, 10 months ago (2017-02-10 08:46:15 UTC) #1
pastarmovj
Hi Greg, please take a look when you have time. This CL adds the version ...
3 years, 10 months ago (2017-02-10 08:56:28 UTC) #3
grt (UTC plus 2)
lgtm w/ fix below https://codereview.chromium.org/2687783003/diff/1/base/win/BUILD.gn File base/win/BUILD.gn (right): https://codereview.chromium.org/2687783003/diff/1/base/win/BUILD.gn#newcode46 base/win/BUILD.gn:46: output = "$root_gen_dir/base/win/eventlog_provider.rc" "$target_gen_dir/eventlog_provider_dll_version.rc" for ...
3 years, 10 months ago (2017-02-10 09:56:55 UTC) #4
pastarmovj
https://codereview.chromium.org/2687783003/diff/1/base/win/BUILD.gn File base/win/BUILD.gn (right): https://codereview.chromium.org/2687783003/diff/1/base/win/BUILD.gn#newcode46 base/win/BUILD.gn:46: output = "$root_gen_dir/base/win/eventlog_provider.rc" On 2017/02/10 09:56:55, grt (UTC plus ...
3 years, 10 months ago (2017-02-10 10:04:30 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2687783003/20001
3 years, 10 months ago (2017-02-10 10:04:49 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/chromium/src/+/fca8ec3cb1f629bdbcb5aafb42f53449bc3939f3
3 years, 10 months ago (2017-02-10 11:03:18 UTC) #11
veranika
https://codereview.chromium.org/2687783003/diff/20001/base/win/BUILD.gn File base/win/BUILD.gn (right): https://codereview.chromium.org/2687783003/diff/20001/base/win/BUILD.gn#newcode8 base/win/BUILD.gn:8: import("//chrome/process_version_rc_template.gni") This change makes //base/win depend on //chrome, which ...
3 years, 10 months ago (2017-02-17 19:17:20 UTC) #13
grt (UTC plus 2)
https://codereview.chromium.org/2687783003/diff/20001/base/win/BUILD.gn File base/win/BUILD.gn (right): https://codereview.chromium.org/2687783003/diff/20001/base/win/BUILD.gn#newcode8 base/win/BUILD.gn:8: import("//chrome/process_version_rc_template.gni") On 2017/02/17 19:17:20, veranika wrote: > This change ...
3 years, 10 months ago (2017-02-20 09:26:21 UTC) #14
pastarmovj
https://codereview.chromium.org/2687783003/diff/20001/base/win/BUILD.gn File base/win/BUILD.gn (right): https://codereview.chromium.org/2687783003/diff/20001/base/win/BUILD.gn#newcode8 base/win/BUILD.gn:8: import("//chrome/process_version_rc_template.gni") On 2017/02/20 09:26:21, grt (UTC plus 1) wrote: ...
3 years, 10 months ago (2017-02-20 09:47:01 UTC) #15
grt (UTC plus 2)
3 years, 10 months ago (2017-02-20 09:53:47 UTC) #16
Message was sent while issue was closed.
https://codereview.chromium.org/2687783003/diff/20001/base/win/BUILD.gn
File base/win/BUILD.gn (right):

https://codereview.chromium.org/2687783003/diff/20001/base/win/BUILD.gn#newcode8
base/win/BUILD.gn:8: import("//chrome/process_version_rc_template.gni")
On 2017/02/20 09:47:01, pastarmovj wrote:
> On 2017/02/20 09:26:21, grt (UTC plus 1) wrote:
> > On 2017/02/17 19:17:20, veranika wrote:
> > > This change makes //base/win depend on //chrome, which doesn't look right
to
> > me.
> > > Is there any way to refactor process_version_rc_template.gni out of
> //chrome?
> > 
> > Agreed. Sorry I missed that. Since logging::SetEventSourceName is called
from
> > chrome/common to fire up the provider for Chrome, maybe the right thing is
to
> > move the provider dll out of base and into chrome itself?
> 
> I contemplated this for a while when I was adding this in here but I decided
the
> layering did not stretch to using build tools defined in another layer.
> 
> Moving the dll generation to Chrome can be a good choice although it really is
> related to the SYSLOG macro defined in base then specific to Chrome.

Hmm. Well, another way to look at it is that adding version info to a DLL or EXE
is a build-ish thing more than a Chrome-ish thing. Can the version template
stuff be moved into src/build without moving Chrome-isms into there?

Powered by Google App Engine
This is Rietveld 408576698