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

Issue 5701001: Initial attempt to add support for using gyp to build V8 itself... (Closed)

Created:
10 years ago by Søren Thygesen Gjesse
Modified:
10 years ago
CC:
v8-dev
Visibility:
Public.

Description

Initial attempt to add support for using gyp to build V8 itself This is based on the structore used in chromium with a script wrapping the call to gyp itself and the default processing of common.gypi. It is possible to build all our targets on Intel Linux for all architectures (ia32, x64 and ARM simulator). When this is committed I wil take a look at Windows. See the README.txt file in the changelist for the current way of using it. Committed: http://code.google.com/p/v8/source/detail?r=6000

Patch Set 1 #

Total comments: 4

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 4

Patch Set 5 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+603 lines, -5 lines) Patch
A build/README.txt View 1 1 chunk +25 lines, -0 lines 0 comments Download
A build/all.gyp View 1 1 chunk +18 lines, -0 lines 0 comments Download
A build/armu.gypi View 1 1 chunk +32 lines, -0 lines 0 comments Download
A build/common.gypi View 1 2 3 4 1 chunk +82 lines, -0 lines 0 comments Download
A build/gyp_v8 View 1 2 3 4 1 chunk +145 lines, -0 lines 0 comments Download
A samples/samples.gyp View 1 2 1 chunk +51 lines, -0 lines 0 comments Download
A src/d8.gyp View 1 1 chunk +85 lines, -0 lines 0 comments Download
A test/cctest/cctest.gyp View 1 1 chunk +160 lines, -0 lines 0 comments Download
M tools/gyp/v8.gyp View 1 2 3 4 2 chunks +5 lines, -5 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Evan Martin
http://codereview.chromium.org/5701001/diff/1/build/common.gypi File build/common.gypi (right): http://codereview.chromium.org/5701001/diff/1/build/common.gypi#newcode56 build/common.gypi:56: },{'target_defaults': {'ccflags':['-xxx']}}], I'd rewrite this line as }, { ...
10 years ago (2010-12-09 22:03:13 UTC) #1
Søren Thygesen Gjesse
As the CL description says it is possible to build all our targets on Intel ...
10 years ago (2010-12-10 14:21:24 UTC) #2
Søren Thygesen Gjesse
Adding Mads as reviewer.
10 years ago (2010-12-10 14:22:10 UTC) #3
Mads Ager (chromium)
LGTM I would be fine with committing this as a work in progress. We need ...
10 years ago (2010-12-13 13:09:42 UTC) #4
Evan Martin
10 years ago (2010-12-13 17:20:58 UTC) #5
I agree with Mads, this LGTM

http://codereview.chromium.org/5701001/diff/18001/build/common.gypi
File build/common.gypi (right):

http://codereview.chromium.org/5701001/diff/18001/build/common.gypi#newcode65
build/common.gypi:65: 'cflags': [ '-Wall', '-pthread', '-fno-rtti',
'-fno-exceptions'],
space before ] for symmetry

http://codereview.chromium.org/5701001/diff/18001/tools/gyp/v8.gyp
File tools/gyp/v8.gyp (right):

http://codereview.chromium.org/5701001/diff/18001/tools/gyp/v8.gyp#newcode650
tools/gyp/v8.gyp:650: '-lpthread',
I always get this wrong, but I have the vague recollection that there a -pthread
flag that passes -lpthread as well as set some other settings...

Powered by Google App Engine
This is Rietveld 408576698