aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Willemsen2016-01-25 18:48:52 -0600
committerDan Willemsen2016-01-25 19:10:29 -0600
commit3e22b16620b443a59a1ad66047f9bbb2a3b6fa13 (patch)
tree0c15acb61f7bce70b77c08ab55414d4b1e1c43ad /tests/modetest
parentb069597d8223923cf0c350eb199287c1f880035e (diff)
downloadexternal-libgbm-3e22b16620b443a59a1ad66047f9bbb2a3b6fa13.tar.gz
external-libgbm-3e22b16620b443a59a1ad66047f9bbb2a3b6fa13.tar.xz
external-libgbm-3e22b16620b443a59a1ad66047f9bbb2a3b6fa13.zip
Remove headers from LOCAL_SRC_FILES
The build system does not use headers in LOCAL_SRC_FILES. To prevent typos, it's becoming a warning to add something to LOCAL_SRC_FILES that is not used. Since these lists are coming from file shared with other Makefile systems, use filter-out to do this dynamically. Once we move to Soong, we will need our own lists though - Soong cannot read makefiles. Remove LOCAL_EXPORT_C_INCLUDE_DIR entries that do not exist. Also clean up LOCAL_C_INCLUDES -- with LOCAL_EXPORT_C_INCLUDE_DIRS and the default $(LOCAL_PATH) entry, most were not necessary. Remove LOCAL_MODULE_TAGS := optional, that's the default. Change-Id: I2d77814eb227371da2945f6aede671d9f66d7b09
Diffstat (limited to 'tests/modetest')
-rw-r--r--tests/modetest/Android.mk4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/modetest/Android.mk b/tests/modetest/Android.mk
index aee35649..6507b48b 100644
--- a/tests/modetest/Android.mk
+++ b/tests/modetest/Android.mk
@@ -3,12 +3,10 @@ LOCAL_PATH := $(call my-dir)
3include $(CLEAR_VARS) 3include $(CLEAR_VARS)
4include $(LOCAL_PATH)/Makefile.sources 4include $(LOCAL_PATH)/Makefile.sources
5 5
6LOCAL_SRC_FILES := $(MODETEST_FILES) 6LOCAL_SRC_FILES := $(filter-out %.h,$(MODETEST_FILES))
7 7
8LOCAL_MODULE := modetest 8LOCAL_MODULE := modetest
9 9
10LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/libdrm
11
12LOCAL_SHARED_LIBRARIES := libdrm 10LOCAL_SHARED_LIBRARIES := libdrm
13 11
14include $(BUILD_EXECUTABLE) 12include $(BUILD_EXECUTABLE)