diff options
author | Victoria Lease <violets@google.com> | 2013-06-27 11:30:31 -0700 |
---|---|---|
committer | Victoria Lease <violets@google.com> | 2013-06-27 14:11:54 -0700 |
commit | 899c67b6cfcd2010784fbf08c5415af16c526e0c (patch) | |
tree | c75d7dc57e133b09dc56c1e6e58f74b2f86238ba /Android.mk | |
parent | af9efeb7136036f6a7601af583868a0c606d5754 (diff) | |
download | android_external_freetype-899c67b6cfcd2010784fbf08c5415af16c526e0c.tar.gz android_external_freetype-899c67b6cfcd2010784fbf08c5415af16c526e0c.tar.bz2 android_external_freetype-899c67b6cfcd2010784fbf08c5415af16c526e0c.zip |
Enable FT_CONFIG_OPTION_USE_PNG, build shared lib
Due to FT_CONFIG_OPTION_USE_PNG, FreeType now depends upon libpng and
zlib. While I'm adding those dependencies, I might as well also make
libft2 a shared library...
Bug: 9603326
Bug: 9577689
Change-Id: Ibeeaeef72d39df07535424b49810675d652b8fc8
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -37,13 +37,17 @@ LOCAL_SRC_FILES:= \ LOCAL_C_INCLUDES += \ $(LOCAL_PATH)/builds \ - $(LOCAL_PATH)/include + $(LOCAL_PATH)/include \ + external/libpng \ + external/zlib LOCAL_CFLAGS += -W -Wall LOCAL_CFLAGS += -fPIC -DPIC LOCAL_CFLAGS += "-DDARWIN_NO_CARBON" LOCAL_CFLAGS += "-DFT2_BUILD_LIBRARY" +LOCAL_SHARED_LIBRARIES += libpng libz + # the following is for testing only, and should not be used in final builds # of the product #LOCAL_CFLAGS += "-DTT_CONFIG_OPTION_BYTECODE_INTERPRETER" @@ -52,5 +56,5 @@ LOCAL_CFLAGS += -O2 LOCAL_MODULE:= libft2 -include $(BUILD_STATIC_LIBRARY) +include $(BUILD_SHARED_LIBRARY) endif |