| OLD | NEW |
| (Empty) |
| 1 ## Introduction | |
| 2 | |
| 3 The `.gyp` files in the NaCl source tree serve two purposes: they are used to | |
| 4 build NaCl as part of Chromium (see ChromiumIntegration), and they can also be | |
| 5 used to build NaCl standalone, as an alternative to the Scons build scripts. | |
| 6 | |
| 7 ## Standalone Linux Gyp build | |
| 8 | |
| 9 In the top-level (`trunk/src`) directory: * `./native_client/build/gyp_nacl | |
| 10 native_client/build/all.gyp -f make` * `make -j4` | |
| 11 | |
| 12 ## Standalone Windows Gyp build | |
| 13 | |
| 14 In the top-level (`trunk/src`) directory: * If necessary: run `vcvarsall.bat` | |
| 15 from the Visual Studio/VC directory. * `set GYP_MSVS_VERSION=2008` * `gclient | |
| 16 runhooks` * `devenv native_client\build\all.sln /build Debug` It also works from | |
| 17 the `native_client` directory: * `devenv build\all.sln /build Debug` | |
| 18 | |
| 19 ## Tests | |
| 20 | |
| 21 Most of the NaCl tests cannot be run using the Gyp build, because the Gyp build | |
| 22 does not know how to invoke the NaCl compiler. Gyp does not handle | |
| 23 cross-compilation well in general. To run the NaCl tests you have to use the | |
| 24 Scons build. | |
| OLD | NEW |