1 # Copyright 2009 Google Inc. All Rights Reserved. 2 # 3 # Android.mk for etc1tool 4 # 5 6 LOCAL_PATH:= $(call my-dir) 7 8 include $(CLEAR_VARS) 9 10 LOCAL_SRC_FILES := etc1tool.cpp 11 12 LOCAL_STATIC_LIBRARIES := \ 13 libexpat \ 14 libpng \ 15 libETC1 16 17 # Statically link libz for MinGW (Win SDK under Linux), 18 # and dynamically link for all others. 19 LOCAL_STATIC_LIBRARIES_windows := libz 20 LOCAL_LDLIBS_darwin := -lz 21 LOCAL_LDLIBS_linux := -lrt -lz 22 23 LOCAL_MODULE := etc1tool 24 LOCAL_MODULE_HOST_OS := darwin linux windows 25 26 include $(BUILD_HOST_EXECUTABLE) 27