Skip to content

Commit

Permalink
Pass 'debug' and 'release' configs from Gradle to CMake
Browse files Browse the repository at this point in the history
  • Loading branch information
matteblair committed Dec 12, 2016
1 parent c66cb72 commit 0b0ca22
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions android/tangram/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,19 @@ android {
}
}

buildTypes {
release {
externalNativeBuild {
cmake.arguments '-DCMAKE_BUILD_TYPE=Release'
}
}
debug {
externalNativeBuild {
cmake.arguments '-DCMAKE_BUILD_TYPE=Debug'
}
}
}

productFlavors {
slim {
// Default configuration
Expand Down

0 comments on commit 0b0ca22

Please sign in to comment.