Skip to content

Commit

Permalink
Add release buildType for tangram lib
Browse files Browse the repository at this point in the history
- to disable `-g` debug flag being set by the ndk default android cmake toolchain
- Refer: android/ndk#243

TODO: Keep an eye for future versions of ndk/android-studio to add a fix for this
  • Loading branch information
tallytalwar committed Feb 8, 2017
1 parent f64cccf commit 92c8248
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions android/tangram/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ android {
cmake.cppFlags '-g'
}
}
release {
externalNativeBuild {
cmake.cppFlags'-g0'
}
}
}
productFlavors {
slim {
Expand Down

0 comments on commit 92c8248

Please sign in to comment.