summaryrefslogtreecommitdiffstats
path: root/opengl/libs/Android.mk
diff options
context:
space:
mode:
authorJack Palevich <jackpal@google.com>2009-12-28 19:31:43 +0800
committerJack Palevich <jackpal@google.com>2009-12-31 13:31:04 +0800
commita6276fdd4253c3a7150ab675678c750473ab6c45 (patch)
treed025885cd75cd415b62eb7757d25c05174c3db49 /opengl/libs/Android.mk
parent8eb3ea659761edc2cd5db3acf448059f19389e5e (diff)
downloadframeworks_base-a6276fdd4253c3a7150ab675678c750473ab6c45.zip
frameworks_base-a6276fdd4253c3a7150ab675678c750473ab6c45.tar.gz
frameworks_base-a6276fdd4253c3a7150ab675678c750473ab6c45.tar.bz2
A library for encoding and decoding ETC1 textures.
The ETC1 compressed texture format is commonly supported by OpenGL ES 2.0-capable devices.
Diffstat (limited to 'opengl/libs/Android.mk')
-rw-r--r--opengl/libs/Android.mk30
1 files changed, 30 insertions, 0 deletions
diff --git a/opengl/libs/Android.mk b/opengl/libs/Android.mk
index 6d20e80..7353385 100644
--- a/opengl/libs/Android.mk
+++ b/opengl/libs/Android.mk
@@ -120,3 +120,33 @@ ifeq ($(ARCH_ARM_HAVE_TLS_REGISTER),true)
endif
include $(BUILD_SHARED_LIBRARY)
+
+###############################################################################
+# Build the ETC1 host static library
+#
+
+include $(CLEAR_VARS)
+
+LOCAL_SRC_FILES:= \
+ ETC1/etc1.cpp \
+#
+
+LOCAL_LDLIBS := -lpthread -ldl
+LOCAL_MODULE:= libETC1
+
+include $(BUILD_HOST_STATIC_LIBRARY)
+
+###############################################################################
+# Build the ETC1 device library
+#
+
+include $(CLEAR_VARS)
+
+LOCAL_SRC_FILES:= \
+ ETC1/etc1.cpp \
+#
+
+LOCAL_LDLIBS := -lpthread -ldl
+LOCAL_MODULE:= libETC1
+
+include $(BUILD_SHARED_LIBRARY)