From 618c755192c452b1138528058419be8dc1d56c05 Mon Sep 17 00:00:00 2001 From: Jack Palevich Date: Fri, 8 Jan 2010 16:00:21 +0800 Subject: 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. --- opengl/libs/Android.mk | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'opengl/libs/Android.mk') 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) + -- cgit v1.2.3-59-g8ed1b