Lines Matching refs:build

1 'ndk-build' Overview
7 The Android NDK r4 introduced a new tiny shell script, named 'ndk-build',
15 $NDK/ndk-build
24 All parameters to 'ndk-build' are passed directly to the underlying GNU Make
25 command that runs the NDK build scripts. Notable uses include:
27 ndk-build --> rebuild required machine code.
28 ndk-build clean --> clean all generated binaries.
30 ndk-build NDK_DEBUG=1 --> generate debuggable native code.
32 ndk-build V=1 --> launch build, displaying build commands.
34 ndk-build -B --> force a complete rebuild.
36 ndk-build -B V=1 --> force a complete rebuild and display build
39 ndk-build NDK_LOG=1 --> display internal NDK log messages
42 ndk-build NDK_DEBUG=1 --> force a debuggable build (see below)
43 ndk-build NDK_DEBUG=0 --> force a release build (see below)
45 ndk-build NDK_HOST_32BIT=1 --> Always use toolchain in 32-bit (see below)
47 ndk-build NDK_APPLICATION_MK=<file>
51 ndk-build -C <project> --> build the native code for the project
59 In NDK r5, ndk-build has been modified to make it easier to switch between
63 $NDK/ndk-build NDK_DEBUG=1 => forces the generation of debug binaries
64 $NDK/ndk-build NDK_DEBUG=0 => forces the generation of release binaries
66 If you don't specify NDK_DEBUG, ndk-build will keep its default behaviour,
71 If you use the build tools of SDK r8 (or higher), you
74 > That's because if you build a debug package (e.g. with
92 respectively. The ndk-build script automatically chooses a 64-bit version of the
94 using NDK_HOST_32BIT=1 either in your envorinment or on the ndk-build command-line.
104 You need GNU Make 3.81 or later to use 'ndk-build' or the NDK in general.
105 The build scripts will detect that you're using a non-compliant Make tool
110 before launching 'ndk-build'. For example:
112 GNUMAKE=/usr/local/bin/gmake ndk-build
117 ndk-build
134 'ndk-build' itself is a tiny wrapper around GNU Make, its purpose is simply
135 to invoke the right NDK build script, it is equivalent to;
137 $GNUMAKE -f $NDK/build/core/build-local.mk [parameters]
142 Use this knowledge if you want to invoke the NDK build script from other