Lines Matching +full:setup +full:- +full:ndk
1 # NDK Bisection tool
3 This is an example bisection for an NDK build system. This example specifically
4 bisects the sample NDK Teapot app. All steps (setup and otherwise) for bisection
6 process required to bisect a compiler problem in an arbitrary NDK app build
9 There are three necessary setup steps to run this example:
11 1. Install the NDK (known to work with r12b)
13 1. See here for NDK: https://developer.android.com/ndk/index.html
14 2. Go here for older NDK downloads: https://github.com/android-ndk/ndk/wiki
19 1. Essentially you must go into the NDK source (or where you build system
24 2. If you're using the toolchains that come with the NDK they live at:
27 `<ndk_path>/toolchains/llvm/prebuilt/linux-x86_64/bin/clang`
39 `PATCH1` - This is the necessary changes to the build system to make the
47 `PATCH2` - This patch is what inserts the "compiler error". This is a simple
54 If we want to bisect for an x86-64 device we first need to provide a arch
58 create("x86-64") {
59 ndk.abiFilters.add("x86_64")
64 build flavor is in (see PATCH1). Now we should have the "installx86-64Debug"
65 task in our build system. We can use this to build and install an x86-64
70 ./gradlew installx86-64Debug