Home
last modified time | relevance | path

Searched refs:NDK (Results 1 – 25 of 95) sorted by relevance

1234

/ndk/tests/build/libc_no_atexit/
Dbuild.sh4 export ANDROID_NDK_ROOT=$NDK
6 NDK_BUILDTOOLS_PATH=$NDK/build/tools
7 . $NDK/build/tools/prebuilt-common.sh
12 LIB=$(cd $NDK && find platforms -name "libc.so" | sed -e 's!^!'$NDK'/!' | grep arch-$ARCH)
23 echo "ERROR: $NDK/$LIB exposes 'atexit'!" >&2
28 echo "ERROR: $NDK/$LIB exposes '__dso_handle'!" >&2
34 echo "ERROR: Did not find any libc.so in $NDK/platforms!"
/ndk/docs/text/
DDEVELOPMENT.text1 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.
[all …]
DINSTALL.text1 Android NDK Installation
6 Please read docs/OVERVIEW.html to understand what the Android NDK is and is not.
7 This file gives instructions on how to properly setup your NDK.
13 The Android NDK currently requires a Linux, OS X or Windows host operating system.
16 use the NDK. Note that running it under MSys or Cygwin 1.5 is not supported.
18 You will need to have the Android SDK and its dependencies installed. The NDK
24 The Android NDK can only be used to target system images using
30 The NDK requires GNU Make 3.81 or later being available on your development
42 when invoking the NDK build system as described in the documentation. You might
45 The NDK also requires a Nawk or GNU Awk executable being available on your
[all …]
DNDK-BUILD.text7 The Android NDK r4 introduced a new tiny shell script, named 'ndk-build',
10 The script is located at the top-level directory of the NDK, and shall
15 $NDK/ndk-build
17 Where $NDK points to your NDK installation path. You can also create an
18 alias or add $NDK to your PATH to avoid typing it every time.
25 command that runs the NDK build scripts. Notable uses include:
39 ndk-build NDK_LOG=1 --> display internal NDK log messages
40 (used for debugging the NDK itself).
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
[all …]
DOVERVIEW.text1 Android NDK Overview
7 The Android NDK is a set of tools that allows Android application developers
12 > The Android NDK can only be used to target Android system images
19 I. Android NDK Goals:
49 The Android NDK is a complement to the Android SDK that helps you to:
58 - In later revisions of the NDK, we intend to provide tools that help
62 Moreover, the Android NDK provides:
81 later updates of the NDK can add support for more toolchains, platforms,
86 II. Android NDK Non-Goals:
89 The NDK is *not* a good way to write generic native code that runs on Android
[all …]
DCPU-MIPS.text1 Android NDK MIPS32 instruction set support
7 Android NDK r8 added support for the 'mips' ABI, that allows native code to
21 Alternatively, since NDK r7, you can use:
25 will generate machine code for all supported ABIs with this NDK. Doing so
41 Debugging with ndk-gdb should work exactly as described under docs/NDK-GDB.html.
46 It is possible to use the mips toolchain with NDK r8 in stand-alone mode.
50 $NDK/build/tools/make-standalone-toolchain.sh --arch=mips --install-dir=<path>
62 API level: the NDK build script will automatically select the right set of
DCPU-X86-64.text1 Android NDK x86-64 instruction set support
7 Android NDK r[TBD] added support for the '`x86-64`' ABI, that allows native code to
25 will generate machine code for all supported ABIs with this NDK. Doing so
43 Debugging with ndk-gdb should work exactly as described under docs/NDK-GDB.html.
48 It is possible to use the x86-64 toolchain with NDK in stand-alone mode.
52 $NDK/build/tools/make-standalone-toolchain.sh --arch=x86_64 --install-dir=<path>
65 API level: the NDK build script will automatically select the right set of
DHOWTO.text1 Android NDK How-To:
4 A collection of tips and tricks for NDK users
12 as you expect them to, and check for bugs in the NDK build system.
48 Starting with NDK r4, you can simply place the file under $PROJECT/jni/
56 If you're using the legacy $NDK/apps/&lt;name&gt; build method, you can create
64 ln -s $PROJECT/foo $NDK/apps/&lt;name&gt;
66 This will make $NDK/apps/&lt;name&gt;/Application.mk point directly to
69 Note that generated files will still go under $NDK/out/apps/&lt;name&gt; though.
71 Windows users: The NDK is only supported on Cygwin, which implements
DAPPLICATION-MK.text27 `$NDK/apps` directory, e.g.:
29 $NDK/apps/<myapp>/`Application.mk`
32 to the NDK build system (this name doesn't go into your generated
46 > *mandatory* for `$NDK/apps/<myapp>/Application.mk`
69 > NOTE: This variable's behaviour changed in NDK r4. Before that:
104 + All paths in these flags should be relative to the top-level NDK
130 > in a future release of the NDK.
149 > By default, the NDK build system will look for a file named Android.mk
156 > be interpreted as relative to the NDK's top-level directory.
160 > By default, the NDK build system will generate machine code for the
[all …]
/ndk/
DREADME.TXT1 Android Native Development Kit (NDK)
4 Welcome, this NDK is designed to allow Android application developers
10 A high-level overview of the NDK's features and limitations can be found
15 this NDK, as well as the corresponding system image versions that support
18 Before using the NDK, you will need to follow the steps described by
19 docs/INSTALL.html which lists the NDK prerequisites and the steps needed
23 note that the NDK is *not* a good way to write non-JNI native code for the
26 See docs/HOWTO.html for a few useful tips and tricks when using the NDK.
29 the Android system images that all NDK developers should be aware of.
31 Finally, discussions related to the Android NDK happen on the public
/ndk/tests/build/warn-noabi/
Dbuild.sh5 export ANDROID_NDK_ROOT=$NDK
7 NDK_BUILDTOOLS_PATH=$NDK/build/tools
8 . $NDK/build/tools/prebuilt-common.sh
36 ARM_GPP=$NDK/toolchains/arm-linux-androideabi-$VERSION/prebuilt/$SYSTEM/bin/arm-linux-androideabi-g…
38 …ARM_GPP=$NDK/toolchains/arm-linux-androideabi-$VERSION/prebuilt/$SYSTEM64/bin/arm-linux-androideab…
/ndk/build/tools/
DDEV-SCRIPTS-USAGE.TXT2 call the "dev-scripts", that are only used to develop the NDK
15 - packaging final NDK release tarballs, including adding samples
16 and documentation which normally live in $NDK/../development/ndk
25 First, a small description of the NDK's overall directory structure:
27 $NDK/build/core
28 Contains the main NDK build system used when 'ndk-build'.
32 $NDK/build/tools
36 $NDK/sources/host-tools/
38 compiled to generate useful host programs for the final NDK
39 installation. For example, $NDK/sources/host-tools/ndk-stack/
[all …]
/ndk/sources/cxx-stl/llvm-libc++/
DREADME.NDK2 with this NDK. It's currently *EXPERIMENTAL*.
19 You need a recent NDK release, one which provides a version
24 1/ Set NDK to the path of a recent Android NDK install path
25 (Use Android NDK r8e or above), e.g.:
27 NDK=$HOME/android/ndk-r8e
31 $NDK/ndk-build -C android/test
36 $NDK/ndk-build
40 $NDK/ndk-build -C android/test V=1
55 If modifications are not obvious, read $NDK/docs/ANDROID-MK.html
59 NDK build project for two test programs that link against the
[all …]
/ndk/tests/
Drun-tests-all.sh4 NDK=`cd $PROGDIR/.. && pwd`
5 NDK_BUILDTOOLS_PATH=$NDK/build/tools
61 if [ -d "$NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/$HOST_TAG" ] ; then
62 if [ -d "$NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/$HOST_TAG32" ] ; then
74 if [ -d "$NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/windows-x86_64" ] ; then
75 if [ -d "$NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/windows" ] ; then
117 if [ "$SYSTEM" = "linux-x86" -a -d "$NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/windows-x86_…
125 if [ "$SYSTEM" = "linux-x86" -a -d "$NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/windows" ] ;…
171 (cd $NDK && \
202 (cd $NDK && \
[all …]
DREADME2 of the NDK. Before making a new NDK release, please run tests/run-tests.sh
8 Run all NDK automated tests. Use --help for more options.
11 Contains tests used to check the NDK build system itself.
14 Contains tests used to check that NDK-generated binaries work properly
Drun-tests.sh434 …run $NDK/$(get_llvm_toolchain_binprefix $DEFAULT_LLVM_VERSION)/clang -shared -target le32-none-ndk…
455 …GCC_TOOLCHAIN_VERSION=`cat $NDK/toolchains/llvm-$DEFAULT_LLVM_VERSION/setup.mk | grep '^TOOLCHAIN_…
456 run mkdir -p $NDK/$GNUSTL_SUBDIR/$GCC_TOOLCHAIN_VERSION/libs/$ABI
457 run mkdir -p $NDK/$GABIXX_SUBDIR/libs/$ABI
458 run mkdir -p $NDK/$LIBPORTABLE_SUBDIR/libs/$ABI
459 run gen_empty_archive $NDK/$GNUSTL_SUBDIR/$GCC_TOOLCHAIN_VERSION/libs/$ABI/libsupc++.a
460 … run gen_empty_archive $NDK/$GNUSTL_SUBDIR/$GCC_TOOLCHAIN_VERSION/libs/$ABI/libgnustl_static.a
461 … run gen_empty_bitcode $NDK/$GNUSTL_SUBDIR/$GCC_TOOLCHAIN_VERSION/libs/$ABI/libgnustl_shared.bc
462 run gen_empty_archive $NDK/$GABIXX_SUBDIR/libs/$ABI/libgabi++_static.a
463 run gen_empty_bitcode $NDK/$GABIXX_SUBDIR/libs/$ABI/libgabi++_shared.bc
[all …]
/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/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/check-armeabi-v7a-prebuilts/
Dbuild.sh219 . $NDK/build/tools/dev-defaults.sh
224 GABIXX_LIBS=$NDK/sources/cxx-stl/gabi++/libs/$ABI
228 STLPORT_LIBS=$NDK/sources/cxx-stl/stlport/libs/$ABI
234 GNUSTL_LIBS=$NDK/sources/cxx-stl/gnu-libstdc++/$VERSION/libs/$ABI
/ndk/tests/build/import-install/
Dbuild.sh8 $NDK/ndk-build "$@"
22 ANDROID_NDK_ROOT=$NDK
23 NDK_BUILDTOOLS_PATH=$NDK/build/tools
/ndk/sources/cpufeatures/
DREADME.TXT1 IMPORTANT: The cpufeatures library has moved to $NDK/sources/android/cpufeatures
5 reference $NDK/source/cpufeatures in their LOCAL_C_INCLUDES definition,
6 but it is DEPRECATED and will be removed in a future NDK release.
/ndk/tests/build/issue64679-prctl/
Dbuild.sh5 export ANDROID_NDK_ROOT=$NDK
7 NDK_BUILDTOOLS_PATH=$NDK/build/tools
8 . $NDK/build/tools/prebuilt-common.sh
/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/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/build/core/
Ddefinitions-tests.mk90 $(info ================= STARTING NDK-BUILD UNIT TESTS =================)\
101 $(info @@@@@@@@@@@ FAILED $(_test_fail_count) of $(_test_count) NDK-BUILD UNIT TESTS @@@@@@@)\
105 $(info =================== PASSED $(_test_count) NDK-BUILD UNIT TESTS =================)\

1234