Skip to content

Commit

Permalink
Mark rn tester flavours as debuggable
Browse files Browse the repository at this point in the history
Summary:
Changelog: [Internal]

Debuggable flag defines multiple things for flavours including `NDEBUG` flag in native builds. We need to explicitly state this from build.gradle to use it.

Reviewed By: JoshuaGross

Differential Revision: D26610482

fbshipit-source-id: e0c8095e239241c57a119e561b125cab16bf299f
  • Loading branch information
Andrei Shikov authored and facebook-github-bot committed Feb 23, 2021
1 parent d20b5e1 commit 36ca57e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/rn-tester/android/app/build.gradle
Expand Up @@ -177,9 +177,11 @@ android {
}
buildTypes {
debug {
debuggable true
signingConfig signingConfigs.release
}
release {
debuggable false
minifyEnabled enableProguardInReleaseBuilds
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
Expand Down

0 comments on commit 36ca57e

Please sign in to comment.