Skip to content

Commit

Permalink
disable JNI/C++ support for now (simplifies build)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaptel committed Jun 3, 2018
1 parent 278a563 commit 05cc499
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
20 changes: 10 additions & 10 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,23 @@ android {
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
externalNativeBuild {
cmake {
cppFlags ""
}
}
//externalNativeBuild {
// cmake {
// cppFlags ""
// }
//}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
externalNativeBuild {
cmake {
path "CMakeLists.txt"
}
}
//externalNativeBuild {
// cmake {
// path "CMakeLists.txt"
// }
//}
packagingOptions {
exclude 'META-INF/mimetypes.default'
}
Expand Down
8 changes: 4 additions & 4 deletions app/src/main/java/org/notmuchmail/notmuch/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ public class MainActivity extends AppCompatActivity {
private static final String TAG = "nmssha";
boolean checkAgain = true;
// Used to load the 'native-lib' library on application startup.
static {
System.loadLibrary("native-lib");
}
//static {
// System.loadLibrary("native-lib");
//}

SSHActivityHelper sshHelper;

Expand Down Expand Up @@ -97,5 +97,5 @@ protected void onDestroy() {
* A native method that is implemented by the 'native-lib' native library,
* which is packaged with this application.
*/
public native String stringFromJNI();
//public native String stringFromJNI();
}

0 comments on commit 05cc499

Please sign in to comment.