-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
66 additions
and
1 deletion.
There are no files selected for viewing
41 changes: 41 additions & 0 deletions
41
.yarn/patches/@react-native-community-cli-platform-android-npm-14.1.1-9c557ebb09.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
diff --git a/native_modules.gradle b/native_modules.gradle | ||
index 218a860c3816731e20109ddc3ec6aeba27eed89f..4a74e37c6d8075c877384dcd409f735df24cd0c3 100644 | ||
--- a/native_modules.gradle | ||
+++ b/native_modules.gradle | ||
@@ -3,6 +3,8 @@ import groovy.transform.CompileStatic | ||
import org.gradle.initialization.DefaultSettings | ||
import org.apache.tools.ant.taskdefs.condition.Os | ||
|
||
+logger.info("Executing 'native_modules.gradle'") | ||
+ | ||
def generatedFileName = "PackageList.java" | ||
def generatedFilePackage = "com.facebook.react" | ||
def generatedFileContentsTemplate = """ | ||
@@ -144,6 +146,8 @@ void rncli_registerProviders(std::shared_ptr<ComponentDescriptorProviderRegistry | ||
} // namespace facebook | ||
""" | ||
|
||
+logger.info("native_modules.gradle: declared templates") | ||
+ | ||
class ReactNativeModules { | ||
private Logger logger | ||
private ProviderFactory providers | ||
@@ -516,6 +520,7 @@ class ReactNativeModules { | ||
} | ||
} | ||
|
||
+logger.info("native_modules.gradle: declared class") | ||
|
||
/* | ||
* Sometimes Gradle can be called outside of JavaScript hierarchy. Detect the directory | ||
@@ -523,8 +528,10 @@ class ReactNativeModules { | ||
*/ | ||
def projectRoot = rootProject.projectDir | ||
|
||
+logger.info("native_modules.gradle: instantiate ReactNativeModules") | ||
def autoModules = new ReactNativeModules(logger, providers, projectRoot) | ||
|
||
+logger.info("native_modules.gradle: exports") | ||
def reactNativeVersionRequireNewArchEnabled(autoModules) { | ||
def rnVersion = autoModules.reactNativeVersion | ||
def regexPattern = /^(\d+)\.(\d+)\.(\d+)(?:-(\w+(?:[-.]\d+)?))?$/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters