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.