Hello ,
Currently I have been working on a feature to build gerrit single or chained changes
Ex:
Some makes a change (gerrit patchset update) to frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/MobileSignalController.java
I know just for experience that I need to make SystemUI target to check if that change is going to compile successful .
But I want to automate this somehow, so far I have been using module-info.json to try and find target to build based on the checkout path , but this is not very reliable (since I can pickup extra targets on the same repo/project)
I wonder if anyone here has any insights on that matter or have implemented something similar. If so please do share :D
PS: There is one very cool project called bgraph (
https://pypi.org/project/bgraph/) but relies only on the existence of Android.bp file it works pretty good , but it is limited.
BR,
Paul