This should be done when the whole source tree is already built.
Go in the Android source root dir and launch:
source build/envsetup.sh
Now you are ready to compile sub-packages.
A sub-package can be identified by the presence of an Android.mk file.
Android.mk files are particular makefiles that are interpreted by the Android build system.
If, for example, we want to recompile the SettingsProvider base package we only need to :
- cd frameworks/base/packages/SettingsProvider
- mm -B
Compiled packages will be placed in the out directory, in this case the SettingsProvider.apk file will be placed in your custom /system/app/ folder.
Nessun commento:
Posta un commento