1 # A small sample used to demonstrate static C++ destructors 2 LOCAL_PATH := $(call my-dir) 3 4 include $(CLEAR_VARS) 5 LOCAL_MODULE := libtest1 6 LOCAL_SRC_FILES := libtest1.cpp 7 include $(BUILD_SHARED_LIBRARY) 8 9 include $(CLEAR_VARS) 10 LOCAL_MODULE := test_dlclose_destruction 11 LOCAL_SRC_FILES := main.c 12 include $(BUILD_EXECUTABLE) 13