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 /rockchip
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 'rockchip')
-rw-r--r--rockchip/Android.mk8
1 files changed, 0 insertions, 8 deletions
diff --git a/rockchip/Android.mk b/rockchip/Android.mk
index 91c72d5d..05d421e2 100644
--- a/rockchip/Android.mk
+++ b/rockchip/Android.mk
@@ -2,18 +2,10 @@ LOCAL_PATH := $(call my-dir)
2include $(CLEAR_VARS) 2include $(CLEAR_VARS)
3 3
4LOCAL_MODULE := libdrm_rockchip 4LOCAL_MODULE := libdrm_rockchip
5LOCAL_MODULE_TAGS := optional
6 5
7LOCAL_SHARED_LIBRARIES := libdrm 6LOCAL_SHARED_LIBRARIES := libdrm
8 7
9LOCAL_SRC_FILES := rockchip_drm.c 8LOCAL_SRC_FILES := rockchip_drm.c
10LOCAL_EXPORT_C_INCLUDE_DIRS += \
11 $(LOCAL_PATH)/rockchip
12
13LOCAL_C_INCLUDES := \
14 $(LIBDRM_TOP) \
15 $(LIBDRM_TOP)/rockchip \
16 $(LIBDRM_TOP)/include/drm
17 9
18LOCAL_CFLAGS := \ 10LOCAL_CFLAGS := \
19 -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1 11 -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1