v8/build
sgjesse@chromium.org d9c202752e 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.
Review URL: http://codereview.chromium.org/5701001

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6000 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2010-12-14 08:16:39 +00:00
..
all.gyp Initial attempt to add support for using gyp to build V8 itself 2010-12-14 08:16:39 +00:00
armu.gypi Initial attempt to add support for using gyp to build V8 itself 2010-12-14 08:16:39 +00:00
common.gypi Initial attempt to add support for using gyp to build V8 itself 2010-12-14 08:16:39 +00:00
gyp_v8 Initial attempt to add support for using gyp to build V8 itself 2010-12-14 08:16:39 +00:00
README.txt Initial attempt to add support for using gyp to build V8 itself 2010-12-14 08:16:39 +00:00

This directory contains the V8 GYP files used to generate actual project files
for different build systems.

This is currently work in progress but this is expected to replace the SCons
based build system.

To use this a checkout of GYP is needed inside this directory. From the root of
the V8 project do the following

$ svn co http://gyp.googlecode.com/svn/trunk build/gyp

To generate Makefiles and build 32-bit version on Linux:

$ GYP_DEFINES=target_arch=ia32 build/gyp_v8
$ make

To generate Makefiles and build 64-bit version on Linux:

$ GYP_DEFINES=target_arch=x64 build/gyp_v8
$ make

To generate Makefiles and build for the arm simulator on Linux:

$ build/gyp_v8 -I build/arm.gypi
$ make