run Python script in Android.mk on Android building system

Insert the bellowing line into Android.mk

$(shell python $(LOCAL_PATH)/scripts/myprepare.py)

When running mm command or other command to build your apk, the script myprepare.py will be invoked.

You can copy some files or do any thing python can do. But notice: don't add any print function in your python script.

Comments

Popular posts from this blog

在symbian上随心控制红外线(7) ------ 答疑篇

[FW] Philips RC-MM Protocol

listbox中使用svg图片