1 # This is a trivial shared library that will be imported 2 # by the main project's binary. Note that it imports 3 # another library 4 # 5 LOCAL_PATH := $(call my-dir) 6 7 include $(CLEAR_VARS) 8 LOCAL_MODULE := libpath1 9 LOCAL_SRC_FILES := path1.c 10 LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH) 11 LOCAL_SHARED_LIBRARIES := libpath2 12 include $(BUILD_SHARED_LIBRARY) 13 14 $(call import-module,path2) 15