summaryrefslogtreecommitdiff
path: root/demos/Android.mk
blob: 1f50fdcb7e82669c4b9883484a46db612bfae030 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
LOCAL_PATH := $(call my-dir)

#================#

include $(CLEAR_VARS)

LOCAL_SRC_FILES := $(demos_prog_lists)

ifeq ($(HAVE_LIBDRM_INTEL),true)
    LOCAL_SRC_FILES += $(LIBDRM_INTEL_BIN)
endif

LOCAL_CFLAGS += -DHAVE_TERMIOS_H
LOCAL_CFLAGS += -DANDROID -UNDEBUG
LOCAL_CFLAGS += -std=gnu99
# Excessive complaining for established cases. Rely on the Linux version warnings.
LOCAL_CFLAGS += -Wno-sign-compare

LOCAL_C_INCLUDES = $(LOCAL_PATH)/../lib \
                   $(LOCAL_PATH)/../lib/stubs/drm/

LOCAL_MODULE := intel_sprite_on

LOCAL_MODULE_TAGS := optional

LOCAL_STATIC_LIBRARIES := libintel_gpu_tools

LOCAL_SHARED_LIBRARIES := libdrm

include $(BUILD_EXECUTABLE)

#================#