Skip to content

Commit da4243b

Browse files
cortinicofacebook-github-bot
authored andcommitted
Properly expose jscexecutor as a prefab target (#35521)
Summary: Pull Request resolved: #35521 Inside RC3 the jscexecutor target was prepared for prefab consumption but not properly exposed. This was not caught by the CI as we're not effectively using this target, but some of our popular libraries do (i.e. Reanimated). I'm exposing it here. Changelog: [Internal] [Changed] - Properly expose `jscexecutor` as a prefab target Reviewed By: javache Differential Revision: D41648349 fbshipit-source-id: 1a04bc21aa50eece304828ce1d99ae795a51af48
1 parent 5f01622 commit da4243b

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

ReactAndroid/build.gradle

+6-3
Original file line numberDiff line numberDiff line change
@@ -435,8 +435,7 @@ android {
435435
"-DANDROID_TOOLCHAIN=clang",
436436
"-DANDROID_PLATFORM=android-21"
437437

438-
targets "jscexecutor",
439-
"jsijniprofiler",
438+
targets "jsijniprofiler",
440439
"reactnativeblob",
441440
"reactperfloggerjni",
442441
// prefab targets
@@ -463,7 +462,8 @@ android {
463462
"react_render_uimanager",
464463
"react_render_scheduler",
465464
"react_render_mounting",
466-
"hermes_executor"
465+
"hermes_executor",
466+
"jscexecutor"
467467
}
468468
}
469469
ndk {
@@ -583,6 +583,9 @@ android {
583583
hermes_executor {
584584
headers(new File(prefabHeadersDir, "hermes_executor").absolutePath)
585585
}
586+
jscexecutor {
587+
headers(new File(prefabHeadersDir, "jscexecutor").absolutePath)
588+
}
586589
}
587590

588591
publishing {

0 commit comments

Comments
 (0)