Strip invalid PNG profiles from PNGs
Bad PNGs caused a few annoying warnings like “libpng warning: iCCP: known incorrect sRGB profile”.
Command used:
pngcrush -rem gAMA -rem cHRM -rem iCCP -rem sRGB
Note that many images have “@2x” in their name, this probably explains why they have been overlooked before.
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := physlayer
LOCAL_CFLAGS := -O2
LOCAL_C_INCLUDES := $(LOCAL_PATH) $(MISC_DIR)/liblua $(MISC_DIR)/liblua $(JNI_DIR)/SDL/include
LOCAL_SRC_FILES := hwpacksmounter.c \
physfslualoader.c \
physfsrwops.c \
LOCAL_SHARED_LIBRARIES += SDL lua
include $(BUILD_SHARED_LIBRARY)