Current location - Quotes Website - Personality signature - The function of projectconfig. Mk file
The function of projectconfig. Mk file
This variable is used to give the path of the current file. You have to define it at the beginning of Androidmk, and this variable will not be cleared by drawing and CLEARVARS, so every Android needs to be defined once even if you define several modules in a file.

Working under MTK platform, many things only need to be configured. Because MTK is perfect, various tools have various configuration files, so many times we need to know what has been modified behind these tools and how to realize it.

Transfer switch

Sometimes some switches are often used in Android to control the functional modules that need to be compiled. In the ProjectConfigmk file, you can define such macro variables as only yes and no, and get the value of this macro in java and other files to judge whether a specific module needs to be compiled. Note that if the value of the macro added is nononealse, the macro will not be defined and added to the system regardless of case. If the value is yes, it will be defined.