Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
README.txt | D | 03-May-2024 | 2.2 KiB | 67 | 41 | |
all.gyp | D | 03-May-2024 | 427 | 20 | 17 | |
android.gypi | D | 03-May-2024 | 8.3 KiB | 225 | 221 | |
armu.gypi | D | 03-May-2024 | 1.7 KiB | 37 | 35 | |
common.gypi | D | 03-May-2024 | 13.9 KiB | 402 | 380 | |
gyp_v8 | D | 03-May-2024 | 6 KiB | 179 | 101 | |
mipsu.gypi | D | 03-May-2024 | 1.6 KiB | 34 | 32 | |
standalone.gypi | D | 03-May-2024 | 7.7 KiB | 208 | 205 |
README.txt
1This directory contains the V8 GYP files used to generate actual project files 2for different build systems. 3 4This is currently work in progress but this is expected to replace the SCons 5based build system. 6 7To use this a checkout of GYP is needed inside this directory. From the root of 8the V8 project do the following: 9 10$ svn co http://gyp.googlecode.com/svn/trunk build/gyp 11 12Note for the command lines below that Debug is the default configuration, 13so specifying that on the command lines is not required. 14 15 16To generate Makefiles on Linux: 17------------------------------- 18 19$ build/gyp_v8 20 21This will build makefiles for ia32, x64 and the ARM simulator with names 22Makefile-ia32, Makefile-x64 and Makefile-armu respectively. 23 24To build and run for ia32 in debug and release version do: 25 26$ make -f Makefile-ia32 27$ out/Debug/shell 28$ make -f Makefile-ia32 BUILDTYPE=Release 29$ out/Release/shell 30 31Change the makefile to build and run for the other architectures. 32 33 34To generate Xcode project files on Mac OS: 35------------------------------------------ 36 37$ build/gyp_v8 38 39This will make an Xcode project for the ia32 architecture. To build and run do: 40 41$ xcodebuild -project build/all.xcodeproj 42$ samples/build/Debug/shell 43$ xcodebuild -project build/all.xcodeproj -configuration Release 44$ samples/build/Release/shell 45 46 47To generate Visual Studio solution and project files on Windows: 48---------------------------------------------------------------- 49 50On Windows an additional third party component is required. This is cygwin in 51the same version as is used by the Chromium project. This can be checked out 52from the Chromium repository. From the root of the V8 project do the following: 53 54> svn co http://src.chromium.org/svn/trunk/deps/third_party/cygwin@66844 third_party/cygwin 55 56To run GYP Python is required and it is recommended to use the same version as 57is used by the Chromium project. This can also be checked out from the Chromium 58repository. From the root of the V8 project do the following: 59 60> svn co http://src.chromium.org/svn/trunk/tools/third_party/python_26@89111 third_party/python_26 61 62Now generate Visual Studio solution and project files for the ia32 architecture: 63 64> third_party\python_26\python build/gyp_v8 65 66Now open build\All.sln in Visual Studio. 67