How to change package name and build only geckoview aar?

Hi,
I’m building custom browser with geckoview. I want to change geckoview package name and build only geckoview aar.

You can’t change GeckoView’s package name or officially build a custom standalone AAR. GeckoView is tightly tied to Firefox’s build system—customization is supported only at the app level unless you fork and maintain the full Gecko source.