1 # Copyright 2013 The Android Open Source Project 2 LOCAL_PATH:= $(call my-dir) 3 4 src_files = \ 5 main.cpp \ 6 7 include $(CLEAR_VARS) 8 9 LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES) 10 LOCAL_SRC_FILES:= $(src_files) 11 12 LOCAL_MODULE := libc_test 13 LOCAL_MODULE_TAGS := debug 14 15 ifeq ($(TARGET_ARCH),arm) 16 LOCAL_ASFLAGS := -mthumb 17 endif # arm 18 19 include $(BUILD_EXECUTABLE) 20 21 include $(CLEAR_VARS) 22 23 LOCAL_SRC_FILES := $(src_files) 24 25 LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES) 26 LOCAL_MODULE_TAGS := debug 27 LOCAL_MODULE := libc_test_static 28 LOCAL_STATIC_LIBRARIES := libc libm 29 LOCAL_FORCE_STATIC_EXECUTABLE := true 30 31 ifeq ($(TARGET_ARCH),arm) 32 LOCAL_ASFLAGS := -mthumb 33 endif # arm 34 35 include $(BUILD_EXECUTABLE) 36