From 627bff2c386d12fe471276357cb0cc5fe6b85992 Mon Sep 17 00:00:00 2001 From: Riccardo Cipolleschi Date: Fri, 5 Apr 2024 01:18:05 -0700 Subject: [PATCH] Remove duplicated include when preparing prefabs (#43865) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/43865 Some of the includes in the task that prepares prefabs are duplicated. Removing the duplication ## Changelog: [Internal] - Cleanup android prefabs Reviewed By: cortinico Differential Revision: D55751660 fbshipit-source-id: 2ea610937f122f82bc91e09fac1a2c78efa83410 --- .../facebook/react/tasks/internal/PreparePrefabHeadersTask.kt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/tasks/internal/PreparePrefabHeadersTask.kt b/packages/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/tasks/internal/PreparePrefabHeadersTask.kt index 6b073917683..f30392dd3eb 100644 --- a/packages/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/tasks/internal/PreparePrefabHeadersTask.kt +++ b/packages/react-native-gradle-plugin/src/main/kotlin/com/facebook/react/tasks/internal/PreparePrefabHeadersTask.kt @@ -63,15 +63,11 @@ abstract class PreparePrefabHeadersTask : DefaultTask() { it.include("boost/mpl/**/*.hpp") it.include("boost/mp11/**/*.hpp") it.include("boost/describe/**/*.hpp") - it.include("boost/preprocessor/**/*.hpp") it.include("boost/type_traits/**/*.hpp") it.include("boost/utility/**/*.hpp") - it.include("boost/detail/workaround.hpp") it.include("boost/assert.hpp") it.include("boost/static_assert.hpp") it.include("boost/cstdint.hpp") - it.include("boost/operators.hpp") - it.include("boost/config.hpp") it.include("boost/utility.hpp") it.include("boost/version.hpp") it.into(File(outputFolder.asFile, headerPrefix))