Fix RNTester ignoring build mode and always using JSC

Summary:
RNTester ended up using JSC for both jscDebug and hermesDebug. Now it uses the
correct one. It still includes all executors, but it's a step in the right
direction.

ChangeLog: [General] [Fixed] RNTester now uses the VM specified in the build flavor

Reviewed By: passy

Differential Revision: D19752239

fbshipit-source-id: 0db4e5201fc80c2a0b91531e3f4333148c1d9c7c
This commit is contained in:
Will Holen 2020-02-10 11:04:30 -08:00 коммит произвёл Facebook Github Bot
Родитель ca81037a0a
Коммит 2bc2b43fd3
1 изменённых файлов: 9 добавлений и 4 удалений

Просмотреть файл

@ -160,6 +160,11 @@ android {
}
}
configurations {
hermesDebugImplementation {}
hermesReleaseImplementation {}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
@ -169,8 +174,8 @@ dependencies {
implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.0.0"
def hermesPath = '$projectDir/../../../../node_modules/hermes-engine/android/'
debugImplementation files(hermesPath + "hermes-debug.aar")
releaseImplementation files(hermesPath + "hermes-release.aar")
hermesDebugImplementation files(hermesPath + "hermes-debug.aar")
hermesReleaseImplementation files(hermesPath + "hermes-release.aar")
debugImplementation("com.facebook.flipper:flipper:${FLIPPER_VERSION}") {
exclude group:'com.facebook.fbjni'
@ -185,8 +190,8 @@ dependencies {
}
if (useIntlJsc) {
implementation 'org.webkit:android-jsc-intl:+'
jscImplementation 'org.webkit:android-jsc-intl:+'
} else {
implementation 'org.webkit:android-jsc:+'
jscImplementation 'org.webkit:android-jsc:+'
}
}