Hi Sir/Madam,
I am working on a project where multiple interlinked modules are present. I am trying to make it compile.
For example, my directory structure is like below.
Root
|
|---> Android.bp
|
|---> Module1
| |
| |---> Android.bp
| |
| |---> inc
| |
| |---> src
| |
| |---> SubModule
| |
| |---> Android.bp
| |
| |---> inc
| |
| |---> src
|
|---> Module2
| |
| |---> Android.bp
| |
| |---> inc
| |
| |---> src
|
|---> Module3
|
|---> Android.bp
|
|---> inc
|
|---> src
In my case, all three modules linked to each other, so they need to share their header files with each other.
I have tried to use
include_dirs: ["inc", "SubModule/inc", "../Module2/inc", "../Module3/inc"] in the Android.bp of Module1, I got '
module
"MyTestApplication" variant "android_common": Path is outside directory'
Could you please check in to it and give a proper method on how to include these directories to my Makefile.