summaryrefslogtreecommitdiff
path: root/demos/Android.mk
blob: add24148d3f8e4ad4d766a8caed4bf6ad240f5a2 (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
LOCAL_PATH := $(call my-dir)

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

include $(CLEAR_VARS)

LOCAL_SRC_FILES :=

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_MODULE := intel_sprite_on

LOCAL_MODULE_TAGS := optional

LOCAL_STATIC_LIBRARIES := libintel_gpu_tools

LOCAL_SHARED_LIBRARIES := libdrm

include $(BUILD_EXECUTABLE)

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