ndk
ndk copied to clipboard
The Android Native Development Kit
NDK_CCACHE feature is very effective for build speed. For Mac OS X / Ubuntu, I can easy to install ccache by homebrew / apt. But on windows, I can't find...
### Description **Background** We are exploring [differential flame graphs](https://www.brendangregg.com/blog/2014-11-09/differential-flame-graphs.html) based off of simpleperf data for commit-over-commit performance comparisons. We noticed that frequently our callstacks will be mangled which breaks the...
bash can be successfully built with ndk r21, but can not be built with ndk r22-r23 due to following error: ``` ld: error: duplicate symbol: strchrnul >>> defined at strchrnul.c...
### Description Under NDK the linked Clang issue https://github.com/llvm/llvm-project/issues/58933 is even worse - linking fails (recognizes the warning as error): C/C++: ld: error: call to _ZN2MB2NN6Namespace4ThingIfEC2ERKS3_ marked "dontcall-warn": Don't call...
As discussed on Reddit, here is an improvement idea. Either adopt one of the following C++ JNI libraries: - [cppJNI](https://github.com/nokia/cppJNI) - [JavaCPP](https://github.com/bytedeco/javacpp) - [jni.hpp](https://github.com/mapbox/jni.hpp) Or having a Google provided one...
### Description We want to spend some time improving [the NDK samples](https://github.com/android/ndk-samples), but since we're not app developers and haven't been the owners of that previously, we don't have a...
### Description It's actually trivially easy to use sccache with CMake: ``` find_program(SCCACHE_PATH sccache REQUIRED) set(CMAKE_C_COMPILER_LAUNCHER "${SCCACHE_PATH}") set(CMAKE_C_LINKER_LAUNCHER "${SCCACHE_PATH}") set(CMAKE_CXX_COMPILER_LAUNCHER "${SCCACHE_PATH}") set(CMAKE_CXX_LINKER_LAUNCHER "${SCCACHE_PATH}") ``` Might be worthwhile to build a...
### Description After running `adb root` `adb shell simpleperf boot-record --enable "-a -g --duration 10 --exclude-perf""'` `adb reboot` I can not get the profile data under /data/simpleperf_boot_data. Look likes simpleperf...
### Description I tried to align sp in a shared object with following flags: ``` -mstack-alignment=n // sets the alignment to n bytes -mstackrealign // forces the previous set alignment...
#### Description I started to use r22, and found it generated bigger binary than r21. And I found it show many std::string symbol in the binary. So I need to...