diff options
author | Dan Willemsen | 2016-01-25 18:48:52 -0600 |
---|---|---|
committer | Dan Willemsen | 2016-01-25 19:10:29 -0600 |
commit | 3e22b16620b443a59a1ad66047f9bbb2a3b6fa13 (patch) | |
tree | 0c15acb61f7bce70b77c08ab55414d4b1e1c43ad /tests/modetest | |
parent | b069597d8223923cf0c350eb199287c1f880035e (diff) | |
download | external-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.mk | 4 |
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) | |||
3 | include $(CLEAR_VARS) | 3 | include $(CLEAR_VARS) |
4 | include $(LOCAL_PATH)/Makefile.sources | 4 | include $(LOCAL_PATH)/Makefile.sources |
5 | 5 | ||
6 | LOCAL_SRC_FILES := $(MODETEST_FILES) | 6 | LOCAL_SRC_FILES := $(filter-out %.h,$(MODETEST_FILES)) |
7 | 7 | ||
8 | LOCAL_MODULE := modetest | 8 | LOCAL_MODULE := modetest |
9 | 9 | ||
10 | LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/libdrm | ||
11 | |||
12 | LOCAL_SHARED_LIBRARIES := libdrm | 10 | LOCAL_SHARED_LIBRARIES := libdrm |
13 | 11 | ||
14 | include $(BUILD_EXECUTABLE) | 12 | include $(BUILD_EXECUTABLE) |