NSS/Build System: Difference between revisions
< NSS
Jump to navigation
Jump to search
(Fix typo) |
Franziskus (talk | contribs) No edit summary |
||
| Line 6: | Line 6: | ||
=== Steps to build with gyp === | === Steps to build with gyp === | ||
./build.sh | |||
* If <code>NSS_GYP_GEN=1</code> is set, <code>build.sh</code> runs gyp to generate ninja files. | |||
==== Build Options ==== | ==== Build Options ==== | ||
* 32-bit builds on 64-bit machines: <code>-Dtarget_arch=ia32</code> | * 32-bit builds on 64-bit machines: <code>-Dtarget_arch=ia32</code> (gyp argument) | ||
* disable_tests | * disable_tests | ||
* disable_dbm | * disable_dbm | ||
| Line 23: | Line 17: | ||
* ssl_enable_zlib | * ssl_enable_zlib | ||
* mozilla_client | * mozilla_client | ||
* cross compiling <code>-DOS=android</code> (gyp argument) | |||
Revision as of 12:12, 12 October 2016
Prerequisites to building with gyp
- a recent version of gyp and ninja.
- a build environment with pkg-config, make, configure
- the NSPR source
- the NSS source
Steps to build with gyp
./build.sh
- If
NSS_GYP_GEN=1is set,build.shruns gyp to generate ninja files.
Build Options
- 32-bit builds on 64-bit machines:
-Dtarget_arch=ia32(gyp argument) - disable_tests
- disable_dbm
- disable_libpkix
- ssl_enable_zlib
- mozilla_client
- cross compiling
-DOS=android(gyp argument)