summaryrefslogtreecommitdiff
path: root/Android.mk
diff options
context:
space:
mode:
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2017-08-23 20:29:24 +0200
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2017-08-23 20:29:24 +0200
commit8912bd593db027797f77cd8d40e6deaa4d520442 (patch)
tree6de6c57164414ee08b6c7b211d121161bf3c388c /Android.mk
Import of Rockchip Android 7.1.1 SDKHEADmaster
Diffstat (limited to 'Android.mk')
-rwxr-xr-xAndroid.mk51
1 files changed, 51 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
new file mode 100755
index 0000000..843064f
--- /dev/null
+++ b/Android.mk
@@ -0,0 +1,51 @@
+LOCAL_PATH := $(call my-dir)
+
+#
+# libiep.so
+#
+include $(CLEAR_VARS)
+
+LOCAL_SRC_FILES := \
+ iep_api.cpp
+
+LOCAL_CFLAGS := \
+ $(CFLAGS) \
+ -Wall \
+ -Wextra \
+ -DLOG_TAG=\"libiep\"
+
+LOCAL_C_INCLUDES += $(TOP)/hardware/libhardware/include
+LOCAL_LDFLAGS := \
+ -Wl,-z,defs
+
+LOCAL_SHARED_LIBRARIES := \
+ libcutils
+
+LOCAL_MODULE := libiep
+LOCAL_MODULE_TAGS := optional
+LOCAL_PRELINK_MODULE := false
+
+include $(BUILD_SHARED_LIBRARY)
+
+#
+# iep_func_test
+#
+include $(CLEAR_VARS)
+
+LOCAL_SRC_FILES := \
+ iep_func_test.cpp
+
+#LOCAL_C_INCLUDES += kernel/include
+
+LOCAL_SHARED_LIBRARIES := \
+ libcutils \
+ libiep \
+ libvpu
+
+#LOCAL_LDLIBS += -lpthread
+
+LOCAL_MODULE := iep_func_test
+LOCAL_MODULE_TAGS := optional tests
+LOCAL_PRELINK_MODULE := false
+
+#include $(BUILD_EXECUTABLE)