diff options
author | Christopher Ferris <cferris@google.com> | 2013-07-16 23:30:05 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2013-07-16 23:30:05 +0000 |
commit | 23062f994c2181d5de4f6f5b764c83d613465bba (patch) | |
tree | 1416e9fa388bb3df812953ea0c05b574f95c96a7 | |
parent | d8f4bfc728c95bcd4df4f0ea35d43246d2d26af0 (diff) | |
parent | 40dc6354b1b543be50106ae0d7e6c748daea3828 (diff) | |
download | extras-23062f994c2181d5de4f6f5b764c83d613465bba.tar.gz |
Merge "Add a static version of the test."jb-mr1.1-dev-plus-aosp
-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) |