-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
1 changed file
with
38 additions
and
0 deletions.
There are no files selected for viewing
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,38 @@ | ||
diff --git a/node_modules/react-native/ReactAndroid/build.gradle b/node_modules/react-native/ReactAndroid/build.gradle | ||
index 155cb59..5b61e5a 100644 | ||
--- a/node_modules/react-native/ReactAndroid/build.gradle | ||
+++ b/node_modules/react-native/ReactAndroid/build.gradle | ||
@@ -420,12 +420,8 @@ android { | ||
|
||
// Used to override the NDK path/version on internal CI or by allowing | ||
// users to customize the NDK path/version from their root project (e.g. for M1 support) | ||
- if (rootProject.hasProperty("ndkPath")) { | ||
- ndkPath rootProject.ext.ndkPath | ||
- } | ||
- if (rootProject.hasProperty("ndkVersion")) { | ||
- ndkVersion rootProject.ext.ndkVersion | ||
- } | ||
+ ndkPath = "/usr/local/share/android-sdk/ndk-bundle" | ||
+ | ||
|
||
defaultConfig { | ||
minSdkVersion(21) | ||
diff --git a/node_modules/react-native/ReactAndroid/hermes-engine/build.gradle b/node_modules/react-native/ReactAndroid/hermes-engine/build.gradle | ||
index c714f87..62173ba 100644 | ||
--- a/node_modules/react-native/ReactAndroid/hermes-engine/build.gradle | ||
+++ b/node_modules/react-native/ReactAndroid/hermes-engine/build.gradle | ||
@@ -120,12 +120,8 @@ android { | ||
|
||
// Used to override the NDK path/version on internal CI or by allowing | ||
// users to customize the NDK path/version from their root project (e.g. for M1 support) | ||
- if (rootProject.hasProperty("ndkPath")) { | ||
- ndkPath rootProject.ext.ndkPath | ||
- } | ||
- if (rootProject.hasProperty("ndkVersion")) { | ||
- ndkVersion rootProject.ext.ndkVersion | ||
- } | ||
+ ndkPath = "/usr/local/share/android-sdk/ndk-bundle" | ||
+ | ||
|
||
defaultConfig { | ||
minSdkVersion 21 |