Browse Source

fix using debug library compilation in release mode

pull/1190/head
R4SAS 7 years ago
parent
commit
56e76ec59f
  1. 4
      android/build.gradle
  2. 3
      android/jni/Application.mk
  3. 3
      android_binary_only/jni/Application.mk

4
android/build.gradle

@ -19,7 +19,7 @@ repositories { @@ -19,7 +19,7 @@ repositories {
android {
compileSdkVersion 25
buildToolsVersion "25.0.2"
buildToolsVersion "25.0.3"
defaultConfig {
applicationId "org.purplei2p.i2pd"
targetSdkVersion 25
@ -49,7 +49,7 @@ android { @@ -49,7 +49,7 @@ android {
}
buildTypes {
release {
minifyEnabled false
minifyEnabled true
signingConfig signingConfigs.orignal
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-project.txt'
}

3
android/jni/Application.mk

@ -19,7 +19,8 @@ ifeq ($(TARGET_ARCH_ABI),armeabi-v7a) @@ -19,7 +19,8 @@ ifeq ($(TARGET_ARCH_ABI),armeabi-v7a)
APP_CPPFLAGS += -DANDROID_ARM7A
endif
APP_OPTIM := debug
# Forcing debug optimization. Use `ndk-build NDK_DEBUG=1` instead.
#APP_OPTIM := debug
# git clone https://github.com/PurpleI2P/Boost-for-Android-Prebuilt.git
# git clone https://github.com/PurpleI2P/OpenSSL-for-Android-Prebuilt.git

3
android_binary_only/jni/Application.mk

@ -21,7 +21,8 @@ ifeq ($(TARGET_ARCH_ABI),armeabi-v7a) @@ -21,7 +21,8 @@ ifeq ($(TARGET_ARCH_ABI),armeabi-v7a)
APP_CPPFLAGS += -DANDROID_ARM7A
endif
APP_OPTIM := debug
# Forcing debug optimization. Use `ndk-build NDK_DEBUG=1` instead.
#APP_OPTIM := debug
# git clone https://github.com/PurpleI2P/Boost-for-Android-Prebuilt.git
# git clone https://github.com/PurpleI2P/OpenSSL-for-Android-Prebuilt.git

Loading…
Cancel
Save