Hello, I am trying to convert Android.mk to Android.bp files here is a sample .mk module
include $(CLEAR_VARS)
LOCAL_MODULE := location.pem
LOCAL_MODULE_OWNER := x
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := ../../.././target/product/msmnile/vendor/etc/location.pem
LOCAL_MODULE_PATH := $(PRODUCT_OUT)/$(TARGET_COPY_OUT_VENDOR)/etc
include $(BUILD_PREBUILT)
when i Convert this to
prebuilt_etc {
name: "location.pem",
owner: "x",
src: "../../.././target/product/msmnile/vendor/etc/location.pem",
proprietary: true,
} it works fine but when included sub_dir inplace of LOCAL_MODULE_PATH I am getting "sub_dir " unrecognized property
How to change LOCAL_MODULE_PATH module descriptor in Android.bp,
Thanks in advance:)