Split up into modules and add float module

Split the app/ module into three modules

terminal/ - Terminal emulator library module.
view/ - Terminal view library module (depending on terminal/).
app/ - The main Termux app (depending on view/).

Also add the

float/ - The Termux:Float app (depending on view/).
This commit is contained in:
Fredrik Fornwall
2017-04-01 19:06:02 +02:00
parent 41d0d60017
commit 009de5a3ee
82 changed files with 968 additions and 39 deletions

View File

@@ -5,8 +5,9 @@ android {
buildToolsVersion "25.0.2"
dependencies {
compile 'com.android.support:support-annotations:25.2.0'
compile "com.android.support:support-v4:25.2.0"
compile 'com.android.support:support-annotations:25.3.1'
compile "com.android.support:support-v4:25.3.1"
compile project(":view")
}
defaultConfig {
@@ -15,16 +16,6 @@ android {
targetSdkVersion 25
versionCode 48
versionName "0.48"
externalNativeBuild {
ndkBuild {
cFlags "-std=c11", "-Wall", "-Wextra", "-Werror", "-Os", "-fno-stack-protector", "-Wl,--gc-sections"
}
}
ndk {
abiFilters 'x86', 'x86_64', 'armeabi-v7a', 'arm64-v8a'
}
}
buildTypes {
@@ -34,12 +25,6 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
externalNativeBuild {
ndkBuild {
path "src/main/jni/Android.mk"
}
}
}
dependencies {