mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Expose jsctooling via prefab (#46430)
Summary: This PR exposes `jsctooling` prefab that contains `facebook::jsc::makeJSCRuntime` used by Reanimated and other third-party libraries previously accessed via `libjscexecutor.so`. Based on https://github.com/facebook/react-native/pull/46423. ## Changelog: [Android] [Changed] - Expose jsctooling via prefab Pull Request resolved: https://github.com/facebook/react-native/pull/46430 Test Plan: Tested on Reanimated paper-example app built from source on RN 0.76.0-rc.0 with JSC enabled Reviewed By: cipolleschi Differential Revision: D62492763 Pulled By: cortinico fbshipit-source-id: 53b6c0d9bb88559c40b5b8796bf6a1513bd388d9
This commit is contained in:
committed by
Riccardo Cipolleschi
parent
959eafca33
commit
b0db081a76
@@ -230,6 +230,10 @@ val preparePrefab by
|
||||
// hermes_executor
|
||||
Pair("../ReactCommon/hermes/inspector-modern/", "hermes/inspector-modern/")
|
||||
),
|
||||
PrefabPreprocessingEntry("jsctooling",
|
||||
// jsc
|
||||
Pair("../ReactCommon/jsc/", "jsc/")
|
||||
),
|
||||
))
|
||||
outputDir.set(prefabHeadersDir)
|
||||
}
|
||||
@@ -587,6 +591,7 @@ android {
|
||||
create("jsi") { headers = File(prefabHeadersDir, "jsi").absolutePath }
|
||||
create("reactnative") { headers = File(prefabHeadersDir, "reactnative").absolutePath }
|
||||
create("hermestooling") { headers = File(prefabHeadersDir, "hermestooling").absolutePath }
|
||||
create("jsctooling") { headers = File(prefabHeadersDir, "jsctooling").absolutePath }
|
||||
}
|
||||
|
||||
publishing {
|
||||
|
||||
Reference in New Issue
Block a user