summaryrefslogtreecommitdiff
path: root/opengl/libs/Android.mk
diff options
context:
space:
mode:
author Jack Palevich <jackpal@google.com> 2010-01-08 16:00:21 +0800
committer Jack Palevich <jackpal@google.com> 2010-01-08 16:00:21 +0800
commit618c755192c452b1138528058419be8dc1d56c05 (patch)
tree21342ad86a708c7a4c324a2e6193fc8d0915a7e1 /opengl/libs/Android.mk
parent8fc26bc2156e7165bc235ca0d434d6c4f30f4be1 (diff)
DO NOT MERGE A library for encoding and decoding ETC1 textures.
The ETC1 compressed texture format is commonly supported by OpenGL ES 2.0-capable devices. This change adds a host-only version of the library. It is used by the etc1tool.
Diffstat (limited to 'opengl/libs/Android.mk')
-rw-r--r--opengl/libs/Android.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/opengl/libs/Android.mk b/opengl/libs/Android.mk
index 6d20e80a82..37b9a4349d 100644
--- a/opengl/libs/Android.mk
+++ b/opengl/libs/Android.mk
@@ -120,3 +120,19 @@ 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)
+