I need to add a couple of aar's in system/framework folder to be available by the custom device developers to use in their applications.
I have already managed to compile and include normal JAR files to this folder during AOSP build, but I am having trouble figuring out what needs to be the content of my Android.mk file to copy pre-built aar files to the system/framework.
Already added them in PRODUCT_BOOT_JARS.
Sample of my Android.mk:
include $(CLEAR_VARS)
LOCAL_MODULE := moduleName
LOCAL_SRC_FILES := moduleName.aar
LOCAL_MODULE_CLASS := JAVA_LIBRARIES
LOCAL_MODULE_SUFFIX := .aar
include $(BUILD_PREBUILT)
If I mm in the directory it creates the intermediates correctly but does not copy the result to the final image /system/framework