Effect of Local_module_class on Local_module_path in android.mk

Source: Internet
Author: User

The path where Local_module_class is used to make local_module_path. If the android.mk does not have a direct explicit local_module_path, the following rules are required to generate the BASE_RULES.MK automatically:
154 Local_module_path: = $ (Strip $ (local_module_path)) 155 ifeq ($ (Local_module_path),) 156         #LOCAL_MODULE_CLASS: = 157   Local_module_path: = $ ($ (My_prefix) out$ (Partition_tag) _$ (local_module_class)) 158   $ (Info *******////// $ (Local_module_path)) 159 ifeq ($ (Strip $ (Local_module_path)),)     $ (Error $ (local_path): unhandled Local_ Module_class "$ (local_module_class)") 161   endif162 endif


In different android.mk files, for the module include () different compilation type options, such as the library or app,execut in the call to the corresponding processing of the Mk file, the default is to specify the value of the current Local_module_class, such as executables, shared_libraries and so on. So the android.mk you write does not show the value of the specified local_module_class.However, when you encounter a precompiled option that include $ (build_prebuilt), you do not specify the type class for the module module's compiled output, and you need to explicitly specify Local_module_class values in the android.mk you write, such as etc/ App, so that its value is non-null, which helps the system determine the path to the Local_module_path, such as the final compiled output Local_module_path: = $ (TARGRT_OUT_ETC).

Effect of Local_module_class on Local_module_path in android.mk

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.