forked from Expensify/App
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path@react-native+gradle-plugin+0.73.4.patch
21 lines (21 loc) · 1.2 KB
/
@react-native+gradle-plugin+0.73.4.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff --git a/node_modules/@react-native/gradle-plugin/src/main/kotlin/com/facebook/react/tasks/internal/PreparePrefabHeadersTask.kt b/node_modules/@react-native/gradle-plugin/src/main/kotlin/com/facebook/react/tasks/internal/PreparePrefabHeadersTask.kt
index f3b55e0..5ca7316 100644
--- a/node_modules/@react-native/gradle-plugin/src/main/kotlin/com/facebook/react/tasks/internal/PreparePrefabHeadersTask.kt
+++ b/node_modules/@react-native/gradle-plugin/src/main/kotlin/com/facebook/react/tasks/internal/PreparePrefabHeadersTask.kt
@@ -45,15 +45,9 @@ abstract class PreparePrefabHeadersTask : DefaultTask() {
fs.copy {
it.from(headerPath)
it.include("**/*.h")
+ it.include("**/*.hpp")
it.exclude("**/*.cpp")
it.exclude("**/*.txt")
- // We don't want to copy all the boost headers as they are 250Mb+
- it.include("boost/config.hpp")
- it.include("boost/config/**/*.hpp")
- it.include("boost/core/*.hpp")
- it.include("boost/detail/workaround.hpp")
- it.include("boost/operators.hpp")
- it.include("boost/preprocessor/**/*.hpp")
it.into(File(outputFolder.asFile, headerPrefix))
}
}