Commit 790c3469 authored by Simon Morlat's avatar Simon Morlat

add android.mk for the tester part

parent 8b1725be
LOCAL_PATH:= $(call my-dir)/../../src/
include $(CLEAR_VARS)
LOCAL_MODULE:= libbctoolbox_tester
LOCAL_SRC_FILES := \
tester/utils.c
LOCAL_CFLAGS += -Wno-maybe-uninitialized -DIN_CUNIT_SOURCES
LOCAL_C_INCLUDES += \
$(LOCAL_PATH)/ \
$(LOCAL_PATH)/../include \
$(LOCAL_PATH)/../../externals/cunit/CUnit/Headers
include $(BUILD_STATIC_LIBRARY)
...@@ -31,10 +31,17 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. ...@@ -31,10 +31,17 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#endif #endif
#pragma GCC diagnostic ignored "-Wstrict-prototypes" #pragma GCC diagnostic ignored "-Wstrict-prototypes"
#ifndef IN_CUNIT_SOURCES
#include <CUnit/Basic.h> #include <CUnit/Basic.h>
#include <CUnit/Automated.h> #include <CUnit/Automated.h>
#include <CUnit/MyMem.h> #include <CUnit/MyMem.h>
#include <CUnit/Util.h> #include <CUnit/Util.h>
#else
#include "Basic.h"
#include "Automated.h"
#include "MyMem.h"
#include "Util.h"
#endif
#if __clang__ || ((__GNUC__ == 4 && __GNUC_MINOR__ >= 6) || __GNUC__ > 4) #if __clang__ || ((__GNUC__ == 4 && __GNUC_MINOR__ >= 6) || __GNUC__ > 4)
#pragma GCC diagnostic pop #pragma GCC diagnostic pop
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment