1 # This file is dual licensed under the MIT and the University of Illinois Open 2 # Source Licenses. See LICENSE.TXT for details. 3 4 LOCAL_PATH := $(call my-dir) 5 6 include $(CLEAR_VARS) 7 LOCAL_MODULE := test_1_shared 8 LOCAL_SRC_FILES := test_1.cc 9 LOCAL_SHARED_LIBRARIES := libc++_shared 10 include $(BUILD_EXECUTABLE) 11 12 13 include $(CLEAR_VARS) 14 LOCAL_MODULE := test_1_static 15 LOCAL_SRC_FILES := test_1.cc 16 LOCAL_STATIC_LIBRARIES := libc++_static 17 LOCAL_LDFLAGS := -Wl,-gc-sections 18 include $(BUILD_EXECUTABLE) 19 20 include $(LOCAL_PATH)/../Android.mk 21