加快Androd 编译!
【2021-09-08】
使用方法
./prebuilts/build-tools/linux-x86/bin/ninja -f out/combined-xxx.ninja 相当于make,xxx为对应的lunch项,
示例
编译Settings
./prebuilts/build-tools/linux-x86/bin/ninja -f out/combined-xxx.ninja Settings -j32
编译selinux
./prebuilts/build-tools/linux-x86/bin/ninja -f out/combined-xxx.ninja selinux_policy -j32
编译Framework
./prebuilts/build-tools/linux-x86/bin/ninja -f out/combined-xxx.ninja framework -j32
全编译
./prebuilts/build-tools/linux-x86/bin/ninja -f out/combined-xxx.ninja -j32 2>&1 |tee ninja_build.log
WIFI-service
./prebuilts/build-tools/linux-x86/bin/ninja -f out/combined-xxx.ninja com.android.wifi -j16
posted on 2021-09-08 17:53 huangguanyuan 阅读(321) 评论(0) 编辑 收藏 举报