Skip to content

Commit

Permalink
Revert native library name and build 32 bit versions only
Browse files Browse the repository at this point in the history
  • Loading branch information
billthefarmer committed Apr 8, 2017
1 parent 3545fe4 commit deb4899
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,14 @@ android {
path 'src/main/jni/Android.mk'
}
}

defaultConfig {
externalNativeBuild {
ndkBuild {
abiFilters 'armeabi', 'armeabi-v7a', 'mips', 'x86'
}
}
}
}

android {
Expand Down
4 changes: 2 additions & 2 deletions src/main/jni/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ LOCAL_C_INCLUDES := \

LOCAL_ARM_MODE := arm

LOCAL_MODULE := synth
LOCAL_MODULE := sonivox

# LOCAL_COPY_HEADERS_TO := libsonivox
# LOCAL_COPY_HEADERS := \
Expand Down Expand Up @@ -132,7 +132,7 @@ include $(CLEAR_VARS)
LOCAL_MODULE := midi
LOCAL_SRC_FILES := midi.cpp
LOCAL_C_INCLUDES := $(LOCAL_PATH)/host_src
LOCAL_SHARED_LIBRARIES := synth
LOCAL_SHARED_LIBRARIES := sonivox
LOCAL_LDLIBS := -lOpenSLES -llog

include $(BUILD_SHARED_LIBRARY)

0 comments on commit deb4899

Please sign in to comment.