Home
last modified time | relevance | path

Searched refs:build (Results 1 – 25 of 233) sorted by relevance

12345678910

/ndk/docs/text/
DNDK-BUILD.text1 '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.
[all …]
DHOWTO.text7 How to force the display of build commands:
10 Do "ndk-build V=1" and actual build commands will be
12 as you expect them to, and check for bugs in the NDK build system.
14 (The V=1 trick comes from the Linux kernel build system)
22 ndk-build -B
35 How to build a project's native files without cd-ing to it:
42 ndk-build -C <project-path>
49 and launch the 'ndk-build' script from your project tree.
51 If you want to use 'ndk-build' but place the file to a different location,
54 ndk-build NDK_APPLICATION_MK=/path/to/your/Application.mk
[all …]
DOVERVIEW.text78 - A build system that allow developers to only write very short build files
79 to describe which sources need to be compiled, and how. The build system
82 system interfaces without requiring changes in the developer's build
135 to the NDK build system
138 project in more details to the build system. You don't need
143 4. Build your native code by running "`$NDK/ndk-build`" from your
156 Previous releases required that you run the 'build/host-setup.sh'
184 ### III.3/ Writing an Android.mk build script:
186 An Android.mk file is a small build script that you write to describe your
187 sources to the NDK build system. Its syntax is described in details in
[all …]
/ndk/build/tools/
Dmake-release.sh211 run $ANDROID_NDK_ROOT/build/tools/download-toolchain-sources.sh "$TOOLCHAIN_SRCDIR"
217 timestamp_clear build-prebuilts
218 timestamp_clear build-host-prebuilts
219 timestamp_clear build-darwin-prebuilts
220 timestamp_clear build-mingw-prebuilts
225 if timestamp_check build-prebuilts; then
227 if timestamp_check build-host-prebuilts; then
229 …run $ANDROID_NDK_ROOT/build/tools/rebuild-all-prebuilt.sh --package-dir="$PREBUILT_DIR" --build-di…
231 timestamp_set build-host-prebuilts
234 if timestamp_check build-darwin-prebuilts; then
[all …]
Dbuild-target-prebuilts.sh55 BUILDTOOLS=$ANDROID_NDK_ROOT/build/tools
102 … run $BUILDTOOLS/build-gdbserver.sh "$SRC_DIR" "$NDK_DIR" "$GDB_TOOLCHAIN" "$GDB_VERSION" $FLAGS
112 run $BUILDTOOLS/build-compiler-rt.sh --abis="$ABIS" $FLAGS --src-dir="$SRC_DIR/llvm-$DEFAULT_LLVM_V…
117 run $BUILDTOOLS/build-cxx-stl.sh --stl=gabi++ --abis="$ABIS" $FLAGS
119 run $BUILDTOOLS/build-cxx-stl.sh --stl=gabi++ --abis="$ABIS" $FLAGS --with-debug-info
123 run $BUILDTOOLS/build-cxx-stl.sh --stl=stlport --abis="$ABIS,$UNKNOWN_ABIS" $FLAGS
125 run $BUILDTOOLS/build-cxx-stl.sh --stl=stlport --abis="$ABIS,$UNKNOWN_ABIS" $FLAGS --with-debug-info
129 run $BUILDTOOLS/build-cxx-stl.sh --stl=libc++-libc++abi --abis="$ABIS,$UNKNOWN_ABIS" $FLAGS --llvm-…
131 run $BUILDTOOLS/build-cxx-stl.sh --stl=libc++-libc++abi --abis="$ABIS,$UNKNOWN_ABIS" $FLAGS --with-…
139 …run $BUILDTOOLS/build-cxx-stl.sh --stl=libc++-gabi++ --abis=$abi $FLAGS --llvm-version=$DEFAULT_LL…
[all …]
Dbuild-host-prebuilts.sh101 BUILDTOOLS=$ANDROID_NDK_ROOT/build/tools
267 run $BUILDTOOLS/build-ndk-stack.sh $TOOLCHAIN_FLAGS --with-libbfd --src-dir=$SRC_DIR
271 run $BUILDTOOLS/build-ndk-depends.sh $TOOLCHAIN_FLAGS
275 run $BUILDTOOLS/build-host-make.sh $TOOLCHAIN_FLAGS
279 run $BUILDTOOLS/build-host-awk.sh $TOOLCHAIN_FLAGS
283 run $BUILDTOOLS/build-host-sed.sh $TOOLCHAIN_FLAGS
304 run $BUILDTOOLS/build-host-perl.sh $TOOLCHAIN_FLAGS "$SRC_DIR"
309 …run $BUILDTOOLS/build-host-python.sh $TOOLCHAIN_FLAGS "--toolchain-src-dir=$SRC_DIR" "--systems=$S…
313 run $BUILDTOOLS/build-host-yasm.sh "$SRC_DIR" "$NDK_DIR" $TOOLCHAIN_FLAGS
318 run $BUILDTOOLS/build-host-toolbox.sh $FLAGS
[all …]
DDEV-SCRIPTS-USAGE.TXT3 itself, i.e. they are un-needed when using ndk-build to build
27 $NDK/build/core
28 Contains the main NDK build system used when 'ndk-build'.
32 $NDK/build/tools
44 can be used with 'ndk-build'. See docs/CPLUSPLUS-SUPPORT.html for
49 the dev-script 'build-cxx-stl.sh' can be used to generate prebuilt
54 Contains the sources of a port of STLport that can be used with ndk-build.
55 The dev-script 'build-cxx-stl.sh' can be used to generate prebuilt
60 ndk-build. The dev-script 'build-cxx-stl.sh' can be used to generate
66 The dev-script 'build-gnu-libstdc++.sh' is used to generate prebuilt
[all …]
Drebuild-all-prebuilt.sh27 BUILD_DIR=/tmp/ndk-$USER/build
125 $PROGDIR/build-host-prebuilts.sh $HOST_FLAGS "$SRC_DIR" --try-64
128 $PROGDIR/build-host-prebuilts.sh $HOST_FLAGS "$SRC_DIR"
133 $PROGDIR/build-target-prebuilts.sh $TARGET_FLAGS "$SRC_DIR"
Dbuild-ccache.sh41 BUILD_OUT=$NDK_TMPDIR/build-ccache
106 cd $BUILD_OUT/$CCACHE_VERSION && run make clean && run make unpack && run make build
111 PREBUILT_DIR=$NDK_DIR/build/prebuilt/$HOST_TAG/ccache
/ndk/tests/build/merge-string-literals/
Dbuild.sh24 $NDK/ndk-build -C "$PROGDIR" "$@"
27 $NDK/ndk-build -C "$PROGDIR" "$@" APP_ABI="$APP_ABI"
36 make --no-print-dir -f $NDK/build/core/build-local.mk DUMP_$1 | tail -1
38 make --no-print-dir -f $NDK/build/core/build-local.mk DUMP_$1 APP_ABI="$APP_ABI" | tail -1
/ndk/build/core/
Dbuild-all.mk44 BUILD_HOST_EXECUTABLE := $(BUILD_SYSTEM)/build-host-executable.mk
45 BUILD_HOST_STATIC_LIBRARY := $(BUILD_SYSTEM)/build-host-static-library.mk
46 BUILD_STATIC_LIBRARY := $(BUILD_SYSTEM)/build-static-library.mk
47 BUILD_SHARED_LIBRARY := $(BUILD_SYSTEM)/build-shared-library.mk
48 BUILD_EXECUTABLE := $(BUILD_SYSTEM)/build-executable.mk
87 …$(call __ndk_warning,WARNING: No modules to build, your APP_MODULES definition is probably incorre…
89 $(call __ndk_warning,WARNING: There are no modules to build in this project!)
/ndk/
Dndk-build247 . $PROGDIR/build/tools/dev-defaults.sh # for DEFAULT_LLVM_VERSION
302 $GNUMAKE --no-print-dir -f $PROGDIR/build/core/build-local.mk $FLAGS DUMP_${VAR} | tail -1
310 …$GNUMAKE --no-print-dir -f $PROGDIR/build/core/build-local.mk $FLAGS DUMP_${VAR} APP_ABI=${ABI} | …
316 PERL5LIB="$HOST_PERL_LIB" "$HOST_PERL" $PROGDIR/prebuilt/common/scan-build/scan-build \
321 $GNUMAKE -f $PROGDIR/build/core/build-local.mk "$@" APP_ABI=$ABI
324 $GNUMAKE -f $PROGDIR/build/core/build-local.mk "$@"
/ndk/sources/host-tools/ndk-depends/
DGNUmakefile20 BUILD_DIR := /tmp/ndk-$(USER)/build/build-ndk-depends
45 define build-c-object
52 define build-cxx-object
60 $(eval $(call build-c-object,$(BUILD_DIR)/$(src:%.c=%.o),$(src)))\
64 $(eval $(call build-cxx-object,$(BUILD_DIR)/$(src:%.cc=%.o),$(src)))\
/ndk/sources/host-tools/ndk-stack/
DGNUmakefile20 BUILD_DIR := /tmp/ndk-$(USER)/build/build-ndk-stack
68 define build-c-object
75 define build-cxx-object
83 $(eval $(call build-c-object,$(BUILD_DIR)/$(src:%.c=%.o),$(src)))\
87 $(eval $(call build-cxx-object,$(BUILD_DIR)/$(src:%.cc=%.o),$(src)))\
/ndk/sources/cxx-stl/llvm-libc++/
DREADME.NDK1 This is a copy of LLVM's libc++ project, slightly modified to build
31 $NDK/ndk-build -C android/test
36 $NDK/ndk-build
38 3/ To see build commands, use V=1, as in:
40 $NDK/ndk-build -C android/test V=1
52 Main build file for the library. This builds one static and
59 NDK build project for two test programs that link against the
67 By default, ndk-build tries to build with GCC 4.6, however, experimental
75 $NDK/ndk-build -C android/test
78 $NDK/ndk-build -C android/test NDK_TOOLCHAIN_VERSION=4.8
[all …]
/ndk/tests/build/prebuilt-copy/
Dbuild.sh46 $NDK/ndk-build -C "$PREBUILTS_DIR"
49 $NDK/ndk-build -C "$PREBUILTS_DIR" APP_ABI="$APP_ABI"
60 PREBUILTS_DIR=$PREBUILTS_DIR $NDK/ndk-build -C "$PROGDIR"
63 PREBUILTS_DIR=$PREBUILTS_DIR $NDK/ndk-build -C "$PROGDIR" APP_ABI="$APP_ABI"
/ndk/tests/build/multi-abi/
DREADME1 This test checks that we can build the same binary for multiple architectures
2 in a single ndk-build invokation, i.e. when using:
6 This failed in NDK r6 due to a bug in the build scripts.
/ndk/tests/
Drun-tests-all.sh5 NDK_BUILDTOOLS_PATH=$NDK/build/tools
99 ANDROID_SERIAL=none ./run-tests.sh --continue-on-build-fail --abi=armeabi
102 NDK_TOOLCHAIN_VERSION=clang ANDROID_SERIAL=none ./run-tests.sh --continue-on-build-fail --abi=armea…
107 NDK_TOOLCHAIN_VERSION="${V#gcc*}" ./run-tests.sh --continue-on-build-fail --full
113 NDK_HOST_32BIT=1 NDK_TOOLCHAIN_VERSION="${V#gcc*}" ./run-tests.sh --continue-on-build-fail
121 NDK_TOOLCHAIN_VERSION="${V#gcc*}" ./run-tests.sh --continue-on-build-fail --wine # --full
129 …NDK_HOST_32BIT=1 NDK_TOOLCHAIN_VERSION="${V#gcc*}" ./run-tests.sh --continue-on-build-fail --wine …
172 ./build/tools/make-standalone-toolchain.sh \
Drun-libcxx.sh22 ./build/tools/make-standalone-toolchain.sh --platform=android-14 --llvm-version=${LLVM_VERSION} \
24 ./build/tools/make-standalone-toolchain.sh --platform=android-14 --llvm-version=${LLVM_VERSION} \
26 ./build/tools/make-standalone-toolchain.sh --platform=android-14 --llvm-version=${LLVM_VERSION} \
28 ./build/tools/make-standalone-toolchain.sh --platform=android-14 --llvm-version=${LLVM_VERSION} \
30 ./build/tools/make-standalone-toolchain.sh --platform=android-14 --llvm-version=${LLVM_VERSION} \
32 ./build/tools/make-standalone-toolchain.sh --platform=android-14 --llvm-version=${LLVM_VERSION} \
/ndk/sources/cxx-stl/stlport/
DREADME.original16 build/lib - build directory for STLport library (if you use
18 build/test/unit - build directory for regression (unit) tests
19 build/test/eh - build directory for exception handling tests
/ndk/tests/build/issue64679-prctl/
Dbuild.sh7 NDK_BUILDTOOLS_PATH=$NDK/build/tools
8 . $NDK/build/tools/prebuilt-common.sh
22 …$ANDROID_NDK_ROOT/ndk-build -B APP_CFLAGS=-DHEADER=\"\<$HEADER\>\" APP_PLATFORM=android-$API_LEVEL…
/ndk/tests/build/absolute-src-file-paths/
Dbuild.sh6 echo $NDK/ndk-build "$@" FOO_PATH="$CUR_DIR/src"
7 $NDK/ndk-build "$@" FOO_PATH="$CUR_DIR/src"
/ndk/tests/abcc/
Dbuild-abcc.sh22 NDK_BUILDTOOLS_PATH=$PROGDIR/../../build/tools
37 BUILD_DIR=/tmp/ndk-$USER/build
77 BUILDTOOLS=$NDK_DIR/build/tools
97 …run $BUILDTOOLS/build-on-device-toolchain.sh --ndk-dir=$NDK_DIR --build-dir=$BUILD_DIR --out-dir=$…
146 run $NDK_DIR/ndk-build -B APP_ABI=$ABI -C jni
/ndk/tests/build/issue17144-byteswap/
Dbuild.sh24 $NDK/ndk-build -B APP_ABI=armeabi-v7a APP_CFLAGS=-save-temps NDK_DEBUG=1
34 $NDK/ndk-build -B APP_ABI=x86 APP_CFLAGS=-save-temps NDK_DEBUG=1
46 $NDK/ndk-build -B APP_ABI=mips APP_CFLAGS="-save-temps -mips32r2" NDK_DEBUG=1
/ndk/sources/host-tools/nawk-20071023/
DGNUmakefile5 BUILD_DIR ?= /tmp/ndk-$(USER)/build-awk
69 define build-c-file
78 $(eval $(call build-c-file,$(src),$(BUILD_DIR)/$(src:%.c=%.o)))\
89 $(eval $(call build-c-file,$(PROCTAB_C),$(PROCTAB_O)))

12345678910