mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Rename hermes-* target to don't use dashes (#35506)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/35506 In our build we had a mixture of `_` and `-` to separate targets. Dashes don't play well with Gradle + as we expose them now via Prefab, let's stick to use only underscores Changelog: [Internal] [Changed] - Rename target to don't use dashes Reviewed By: cipolleschi Differential Revision: D41578938 fbshipit-source-id: 8aa44aa2dc7bf4822b45e5044532837b989817d2
This commit is contained in:
@@ -24,8 +24,8 @@ public class HermesExecutor extends JavaScriptExecutor {
|
||||
if (mode_ == null) {
|
||||
// libhermes must be loaded explicitly to invoke its JNI_OnLoad.
|
||||
SoLoader.loadLibrary("hermes");
|
||||
SoLoader.loadLibrary("hermes-executor");
|
||||
// libhermes-executor is built differently for Debug & Release so we load the proper mode.
|
||||
SoLoader.loadLibrary("hermes_executor");
|
||||
// libhermes_executor is built differently for Debug & Release so we load the proper mode.
|
||||
if (ReactBuildConfig.DEBUG == true) {
|
||||
mode_ = "Debug";
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user