mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fix broken template tests due to missing boost headers (#34829)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/34829 I realized there is a race condition in how prefab headers are prepared and bundled. If the download of boost is not 'fast enough' the headers will be missing during prefab preparation. This fixes it. Changelog: [Internal] [Changed] - Fix broken template tests due to missing boost headers Reviewed By: cipolleschi Differential Revision: D39968622 fbshipit-source-id: 4680f84c15f4443a16def45d41a10a1083f4f196
This commit is contained in:
committed by
Facebook GitHub Bot
parent
f164556037
commit
98aa66a646
@@ -57,6 +57,8 @@ def skipPrefabPublishing = System.getenv("REACT_NATIVE_SKIP_PREFAB") != null
|
||||
def prefabHeadersDir = project.file("$buildDir/prefab-headers")
|
||||
|
||||
final def preparePrefab = tasks.register("preparePrefab", PreparePrefabHeadersTask) {
|
||||
dependsOn(prepareBoost, prepareDoubleConversion, prepareFolly, prepareGlog)
|
||||
dependsOn("generateCodegenArtifactsFromSchema")
|
||||
// To export to a ReactNativePrefabProcessingEntities.kt once all
|
||||
// libraries have been moved. We keep it here for now as it make easier to
|
||||
// migrate one library at a time.
|
||||
|
||||
+1
-1
@@ -128,7 +128,7 @@
|
||||
"pretty-format": "^26.5.2",
|
||||
"promise": "^8.2.0",
|
||||
"react-devtools-core": "^4.26.0",
|
||||
"react-native-gradle-plugin": "^0.71.2",
|
||||
"react-native-gradle-plugin": "^0.71.4",
|
||||
"react-refresh": "^0.4.0",
|
||||
"react-shallow-renderer": "^16.15.0",
|
||||
"regenerator-runtime": "^0.13.2",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "react-native-gradle-plugin",
|
||||
"version": "0.71.2",
|
||||
"version": "0.71.4",
|
||||
"description": "⚛️ Gradle Plugin for React Native",
|
||||
"homepage": "https://github.com/facebook/react-native/tree/HEAD/packages/react-native-gradle-plugin",
|
||||
"repository": {
|
||||
|
||||
Reference in New Issue
Block a user