TARGET_ARCH:目标cpu的架构。
TARGET_PLATFORM:目标Android平台的名字,如android-3等。
TARGET_ARCH_ABI:目标cpu和abi的架构的名字。
TARGET_ABI:目标平台和abi的连接,如android-3-armabi-v7 a。
LOCAL_MODULE_FILENAME:重新定义输出文件的名称。
LOCAL_CPP_EXTENSION:默认源文件是c++。
LOCAL_CPP_FEATURES: 指示目标模块使用c++的特征例如rtti,异常等。LOCAL_CPP_FEATURES := rtti
LOCAL_C_INCLUDES:和NDK安装目录相关,寻找相关的头文件。LOCAL_C_INCLUDES := sources/shared-module
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
LOCAL_CFLAGS: 编译器编译时的参数,LOCAL_CFLAGS := − DNDEBUG –DPORT = 1234。
LOCAL_CPP_FLAGS:c++编译时的参数。
LOCAL_WHOLE_STATIC_LIBRARIES:静态库的全部内容被包含在共享库中。
LOCAL_LDLIBS:连接器参数列表,如连接log库LOCAL_LDFLAGS := − llog。
LOCAL_ALLOW_UNDEFINED_SYMBOLS:在产生的文件中不检测丢失的符号。
LOCAL_ARM_MODE:arm模式,这个变量该表整个建立系统行为对于整个模块。这个.arm扩展也能够被用来建立指定的文件在arm模式下。LOCAL_SRC_FILES := file1.c file2.c.arm。
LOCAL_SHORT_COMMANDS: This variable should be set to true for modules with a
very high number of sources or dependent static or shared libraries. Operating
systems like Windows only allow a maximum of 8191 characters on the
command line; this variable makes the build commands shorter than this limit by
breaking them. This is not recommended for smaller modules since enabling it
will make the build slower.
LOCAL_FILTER_ASM: This variable defines the application that will be used to filter
the assembly files from the LOCAL_SRC_FILES.