Commit b5fd89b
committed
fix(react-native): add prefabPublishing to hermes-engine for build-from-source
PR #54707 removed `prefabPublishing = true` from hermes-engine when
switching to prebuilt Hermes by default. This broke build-from-source
because AGP no longer generates the CMake config file needed by
`find_package(hermes-engine)` in ReactAndroid's native build.
Adding `prefabPublishing = true` back restores the CMake config
generation and proper Gradle task ordering.
The same PR also disables all hermes tasks when not building from
source - which will make the CI work correctly - ie. not build hermes
from source when not needed.1 parent 1575ae0 commit b5fd89b
1 file changed
Lines changed: 4 additions & 1 deletion
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
421 | 421 | | |
422 | 422 | | |
423 | 423 | | |
424 | | - | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
425 | 428 | | |
426 | 429 | | |
427 | 430 | | |
| |||
0 commit comments