1 LOCAL_PATH := $(call my-dir) 2 3 include $(CLEAR_VARS) 4 LOCAL_MODULE := libfoo 5 LOCAL_SRC_FILES := $(PREBUILTS_DIR)/libs/*$(TARGET_ARCH_ABI)/libfoo.so 6 include $(PREBUILT_SHARED_LIBRARY) 7 8 include $(CLEAR_VARS) 9 LOCAL_MODULE := libbar 10 LOCAL_SRC_FILES := $(PREBUILTS_DIR)/obj/local/*$(TARGET_ARCH_ABI)/libbar.a 11 include $(PREBUILT_STATIC_LIBRARY) 12 13 include $(CLEAR_VARS) 14 LOCAL_MODULE := test_prebuilts_copy 15 LOCAL_SRC_FILES := main.c 16 LOCAL_SHARED_LIBRARIES := libfoo 17 LOCAL_STATIC_LIBRARIES := libbar 18 include $(BUILD_EXECUTABLE) 19