commit | 8925394b706a79de743455ee8f8ffdf8af8f335b | [log] [tgz] |
---|---|---|
author | Haibo Huang <hhb@google.com> | Tue Feb 09 17:13:16 2021 -0800 |
committer | Haibo Huang <hhb@google.com> | Tue Feb 23 21:38:29 2021 +0000 |
tree | 35d9a58bf78ff94e7459a245df0f9bbf4d3bcb0b | |
parent | 1dfa937c080b229b932b7fd9025fbf7beb0b1083 [diff] |
Remove googletest docs The real docs are moved to top level directory. Change-Id: I1c8f1fae7f6b1303f213180c36770184478de521
The latest version of this document is available at https://android.googlesource.com/platform/ndk/+/master/README.md.
Note: This document is for developers of the NDK, not developers that use the NDK.
The NDK allows Android application developers to include native code in their Android application packages, compiled as JNI shared libraries.
This page provides an overview of what is contained in the NDK. For information on building or testing the NDK, the roadmap, or other information, see the navigation bar at the top of this page, or the docs directory.
The NDK components can be loosely grouped into host toolchains, target prebuilts, build systems, and support libraries.
For more information, see the Build System Maintainers guide.
While the NDK is primarily a toolchain for building Android code, the package also includes some build system support.
First, $NDK/build/core
contains ndk-build. This is the NDK's home grown build system. The entry point for this build system is $NDK/build/ndk-build
(or $NDK/build/ndk-build.cmd
).
A CMake toolchain file is included at $NDK/build/cmake/android.toolchain.cmake
. This is separate from CMake's own support for the NDK.
$NDK/build/tools/make_standalone_toolchain.py
is a tool which can create a redistributable toolchain that targets a single Android ABI and API level. As of NDK r19 it is unnecessary, as the installed toolchain may be invoked directly, but it remains for compatibility.
Since the Android Gradle plugin is responsible for both Java and native code, is not included as part of the NDK.
sources/android
and sources/third_party
contain modules that can be used in apps (gtest, cpufeatures, native_app_glue, etc) via $(call import-module,$MODULE)
in ndk-build. CMake modules are not yet available.