Skip to content

Commit

Permalink
Expose hermestooling via prefab (#46423)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #46423

This is used by Reanimated as they were previously accessing `libhermes_executor.so`

Changelog:
[Android] [Changed] - Expose hermestooling via prefab

Reviewed By: cipolleschi

Differential Revision: D62447875

fbshipit-source-id: e863c56bc5a801ee7de8a4e5d45f95481d3497f8
  • Loading branch information
cortinico authored and facebook-github-bot committed Sep 10, 2024
1 parent 65beadb commit f41af55
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/react-native/ReactAndroid/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,10 @@ val preparePrefab by
Pair("../ReactCommon/yoga/", ""),
Pair("src/main/jni/first-party/yogajni/jni", ""),
)),
PrefabPreprocessingEntry("hermestooling",
// hermes_executor
Pair("../ReactCommon/hermes/inspector-modern/", "hermes/inspector-modern/")
),
))
outputDir.set(prefabHeadersDir)
}
Expand Down Expand Up @@ -580,6 +584,7 @@ android {
prefab {
create("jsi") { headers = File(prefabHeadersDir, "jsi").absolutePath }
create("reactnative") { headers = File(prefabHeadersDir, "reactnative").absolutePath }
create("hermestooling") { headers = File(prefabHeadersDir, "hermestooling").absolutePath }
}

publishing {
Expand Down

0 comments on commit f41af55

Please sign in to comment.