summaryrefslogtreecommitdiffstats
path: root/libs/utils/Android.mk
diff options
context:
space:
mode:
authorKenny Root <kroot@google.com>2010-06-01 10:34:29 -0700
committerKenny Root <kroot@google.com>2010-07-07 09:57:50 -0700
commitb94a9a668f0e33dd93594abb08f448e6c915981f (patch)
tree95aff55ae43fdc6a996289a7893af67d3f64a1ef /libs/utils/Android.mk
parent2f1276dd22ac651956e313d65fbb5afac795ac48 (diff)
downloadframeworks_native-b94a9a668f0e33dd93594abb08f448e6c915981f.zip
frameworks_native-b94a9a668f0e33dd93594abb08f448e6c915981f.tar.gz
frameworks_native-b94a9a668f0e33dd93594abb08f448e6c915981f.tar.bz2
Add OBB file helper class
ObbFile is a binary blob that will be used in packaging large files with smaller APKs. Change-Id: Ib1594346cfa2f49113de6565af77c24efbd89d63
Diffstat (limited to 'libs/utils/Android.mk')
-rw-r--r--libs/utils/Android.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/utils/Android.mk b/libs/utils/Android.mk
index 7d4524a..2bb42ab 100644
--- a/libs/utils/Android.mk
+++ b/libs/utils/Android.mk
@@ -26,6 +26,7 @@ commonSources:= \
Debug.cpp \
FileMap.cpp \
Flattenable.cpp \
+ ObbFile.cpp \
Pool.cpp \
RefBase.cpp \
ResourceTypes.cpp \
@@ -65,6 +66,11 @@ LOCAL_CFLAGS += -DMB_CUR_MAX=1
endif
endif
+ifeq ($(HOST_OS),darwin)
+# MacOS doesn't have lseek64. However, off_t is 64-bit anyway.
+LOCAL_CFLAGS += -DOFF_T_IS_64_BIT
+endif
+
include $(BUILD_HOST_STATIC_LIBRARY)