summaryrefslogtreecommitdiffstats
path: root/libtiutils
diff options
context:
space:
mode:
authorDaniel Levin <dendy@ti.com>2012-07-17 19:29:18 -0500
committerDaniel Levin <dendy@ti.com>2012-07-25 09:29:10 -0500
commitfddffc0e17fd77484b936fb6e1425e57145f6a48 (patch)
treee50b697bcacc5e694b1da9f54e99f760d50d0df7 /libtiutils
parenta697b9ee46373ec5f1a122acb68ad49478f8e08f (diff)
downloadhardware_ti_omap4-fddffc0e17fd77484b936fb6e1425e57145f6a48.zip
hardware_ti_omap4-fddffc0e17fd77484b936fb6e1425e57145f6a48.tar.gz
hardware_ti_omap4-fddffc0e17fd77484b936fb6e1425e57145f6a48.tar.bz2
Wrap include directories and logging
Use global ANDROID_API_<pastry>_OR_LATER to wrap proper include directories and logging code for JB. Change-Id: Ibfb85d7208751fec83bf71c829d0e279e9e9efac Signed-off-by: Daniel Levin <dendy@ti.com>
Diffstat (limited to 'libtiutils')
-rw-r--r--libtiutils/Android.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/libtiutils/Android.mk b/libtiutils/Android.mk
index 362cf12..83c63b4 100644
--- a/libtiutils/Android.mk
+++ b/libtiutils/Android.mk
@@ -19,15 +19,20 @@ LOCAL_SHARED_LIBRARIES:= \
libutils \
libcutils
+ifdef ANDROID_API_JB_OR_LATER
+LOCAL_C_INCLUDES += \
+ frameworks/native/include
+else
LOCAL_C_INCLUDES += \
frameworks/base/include
+endif
LOCAL_C_INCLUDES += \
bionic/libc/include \
$(DOMX_PATH)/omx_core/inc \
$(DOMX_PATH)/mm_osal/inc
-LOCAL_CFLAGS += -fno-short-enums
+LOCAL_CFLAGS += -fno-short-enums $(ANDROID_API_CFLAGS)
ifdef TI_UTILS_MESSAGE_QUEUE_DEBUG_ENABLED
# Enable debug logs