Add custom.xml file to AOSP etc folder
I wanted to add a resource file/ xml file to etc folder in AOSP. I would like to have my resource file available just like platform.xml file. So I basically added my xml file in AOSP/frameworks/base/data/etc folder and correspondingly added the following lines in the make file Android.mk ######################## include $(CLEAR_VARS) LOCAL_MODULE := custom.xml LOCAL_MODULE_TAGS := optional LOCAL_MODULE_CLASS := ETC # This will install the file in /system/etc/permissions # LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/permissions LOCAL_SRC_FILES := $(LOCAL_MODULE) include $(BUILD_PREBUILT) EDIT With