- Using hard-fp

- Immersive mode in android-19
- Fixed local reference release in JNI helper
- Misc fixes
Change-Id: I3ab19c2b66648bb7a011c462d9d98e75bc136ce6
This commit is contained in:
Hak Matsuda
2013-11-09 01:03:15 -08:00
committed by Andrew Hsieh
parent 1f1e737907
commit cc69f210a7
13 changed files with 54 additions and 14 deletions

View File

@@ -13,6 +13,14 @@ LOCAL_CFLAGS :=
LOCAL_LDLIBS := -llog -landroid -lEGL -lGLESv2
LOCAL_STATIC_LIBRARIES := cpufeatures android_native_app_glue ndk_helper
ifneq ($(filter %armeabi-v7a,$(TARGET_ARCH_ABI)),)
LOCAL_CFLAGS += -mhard-float -D_NDK_MATH_NO_SOFTFP=1
LOCAL_LDLIBS += -lm_hard
ifeq (,$(filter -fuse-ld=mcld,$(APP_LDFLAGS) $(LOCAL_LDFLAGS)))
LOCAL_LDFLAGS += -Wl,--no-warn-mismatch
endif
endif
include $(BUILD_SHARED_LIBRARY)
$(call import-module,android/ndk_helper)

View File

@@ -1,4 +1,4 @@
APP_PLATFORM := android-9
APP_ABI := all
APP_STL := stlport_static
APP_STL := stlport_static