How to build Module for Platform
- It is only for modules are needed to using Android build system.
- Please check its own install information under its folder for other module.
[Step to build]
-
Get android open source. : version info - Android 6.0.1 ( Download site : http://source.android.com )
-
Copy module that you want to build - to original android open source If same module exist in android open source, you should replace it. (no overwrite)
- You should add module name to 'PRODUCT_PACKAGES' in 'build\target\product\core.mk' as following case. case 1) e2fsprog : should add 'e2fsck','resize2fs' to PRODUCT_PACKAGES case 2) libexifa : should add 'libexifa' to PRODUCT_PACKAGES case 3) libjpega : should add 'libjpega' to PRODUCT_PACKAGES case 4) KeyUtils : should add 'libkeyutils' to PRODUCT_PACKAGES
ex.) [build\target\product\core.mk] - add below module name
PRODUCT_PACKAGES +=
e2fsck
blkid
resize2fs
PRODUCT_PACKAGES +=
libexif
libexifa
libjpega \
PRODUCT_PACKAGES +=
libkeyutils
#libdmverity_hashgen
PRODUCT_PACKAGES +=
dm_verity_hash
-
excute build command make -j64
-
Note : To download the source code of S/W listed below, please visit http://opensource.samsung.com and find ¡ÆMobile -> Mobile Application" menu, and then, you will be able to download what you want. You might save time in finding the right one by making use of the search keyword below.
- SBrowser_4_LATEST.apk : "SBrowser"
- SecEmail_M.apk : "Email"
- VoiceNote_4.0.apk: "VoiceNote_4.0.apk"