Android: fix building of modetest and proptest
These tests depend on tests/util/ headers, but expect the include path to be tests/. Signed-off-by: Rob Herring <robh@kernel.org> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>main
parent
7b806e8789
commit
c4d673acdc
|
@ -24,6 +24,8 @@
|
||||||
LIBDRM_COMMON_MK := $(call my-dir)/Android.common.mk
|
LIBDRM_COMMON_MK := $(call my-dir)/Android.common.mk
|
||||||
|
|
||||||
LOCAL_PATH := $(call my-dir)
|
LOCAL_PATH := $(call my-dir)
|
||||||
|
LIBDRM_TOP := $(LOCAL_PATH)
|
||||||
|
|
||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
|
|
||||||
# Import variables LIBDRM_{,H_,INCLUDE_H_,INCLUDE_VMWGFX_H_}FILES
|
# Import variables LIBDRM_{,H_,INCLUDE_H_,INCLUDE_VMWGFX_H_}FILES
|
||||||
|
|
|
@ -32,5 +32,7 @@ LOCAL_SHARED_LIBRARIES := libdrm
|
||||||
|
|
||||||
LOCAL_SRC_FILES := $(UTIL_FILES)
|
LOCAL_SRC_FILES := $(UTIL_FILES)
|
||||||
|
|
||||||
|
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LIBDRM_TOP)/tests
|
||||||
|
|
||||||
include $(LIBDRM_COMMON_MK)
|
include $(LIBDRM_COMMON_MK)
|
||||||
include $(BUILD_STATIC_LIBRARY)
|
include $(BUILD_STATIC_LIBRARY)
|
||||||
|
|
Loading…
Reference in New Issue