demos/intel_sprite_on: Added support to compile intel_sprite_on on Android.

Added Android.mk for intel_sprite_on.

v2: Addressed review comments by Daniel Vetter.
    - Moved the cairo independent functions from igt_kms.c to igt_aux.c.

Signed-off-by: Gagandeep S Arora <gagandeep.s.arora@intel.com>
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
This commit is contained in:
Gagandeep S Arora
2014-11-13 23:42:46 +05:30
committed by Thomas Wood
parent dad4694b00
commit b8f193bbbf
4 changed files with 88 additions and 55 deletions
+27
View File
@@ -0,0 +1,27 @@
LOCAL_PATH := $(call my-dir)
#================#
include $(CLEAR_VARS)
LOCAL_SRC_FILES := intel_sprite_on.c
LOCAL_CFLAGS += -DHAVE_TERMIOS_H
LOCAL_CFLAGS += -DANDROID -UNDEBUG
LOCAL_CFLAGS += -std=c99
# 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)
#================#