diff options
author | Christopher Ferris <cferris@google.com> | 2013-07-15 21:59:24 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2013-07-15 21:59:25 +0000 |
commit | d59625d4af9d653748c166d958b0173e997f1143 (patch) | |
tree | 81be9026e1ecd74291ecd1084b3858235ff40968 | |
parent | 6ef2ec1f1a879c9f3bd329108788072d8cc6a637 (diff) | |
parent | 4052fe181a499f52729b7178f11ae91212823682 (diff) | |
download | extras-d59625d4af9d653748c166d958b0173e997f1143.tar.gz |
Merge "Add a static version of the test."
-rw-r--r-- | libc_test/Android.mk | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/libc_test/Android.mk b/libc_test/Android.mk index 78ebfb3c..296b087d 100644 --- a/libc_test/Android.mk +++ b/libc_test/Android.mk @@ -1,11 +1,13 @@ # Copyright 2013 The Android Open Source Project LOCAL_PATH:= $(call my-dir) + +src_files = \ + main.cpp \ + include $(CLEAR_VARS) LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES) -# Add any strcmp or memcpy implementation files below. -LOCAL_SRC_FILES:= \ - main.cpp \ +LOCAL_SRC_FILES:= $(src_files) LOCAL_MODULE := libc_test LOCAL_MODULE_TAGS := debug @@ -15,3 +17,19 @@ LOCAL_ASFLAGS := -mthumb endif # arm include $(BUILD_EXECUTABLE) + +include $(CLEAR_VARS) + +LOCAL_SRC_FILES := $(src_files) + +LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES) +LOCAL_MODULE_TAGS := debug +LOCAL_MODULE := libc_test_static +LOCAL_STATIC_LIBRARIES := libc libm +LOCAL_FORCE_STATIC_EXECUTABLE := true + +ifeq ($(TARGET_ARCH),arm) +LOCAL_ASFLAGS := -mthumb +endif # arm + +include $(BUILD_EXECUTABLE) |