Android. mk

Source: Internet
Author: User

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)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.