Files
android_development/tools/etc1tool/Android.mk
Jack Palevich 30d42878b3 DO NOT MERGE Tool for compressing/decompressing ETC1 textures.
The ETC1 texture format is commonly supported by
OpenGL ES 2.0-capable GPUs.

For historical reasons ETC1 texture files have the
default extension .PKM

This tool relies on the libETC1 library to
compress and decompress the image data.
2010-01-08 14:52:08 +08:00

41 lines
691 B
Makefile

# Copyright 2009 Google Inc. All Rights Reserved.
#
# Android.mk for etc1tool
#
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := etc1tool.cpp
LOCAL_C_INCLUDES += external/libpng
LOCAL_C_INCLUDES += external/zlib
LOCAL_C_INCLUDES += build/libs/host/include
LOCAL_C_INCLUDES += frameworks/base/opengl/include
#LOCAL_WHOLE_STATIC_LIBRARIES :=
LOCAL_STATIC_LIBRARIES := \
libhost \
libutils \
libcutils \
libexpat \
libpng \
libETC1
LOCAL_LDLIBS := -lz
ifeq ($(HOST_OS),linux)
LOCAL_LDLIBS += -lrt
endif
ifeq ($(HOST_OS),windows)
ifeq ($(strip $(USE_CYGWIN),),)
LOCAL_LDLIBS += -lws2_32
endif
endif
LOCAL_MODULE := etc1tool
include $(BUILD_HOST_EXECUTABLE)