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

Side by Side Diff: docs/gyp_build.md

Issue 2457813002: Update and fix some markdown docs (Closed)
Patch Set: . Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « docs/chromium_integration.md ('k') | docs/native_client_in_google_chrome.md » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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.
OLDNEW
« no previous file with comments | « docs/chromium_integration.md ('k') | docs/native_client_in_google_chrome.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698