简体   繁体   English

android AOSP编译外部源

[英]android AOSP compile external source

I tried to compile a github project with aosp so I put the code into android_7.1_r36/external/githubProject then I runned mm in order to start compilation but ninja: error .... missing and no known rule to make it 我试图用aosp编译github项目,所以我将代码放入android_7.1_r36 / external / githubProject中,然后我运行mm以开始编译,但ninja: error .... missing and no known rule to make it编译

What is the best practice to compile external project that use aosp libraries. 编译使用aosp库的外部项目的最佳实践是什么?

github project i want compile 我想编译的github项目

You would need to make it reachable from another MK that you know is been called. 您需要使它可从另一个您称为调用的MK到达。

Try adding your MODULE in the MK of the device you are lunch ing. 尝试将您的模块添加到您正在吃午餐的设备的MK中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM