mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-22 05:43:02 +00:00
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:
committed by
Thomas Wood
parent
dad4694b00
commit
b8f193bbbf
@@ -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)
|
||||
|
||||
#================#
|
||||
Reference in New Issue
Block a user