整理了一些跟android编译相关的命令,放在.bashrc中,
function mkf()
{
make clean-framework -j8 && \
mmm frameworks/base/ -j8 && \
adb remount && \
adb push $OUT/system/framework/framework.jar /system/framework/ && \
adb reboot
}
function mkp()
{
make clean-android.policy -j8 && \
mmm frameworks/base/policy -j8 && \
adb remount && \
adb push $OUT/system/framework/android.policy.jar /system/framework/ && \
adb reboot
}
function mkr()
{
make clean-framework-res -j8 && \
mmm frameworks/base/core/res/ -j8 && \
adb remount && \
adb push $OUT/system/framework/framework-res.apk /system/framework/ && \
adb reboot
}
阅读(4345) | 评论(2) | 转发(0) |