android: Change tests & tools directory to use the lib directory

Instead of recompiling the lib directory for every tool or tests we can just
re-use the static library. This also has the nice side effect of fixing the
android "mm" command to allow android users to only rebuild the local changes
in either the test or tools directory.

Signed-off-by: Rafael Barbalho <rafael.barbalho@intel.com>
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
This commit is contained in:
Rafael Barbalho
2014-01-31 14:57:40 +00:00
committed by Damien Lespiau
parent bdb08f981c
commit 09bcb0ab4b
4 changed files with 12 additions and 65 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ LOCAL_GENERATED_SOURCES := \
LOCAL_C_INCLUDES += \
$(LOCAL_PATH)/..
LOCAL_EXPORT_C_INCLUDE_DIRS += $(LOCAL_PATH)
LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)
LOCAL_CFLAGS += -DHAVE_LIBDRM_ATOMIC_PRIMITIVES
LOCAL_CFLAGS += -DHAVE_STRUCT_SYSINFO_TOTALRAM