summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2016-07-05 15:21:18 -0500
committerEmil Velikov <emil.l.velikov@gmail.com>2016-07-06 16:58:38 +0100
commitd342cd34ac871b29cab709b72e9f1db1ded7e7bb (patch)
tree159e5cd1e0bfbf5fea6d73609b76c7e7e95dd4b9 /tests
parent7996a8707eacd59a45e7128a543393dca2776e26 (diff)
downloadlibdrm-d342cd34ac871b29cab709b72e9f1db1ded7e7bb.tar.gz
libdrm-d342cd34ac871b29cab709b72e9f1db1ded7e7bb.tar.bz2
libdrm-d342cd34ac871b29cab709b72e9f1db1ded7e7bb.zip
Android: strip out header files from sources list
AOSP master now errors if LOCAL_SRC_FILES contains headers, so filter out header files from the source lists. Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/modetest/Android.mk2
-rw-r--r--tests/proptest/Android.mk2
-rw-r--r--tests/util/Android.mk2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/modetest/Android.mk b/tests/modetest/Android.mk
index e616558f..6a7f4069 100644
--- a/tests/modetest/Android.mk
+++ b/tests/modetest/Android.mk
@@ -3,7 +3,7 @@ LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
include $(LOCAL_PATH)/Makefile.sources
-LOCAL_SRC_FILES := $(MODETEST_FILES)
+LOCAL_SRC_FILES := $(patsubst %.h, , $(MODETEST_FILES))
LOCAL_MODULE := modetest
diff --git a/tests/proptest/Android.mk b/tests/proptest/Android.mk
index d0ab5c92..badeb588 100644
--- a/tests/proptest/Android.mk
+++ b/tests/proptest/Android.mk
@@ -3,7 +3,7 @@ LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
include $(LOCAL_PATH)/Makefile.sources
-LOCAL_SRC_FILES := $(PROPTEST_FILES)
+LOCAL_SRC_FILES := $(patsubst %.h, , $(PROPTEST_FILES))
LOCAL_MODULE := proptest
diff --git a/tests/util/Android.mk b/tests/util/Android.mk
index 73bc6805..1bd82aec 100644
--- a/tests/util/Android.mk
+++ b/tests/util/Android.mk
@@ -31,7 +31,7 @@ LOCAL_MODULE_TAGS := optional
LOCAL_SHARED_LIBRARIES := libdrm
-LOCAL_SRC_FILES := $(UTIL_FILES)
+LOCAL_SRC_FILES := $(patsubst %.h, , $(UTIL_FILES))
# avoid name clashes by requiring users to include util/*.h
LOCAL_EXPORT_C_INCLUDE_DIRS := $(dir $(LOCAL_PATH))