Build LatinIME with NDK r8

Change-Id: I0e233f9561f4bb4dee2311b98e7b0a1cd9cd5061
main
Ken Wakasa 2012-07-27 09:39:21 +09:00
parent 7677a0ee7f
commit d3e10bb694
1 changed files with 2 additions and 12 deletions

View File

@ -69,14 +69,9 @@ endif # FLAG_DO_PROFILE
LOCAL_MODULE := libjni_latinime_common_static LOCAL_MODULE := libjni_latinime_common_static
LOCAL_MODULE_TAGS := optional LOCAL_MODULE_TAGS := optional
# TODO: Remove this conditional block once we have no issues with building against NDK LOCAL_NDK_VERSION := 8
ifndef TARGET_BUILD_APPS # A full system image build
include external/stlport/libstlport.mk
else # An unbundled build
LOCAL_NDK_VERSION := 7
LOCAL_SDK_VERSION := 14 LOCAL_SDK_VERSION := 14
LOCAL_NDK_STL_VARIANT := stlport_static LOCAL_NDK_STL_VARIANT := stlport_static
endif
include $(BUILD_STATIC_LIBRARY) include $(BUILD_STATIC_LIBRARY)
###################################### ######################################
@ -98,14 +93,9 @@ endif # FLAG_DO_PROFILE
LOCAL_MODULE := libjni_latinime LOCAL_MODULE := libjni_latinime
LOCAL_MODULE_TAGS := optional LOCAL_MODULE_TAGS := optional
# TODO: Remove this conditional block once we have no issues with building against NDK LOCAL_NDK_VERSION := 8
ifndef TARGET_BUILD_APPS # A full system image build
LOCAL_STATIC_LIBRARIES += libstlport_static
else # An unbundled build
LOCAL_NDK_VERSION := 7
LOCAL_SDK_VERSION := 14 LOCAL_SDK_VERSION := 14
LOCAL_NDK_STL_VARIANT := stlport_static LOCAL_NDK_STL_VARIANT := stlport_static
endif
include $(BUILD_SHARED_LIBRARY) include $(BUILD_SHARED_LIBRARY)