OSDN Git Service

Build against the NDK for all archs.
authorYing Wang <wangying@google.com>
Wed, 19 Feb 2014 21:40:26 +0000 (13:40 -0800)
committerYing Wang <wangying@google.com>
Wed, 19 Feb 2014 21:40:26 +0000 (13:40 -0800)
Change-Id: I29e85f1cef5680d13e96e10154c101f0ad9ee7c8

jni/Android.mk

index b9bafcf..650cb89 100755 (executable)
@@ -40,23 +40,14 @@ LOCAL_SRC_FILES := \
         feature_stab/src/dbreg/dbstabsmooth.cpp \
         feature_stab/src/dbreg/vp_motionmodel.c
 
-ifeq ($(TARGET_ARCH), arm)
-        LOCAL_SDK_VERSION := 9
-endif
-
-ifeq ($(TARGET_ARCH), x86)
-        LOCAL_SDK_VERSION := 9
-endif
-
-ifeq ($(TARGET_ARCH), mips)
-        LOCAL_SDK_VERSION := 9
-endif
+LOCAL_SDK_VERSION := 9
 
 LOCAL_LDFLAGS := -llog -lGLESv2
 
 LOCAL_MODULE_TAGS := optional
 
 LOCAL_MODULE    := libjni_mosaic
+
 include $(BUILD_SHARED_LIBRARY)
 
 # TinyPlanet
@@ -72,4 +63,3 @@ LOCAL_CFLAGS    += -ffast-math -O3 -funroll-loops
 LOCAL_ARM_MODE := arm
 
 include $(BUILD_SHARED_LIBRARY)
-