Small write names, such as My-Dir, build systems are also used.The name starting with private_, ndk_, and app_ will be used by the architecture system.Variable name starting with local_, such as Local_Module.It is best not to use the variable name.Include $(BUILD_SHARED_LIBRARY) # Statement to build shared library files LOCAL_SRC_FILES :=hello-jni.c # Declare the file to be built LOCAL_MODULE :=hello-jni # Declaring module name Include $(CLEAR_VARS) # System script containing clear variables LOCAL_PATH := $( call my-dir ) # Set project catalog This script defines building a rule and build a target, which is to build a static library, dynamic library, or build an executable.Īlso definition and export items simultaneously. Ndk-build Build tools need to use : Android.mk with Application.mk 1.4.2 Android.mkBuilding rule script Ndk-build Optional parameters Reference page :Ĭonstruction designation project Project in the directory Make Building tool -f\/build/core/build-local.mk\Ĭommand line call : Run in the build directory ndk-build script Introduction : Construct ndk Engineering tool, Is a series of series make Scripting packaging A packaging script that cannot be used under Windows.Building a tool chain for the target file, contains the LLVM toolchain and linker and library files for different platforms.Source files and build directory of certain third-party libraries.It should be used for NDK-GDB scripts, which do not work temporarily. Some tools to be written in Python, including ADB, Fastboot, GDBRunner three tooltles.In Linux Under the system, this directory may be a fake soft connection, but in the Windows directory is not. The folder, in which each file contains different Android repository, both correspondence, but you need to use the system library under Platforms when link, so this folder cannot be deleted as the false sysroot directory. In the sysroot directory of the Toolchain's LLVM folder, there is a lib directory, which is set to set files in different CPU architectures. For link libraries corresponding to different Android versions, each of which has different corresponding library files under each different ABI series.For some data configuration, such as supported ABI, supported platforms, some system libraries version.Similar to the Clear_vars script is in it. The main build script is located, including the construction of the main rules.Pre-built debuggers, there is a remote debugging of different Android target ABIs.In the LLVM, it contains the sysroot directory, which contains real sysroot.ĭirectory, the sysroot directory in this directory is just the sysroot in the LLVM directory. ![]() In the Toolchains file, there is a real build toolchain, ![]() In the root of NDK, you should include a sysroot directory, but.Select when commissioning ABI And debugging tools ( Discard) ![]() Pre-establishment, Mainly used for remote debuggingĭifferent build toolchains for different platforms
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |