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:
Родитель
ca81037a0a
Коммит
2bc2b43fd3
|
@ -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:+'
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче