mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
@allow-large-files [MSDK] Update ktfmt component on FBS:master
Reviewed By: strulovich Differential Revision: D35774317 fbshipit-source-id: ce59de8c38e385827a9ee62473b57a1791f18d27
This commit is contained in:
committed by
Facebook GitHub Bot
parent
17d2a27ff8
commit
4f855c8a2a
+2
-1
@@ -26,7 +26,8 @@ object ReactMapBufferViewManager : ReactViewManagerWrapper {
|
||||
stateWrapper: StateWrapper?,
|
||||
jsResponderHandler: JSResponderHandler
|
||||
): View =
|
||||
viewManager.createView(
|
||||
viewManager
|
||||
.createView(
|
||||
reactTag,
|
||||
reactContext,
|
||||
props as? ReactStylesDiffMap,
|
||||
|
||||
+15
-15
@@ -224,23 +224,23 @@ private fun Project.cleanupVMFiles(
|
||||
// two separate HermesDebug and HermesRelease AARs, but until then we'll
|
||||
// kludge it by deleting the .so files out of the /transforms/ directory.
|
||||
fileTree(libDir) {
|
||||
if (enableHermes) {
|
||||
// For Hermes, delete all the libjsc* files
|
||||
it.include("**/libjsc*.so")
|
||||
if (enableHermes) {
|
||||
// For Hermes, delete all the libjsc* files
|
||||
it.include("**/libjsc*.so")
|
||||
|
||||
if (cleanup) {
|
||||
// Reduce size by deleting the debugger/inspector
|
||||
it.include("**/libhermes-executor-debug.so")
|
||||
} else {
|
||||
// Release libs take precedence and must be removed
|
||||
// to allow debugging
|
||||
it.include("**/libhermes-executor-release.so")
|
||||
if (cleanup) {
|
||||
// Reduce size by deleting the debugger/inspector
|
||||
it.include("**/libhermes-executor-debug.so")
|
||||
} else {
|
||||
// Release libs take precedence and must be removed
|
||||
// to allow debugging
|
||||
it.include("**/libhermes-executor-release.so")
|
||||
}
|
||||
} else {
|
||||
// For JSC, delete all the libhermes* files
|
||||
it.include("**/libhermes*.so")
|
||||
}
|
||||
}
|
||||
} else {
|
||||
// For JSC, delete all the libhermes* files
|
||||
it.include("**/libhermes*.so")
|
||||
}
|
||||
}
|
||||
.visit { visit ->
|
||||
val path = visit.file.absolutePath.replace(File.separatorChar, '/')
|
||||
if (path.matches(targetVariant) && visit.file.isFile) {
|
||||
|
||||
+1
-2
@@ -54,8 +54,7 @@ abstract class GenerateCodegenSchemaTask : Exec() {
|
||||
codegenDir
|
||||
.file("lib/cli/combine/combine-js-to-schema-cli.js")
|
||||
.get()
|
||||
.asFile
|
||||
.absolutePath,
|
||||
.asFile.absolutePath,
|
||||
generatedSchemaFile.get().asFile.absolutePath,
|
||||
jsRootDir.asFile.get().absolutePath,
|
||||
))
|
||||
|
||||
+1
-2
@@ -136,8 +136,7 @@ internal fun detectOSAwareHermesCommand(projectRoot: File, hermesCommand: String
|
||||
|
||||
// 3. If the react-native contains a pre-built hermesc, use it.
|
||||
val prebuiltHermesPath =
|
||||
HERMESC_IN_REACT_NATIVE_PATH
|
||||
.replace("%OS-BIN%", getHermesOSBin())
|
||||
HERMESC_IN_REACT_NATIVE_PATH.replace("%OS-BIN%", getHermesOSBin())
|
||||
// Execution on Windows fails with / as separator
|
||||
.replace('/', File.separatorChar)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user