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

Issue 23723003: Move version macros to public V8 header. (Closed)

Created:
7 years, 3 months ago by Benedikt Meurer
Modified:
7 years, 2 months ago
CC:
v8-dev
Visibility:
Public.

Description

Move version macros to public V8 header. Move the V8 version macros to the public v8.h file, so it can be used by other projects for testing specific V8 versions at compile time. Adjust tools to work on include/v8.h instead of src/version.cc. Make sure tools/v8-info.sh falls back to src/version.cc when looking at old versions. Also add V8_CHECK_VERSION() and V8_VERSION_STRING macros for convenience. BUG=v8:1844

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+112 lines, -54 lines) Patch
M include/v8.h View 1 chunk +75 lines, -0 lines 0 comments Download
M include/v8config.h View 1 chunk +9 lines, -0 lines 0 comments Download
M src/version.cc View 1 chunk +6 lines, -36 lines 0 comments Download
M tools/common-includes.sh View 2 chunks +2 lines, -2 lines 0 comments Download
M tools/merge-to-branch.sh View 1 chunk +2 lines, -2 lines 0 comments Download
M tools/push-to-trunk.sh View 2 chunks +7 lines, -7 lines 0 comments Download
M tools/v8-info.sh View 2 chunks +11 lines, -7 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Benedikt Meurer
PTAL
7 years, 3 months ago (2013-09-02 09:02:01 UTC) #1
Benedikt Meurer
Hey Sven, Please have a look. CC'd Jakob for sanity checking of build system implications.
7 years, 3 months ago (2013-09-02 09:02:50 UTC) #2
Jakob Kummerow
High-level comment: I'm not convinced that we want this change. Given the rate at which ...
7 years, 3 months ago (2013-09-02 11:00:47 UTC) #3
Benedikt Meurer
On 2013/09/02 11:00:47, Jakob wrote: > High-level comment: > I'm not convinced that we want ...
7 years, 3 months ago (2013-09-02 11:02:26 UTC) #4
oliver.buchtala
On 2013/09/02 11:00:47, Jakob wrote: > High-level comment: > I'm not convinced that we want ...
7 years, 3 months ago (2013-09-02 20:43:50 UTC) #5
Sven Panne
I would support this change, too, for various reasons. In the past, the external API ...
7 years, 3 months ago (2013-09-03 07:44:22 UTC) #6
Benedikt Meurer
For the record: +1 from my side as well (my point of view is that ...
7 years, 3 months ago (2013-09-03 07:47:18 UTC) #7
Jakob Kummerow
This has nothing to do with being ignorant, Open Source, or a good team player. ...
7 years, 3 months ago (2013-09-03 09:36:56 UTC) #8
Sven Panne
LGTM. There are very good reasons for *not* closely tracking any dependency in a complex ...
7 years, 3 months ago (2013-09-03 10:01:32 UTC) #9
Jakob Kummerow
7 years, 3 months ago (2013-09-03 10:29:53 UTC) #10
Not so fast!

Low-level comment: This will break merge-to-branch.sh for merging patches from a
branch with the change to one without. That's not acceptable, please don't land
until you have a fix. (It'll also break push-to-trunk.sh, but there it's a
one-off, which you can work around by doing a push manually [only takes 1-2
hours].)

Powered by Google App Engine
This is Rietveld 408576698