Commit 4af9afed authored by Geoffrey Métais's avatar Geoffrey Métais

Include gdb files in debug builds

parent 2ada2c83
...@@ -31,6 +31,14 @@ android { ...@@ -31,6 +31,14 @@ android {
} }
} }
/*
* Include GDB files into apk
*/
afterEvaluate {
Sync packageTask = project.getTasks().findByName("packageReleaseJniLibs")
packageTask.include(['**/gdbserver', '**/gdb.setup'])
}
class BuildNative extends Exec {} class BuildNative extends Exec {}
tasks.withType(BuildNative){ tasks.withType(BuildNative){
......
...@@ -77,6 +77,7 @@ android { ...@@ -77,6 +77,7 @@ android {
} }
debug { debug {
applicationIdSuffix ".debug" applicationIdSuffix ".debug"
jniDebuggable true
} }
} }
productFlavors { productFlavors {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment