For details about options in Android. mk, see build/CORE/config. mk and build/CORE/base_rules.mk.
Template:
#######################################
Local_path: = $ (call my-DIR)
Include $ (clear_vars)
Local_src_files: = $ (call all-Java-files-under, Src)
# Aidl
# Local_src_files + = Core/Java/seuic/hardware/ABCD. aidl
# Library
# Local_module_class: = java_libraries
# Local_java_libraries: = Android. Policy
Local_static_java_libraries: = com. Android. libs
Local_package_name: = ABC
Local_module_path: = $ (target_out_data_apps)
Include $ (build_package)
#######################################
Several important
Local_src_files: source file path
Local_static_java_libraries: The connected static library
Local_module_path: target path of the module
Local_unstripped_path: target path without being stripped by symbols
Target_root_out: root file system, path: Out/target/product/generic/root
Target_out: System File System, path: Out/target/product/generic/System
Target_out_data: data file system, path: Out/target/product/generic/Data
The default value is target_out.
All_prebuilt:
$ (Call all-Java-files-under, Src)
$ (Call WMT-all-files-under, Src)
$ (Addprefix ABC, d)