mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Remove REACT_NATIVE_SKIP_PREFAB as unused (#41833)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/41833 I'm removing those environment variables as they're legacy and not used anymore: - REACT_NATIVE_SKIP_PREFAB - REACT_NATIVE_HERMES_SKIP_PREFAB Changelog: [Internal] [Changed] - Remove REACT_NATIVE_SKIP_PREFAB as unused Reviewed By: dmytrorykun Differential Revision: D51890227 fbshipit-source-id: 6579ff73d3030fe1acb587250cd99aff44a1de29
This commit is contained in:
committed by
Facebook GitHub Bot
parent
a115f97c48
commit
646ff6e70e
@@ -60,9 +60,6 @@ val dependenciesPath = System.getenv("REACT_NATIVE_DEPENDENCIES")
|
||||
// and the build will use that.
|
||||
val boostPathOverride = dependenciesPath ?: System.getenv("REACT_NATIVE_BOOST_PATH")
|
||||
|
||||
// By setting REACT_NATIVE_SKIP_PREFAB we can skip prefab publishing, to
|
||||
// reduce the size of the React Native published .AAR.
|
||||
val skipPrefabPublishing = System.getenv("REACT_NATIVE_SKIP_PREFAB") != null
|
||||
val prefabHeadersDir = project.file("$buildDir/prefab-headers")
|
||||
|
||||
// Native versions which are defined inside the version catalog (libs.versions.toml)
|
||||
@@ -635,7 +632,7 @@ android {
|
||||
|
||||
buildFeatures {
|
||||
prefab = true
|
||||
prefabPublishing = !skipPrefabPublishing
|
||||
prefabPublishing = true
|
||||
buildConfig = true
|
||||
}
|
||||
|
||||
|
||||
@@ -63,10 +63,6 @@ if (hermesVersionFile.exists()) {
|
||||
def ndkBuildJobs = Runtime.runtime.availableProcessors().toString()
|
||||
def prefabHeadersDir = new File("$buildDir/prefab-headers")
|
||||
|
||||
// By setting REACT_NATIVE_HERMES_SKIP_PREFAB you can skip prefab publishing, to
|
||||
// reduce the size of the Hermes published .AAR.
|
||||
def skipPrefabPublishing = System.getenv("REACT_NATIVE_HERMES_SKIP_PREFAB") != null
|
||||
|
||||
// We inject the JSI directory used inside the Hermes build with the -DJSI_DIR config.
|
||||
def jsiDir = new File(reactNativeRootDir, "ReactCommon/jsi")
|
||||
|
||||
@@ -245,7 +241,7 @@ android {
|
||||
|
||||
buildFeatures {
|
||||
prefab true
|
||||
prefabPublishing !skipPrefabPublishing
|
||||
prefabPublishing true
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
||||
Reference in New Issue
Block a user