Android 5.1 Source code, compile-related files are generally in the build directory
Build/target/product put a lot of MK files, generally different products will have different catalogs
Suppose I don't want to compile Openwnn, grep "Openwnn" in the build directory
Target/product/full_base.mk
Target/product/sdk_base.mk
Enter these two documents and delete the two sentences and the relevant libraries:
Product_packages: = libfwdlockengine Wappushmanager
Remove the Out directory or just delete the relevant files
Re-compile can
In full_base.mk , you have the following content
Product_packages: =+ = livewallpaperspicker noisefield phasebeam visualizationwallpapers PhotoTable ......
There are so many packages in sdk_base.mk .
There are so many packagesproduct_packages in sdk_base.mk:= Dialer Gallery Mms Music systemui ......
Do not want to compile which, delete that is. In the corresponding product MK file, make sure that you do not have this module
But some places may call these apps. If a module is not compiled, and the system has a
, it is likely that there will be a pop-up window warning. For example, "SMS" has stopped working.
ADB shell
[Email Protected]_name:/system/app # RM-RF Mms
Delete SMS app from machine, need root permission
In Android to pay attention to grammar,-RF can not write on the last side of Android does not compile a module
Android does not compile a module