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

Issue 2619213002: [build] Introduce an embedder version string (Closed)

Created:
3 years, 11 months ago by targos
Modified:
3 years, 11 months ago
Reviewers:
Yeaisme, ofrobots, hablich, Michael Achenbach
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[build] Introduce an embedder version string Sometimes, the embedder might want to merge a fix to an abandoned branch or to a supported branch but the fix is not relevant to Chromium. This adds a new version string that the embedder can set on compile time and that will be appended to the official V8 version. The separator must be provided in the string. For instance, to have a full version string like "5.5.372.37.custom.1", the embedder must set V8_EMBEDDER_STRING to ".custom.1". Related Node.js issue: https://github.com/nodejs/node/pull/9754 BUG=v8:5740 R=machenbach@chromium.org,hablich@chromium.com,ofrobots@google.com CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_chromium_rel_ng Review-Url: https://codereview.chromium.org/2619213002 Cr-Original-Commit-Position: refs/heads/master@{#42175} Committed: https://chromium.googlesource.com/v8/v8/+/fc86d4329b253bf21c1dd85469f1ef4b6e5ba01a Review-Url: https://codereview.chromium.org/2619213002 Cr-Commit-Position: refs/heads/master@{#42582} Committed: https://chromium.googlesource.com/v8/v8/+/2c1d1e60883882011ed50310a9b09e95dc61234a

Patch Set 1 #

Total comments: 1

Patch Set 2 : fix tests #

Patch Set 3 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+77 lines, -41 lines) Patch
M BUILD.gn View 1 2 2 chunks +7 lines, -0 lines 0 comments Download
M gypfiles/features.gypi View 2 chunks +6 lines, -0 lines 0 comments Download
M include/v8-version.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M include/v8-version-string.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/log-utils.cc View 1 chunk +10 lines, -3 lines 0 comments Download
M src/version.h View 2 chunks +4 lines, -1 line 0 comments Download
M src/version.cc View 1 2 3 chunks +5 lines, -5 lines 0 comments Download
M test/cctest/test-version.cc View 1 4 chunks +40 lines, -31 lines 0 comments Download

Messages

Total messages: 41 (17 generated)
targos
3 years, 11 months ago (2017-01-09 10:31:29 UTC) #1
Michael Achenbach
lgtm - maybe add to the CL description how this is supposed to look like, ...
3 years, 11 months ago (2017-01-09 12:15:09 UTC) #2
targos
To answer https://bugs.chromium.org/p/v8/issues/detail?id=5740#c9 > Do we also want to display this number in D8? The ...
3 years, 11 months ago (2017-01-10 07:34:29 UTC) #4
Michael Achenbach
On 2017/01/10 07:34:29, targos wrote: > To answer https://bugs.chromium.org/p/v8/issues/detail?id=5740#c9 > > > Do we also ...
3 years, 11 months ago (2017-01-10 07:51:40 UTC) #5
Michael Achenbach
On 2017/01/10 07:51:40, Michael Achenbach wrote: > On 2017/01/10 07:34:29, targos wrote: > > To ...
3 years, 11 months ago (2017-01-10 07:53:31 UTC) #6
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/2619213002/1
3 years, 11 months ago (2017-01-10 08:18:52 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_asan_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_asan_rel_ng/builds/15089) v8_linux64_asan_rel_ng_triggered on master.tryserver.v8 (JOB_FAILED, ...
3 years, 11 months ago (2017-01-10 08:36:45 UTC) #10
targos
https://codereview.chromium.org/2619213002/diff/1/src/version.cc File src/version.cc (right): https://codereview.chromium.org/2619213002/diff/1/src/version.cc#newcode28 src/version.cc:28: V8_EMBEDDER_STRING CANDIDATE_STRING I forgot the S(), sorry. Running the ...
3 years, 11 months ago (2017-01-10 09:14:01 UTC) #11
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/2619213002/20001
3 years, 11 months ago (2017-01-10 12:05:00 UTC) #14
targos
Actually it was test-version.cc that contained changes based on an different implementation. It is fixed ...
3 years, 11 months ago (2017-01-10 12:16:40 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/v8/v8/+/fc86d4329b253bf21c1dd85469f1ef4b6e5ba01a
3 years, 11 months ago (2017-01-10 12:34:16 UTC) #18
Michael Hablich
A revert of this CL (patchset #2 id:20001) has been created in https://codereview.chromium.org/2621033002/ by hablich@chromium.org. ...
3 years, 11 months ago (2017-01-10 15:21:16 UTC) #19
targos
I tried to add a try bot from https://codereview.chromium.org/2619193005/ (linux_chromium_rel_ng) but I think I don't ...
3 years, 11 months ago (2017-01-11 14:08:27 UTC) #20
Michael Achenbach
On 2017/01/11 14:08:27, targos wrote: > I tried to add a try bot from https://codereview.chromium.org/2619193005/ ...
3 years, 11 months ago (2017-01-11 14:13:32 UTC) #21
targos
On 2017/01/11 at 14:13:32, machenbach wrote: > On 2017/01/11 14:08:27, targos wrote: > > I ...
3 years, 11 months ago (2017-01-13 13:56:47 UTC) #27
Michael Achenbach
On 2017/01/13 13:56:47, targos wrote: > On 2017/01/11 at 14:13:32, machenbach wrote: > > On ...
3 years, 11 months ago (2017-01-13 14:43:56 UTC) #28
targos
Rebased
3 years, 11 months ago (2017-01-21 17:23:00 UTC) #30
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/2619213002/40001
3 years, 11 months ago (2017-01-21 17:23:07 UTC) #32
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/v8/v8/+/2c1d1e60883882011ed50310a9b09e95dc61234a
3 years, 11 months ago (2017-01-21 19:04:32 UTC) #35
Michael Hablich
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.chromium.org/2643393004/ by hablich@chromium.org. ...
3 years, 11 months ago (2017-01-21 22:36:35 UTC) #36
Yeaisme
3 years, 11 months ago (2017-01-22 15:29:24 UTC) #38
Yeaisme
3 years, 11 months ago (2017-01-22 15:29:25 UTC) #39
Yeaisme
lgtm
3 years, 11 months ago (2017-01-22 15:29:27 UTC) #40
Michael Achenbach
3 years, 11 months ago (2017-01-23 07:36:13 UTC) #41
Message was sent while issue was closed.
Ah, I see now. The auto-roller takes the version file from the last roll branch
and modifies it. It ignores the one from master. So when we roll, the embedder
string is lost:
https://chromium.googlesource.com/v8/v8/+/5.8.2%5E%21/#F2

I'll think about if we could just manually wave this through or if the
auto-roller code should be changed for this.

Powered by Google App Engine
This is Rietveld 408576698