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 /tegra/Android.mk
parentb069597d8223923cf0c350eb199287c1f880035e (diff)
downloadexternal-libdrm-3e22b16620b443a59a1ad66047f9bbb2a3b6fa13.tar.gz
external-libdrm-3e22b16620b443a59a1ad66047f9bbb2a3b6fa13.tar.xz
external-libdrm-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 'tegra/Android.mk')
-rw-r--r--tegra/Android.mk12
1 files changed, 1 insertions, 11 deletions
diff --git a/tegra/Android.mk b/tegra/Android.mk
index 71476fad..d2a1a59d 100644
--- a/tegra/Android.mk
+++ b/tegra/Android.mk
@@ -2,20 +2,10 @@ LOCAL_PATH := $(call my-dir)
2include $(CLEAR_VARS) 2include $(CLEAR_VARS)
3 3
4LOCAL_MODULE := libdrm_tegra 4LOCAL_MODULE := libdrm_tegra
5LOCAL_MODULE_TAGS := optional
6 5
7LOCAL_SHARED_LIBRARIES := libdrm 6LOCAL_SHARED_LIBRARIES := libdrm
8 7
9LOCAL_SRC_FILES := \ 8LOCAL_SRC_FILES := tegra.c
10 private.h \
11 tegra.c
12LOCAL_EXPORT_C_INCLUDE_DIRS += \
13 $(LOCAL_PATH)/tegra
14
15LOCAL_C_INCLUDES := \
16 $(LIBDRM_TOP) \
17 $(LIBDRM_TOP)/tegra \
18 $(LIBDRM_TOP)/include/drm
19 9
20LOCAL_CFLAGS := \ 10LOCAL_CFLAGS := \
21 -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1 11 -DHAVE_LIBDRM_ATOMIC_PRIMITIVES=1