mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
evert "Remove unused files and code for old JSC and gcc build (#23014)"
This reverts commit bbf439862c.
This commit is contained in:
@@ -86,6 +86,17 @@ task prepareFolly(dependsOn: dependenciesPath ? [] : [downloadFolly], type: Copy
|
||||
include "folly-${FOLLY_VERSION}/folly/**/*", 'Android.mk'
|
||||
eachFile {fname -> fname.path = (fname.path - "folly-${FOLLY_VERSION}/")}
|
||||
includeEmptyDirs = false
|
||||
|
||||
// Patch for folly build break on gcc 4.9 and could be removed after build by clang
|
||||
filesMatching('**/container/detail/F14Policy.h') {
|
||||
filter(ReplaceTokens, tokens: [
|
||||
'ObjectHolder(Args&&... args) : value_{std::forward<Args>(args)...} {}': 'ObjectHolder(Args&&... args) : value_({std::forward<Args>(args)...}) {}',
|
||||
'ObjectHolder(Args&&... args) : T{std::forward<Args>(args)...} {}': 'ObjectHolder(Args&&... args) : T({std::forward<Args>(args)...}) {}',
|
||||
],
|
||||
beginToken: '',
|
||||
endToken: '')
|
||||
}
|
||||
|
||||
into "$thirdPartyNdkDir/folly"
|
||||
}
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user