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
Rob Herring 2017-03-22 14:05:24 -05:00 committed by Emil Velikov
parent 7b806e8789
commit c4d673acdc
2 changed files with 4 additions and 0 deletions

View File

@ -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

View File

@ -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)