Lines Matching refs:NDK
1 NDK Development:
4 This document describes how one can modify the NDK and generate
24 export NDK=`pwd`/ndk
30 You need to do that once if you want to use the content of $NDK to build
33 $NDK/build/tools/gen-platforms.sh
35 What the script does is populate the $NDK/platforms and $NDK/samples
41 and place the result inside $NDK/platforms and $NDK/samples.
43 Note: These directories are listed by $NDK/.gitignore, so they won't appear
46 $NDK/build/tools/dev-cleanup.sh
48 which also removes all intermediate files and directories from $NDK.
54 The NDK requires several prebuilt binary executables to work properly, these
60 These are not provided in the NDK's git repositories. However, there are
63 ### 1. From a previous NDK release package:
66 NDK installation. You can do that with a command like the following one:
68 cp -r $PREVIOUS_NDK/toolchains/* $NDK/toolchains/
70 NOTE: The binaries are listed in $NDK/.gitignore and will not appear
78 The NDK comes with several scripts that can be used to rebuild the
86 $NDK/build/tools/rebuild-all-prebuilt.sh
94 - copying the generated binaries to the proper location under $NDK
99 IMPORTANT: If you plan to generate NDK release packages, even
104 Since NDK r5, Windows binaries can be built on Linux by using the
108 $NDK/build/tools/rebuild-all-prebuilt.sh --mingw
118 If you plan to generate your own NDK release packages, it is better
128 directory that will be used when packaging NDK releases.
137 $NDK/build/tools/download-toolchain-sources.sh --package
150 $NDK/build/tools/download-toolchain-sources.sh <target-src-dir>
159 $NDK/build/tools/rebuild-all-prebuilt.sh --toolchain-pkg=<file>
167 $NDK/build/tools/rebuild-all-prebuilt.sh --toolchain-src-dir=<path>
186 $NDK/build/tools/rebuild-all-prebuilt.sh --mingw --toolchain-pkg=<file>
191 #### 3.c/ Copy the binaries to your NDK tree:
193 Simply go to your NDK tree, and unpack the binary tarballs in place,
196 cd $NDK
209 $NDK/build/tools/rebuild-all-prebuilt.sh --package
212 can be unpacked directly into your $NDK directory. The package name is
218 cd $NDK
228 You can generate new experimental NDK release packages once you're satisfied
234 The simplest, and also the slowest way, to generate a new NDK release
237 $NDK/build/tools/make-release.sh
247 ### 2. Using a previous NDK release package:
255 cd $NDK
258 Where <file> points to a previous NDK package (i.e. archive file).
273 cd $NDK
276 The generated NDK package release will have a name that looks like:
282 NDK release is supposed to run.
290 --platforms=<list> List of API levels to package in the NDK