Android: add initial support for Android build
[glsdk/omapdrmtest.git] / Android.mk
1 LOCAL_PATH:= $(call my-dir)
3 #################### v4l2capturedisplay #######################################
4 include $(CLEAR_VARS)
6 LOCAL_C_INCLUDES += \
7         $(LOCAL_PATH) \
8         $(LOCAL_PATH)/util \
9         external/libdrm \
10         external/libdrm/omap \
11         external/libdrm/include/drm
13 LOCAL_SRC_FILES:= \
14         v4l2capturedisplay.c \
15         util/display-kms.c \
16         util/util.c
18 LOCAL_SHARED_LIBRARIES:= libdrm libdrm_omap libcutils
19 LOCAL_MODULE:= v4l2capturedisplay
20 LOCAL_MODULE_TAGS:= eng
21 include $(BUILD_EXECUTABLE)
23 #################### dmabuftest ###############################################
25 include $(CLEAR_VARS)
27 LOCAL_C_INCLUDES += \
28         $(LOCAL_PATH) \
29         $(LOCAL_PATH)/util \
30         external/libdrm \
31         external/libdrm/omap \
32         external/libdrm/include/drm
34 LOCAL_SRC_FILES:= \
35         dmabuftest.c \
36         util/v4l2.c \
37         util/display-kms.c \
38         util/util.c
40 LOCAL_SHARED_LIBRARIES:= libdrm libdrm_omap libcutils
41 LOCAL_MODULE:= dmabuftest
42 LOCAL_MODULE_TAGS:= eng
43 include $(BUILD_EXECUTABLE)
45 ###############################################################################