Trouble in using include_dirs / local_include_dirs / export_include_dirs in Android.bp

1,038 views
Skip to first unread message

Shakir Mohammed

unread,
May 30, 2019, 12:22:08 AM5/30/19
to Android Building
Hi,
I have tried to combile set of inter-related modules with different Andorid.bp files which are present inside different directories. I have initially created Android.mk and converted it to Android.bp using androidmk tool. It converted LOCAL_INCLUDE_DIRS to include_dirs in Android.bp. But while performing mmm to that directory, am getting "module "MyTestApplication" variant "android_common": Path is outside directory" for most of the modules, irrespective of whether it is C/C++ or Java.

How can I selectively compile a module, say my module name is "ABCD" which doesn't have any other dependancy on my other modules. Can I use "make ABCD"?, but why it is building all other modules?. My modules are present inside <AOSP>/vendor/<vendor>/ABCD/Android.bp.
Reply all
Reply to author
Forward
0 new messages