Skip to content

Commit 91d285d

Browse files
committed
fix: Don't build CMake ourselves - the consumer app will build it
1 parent b2fdab6 commit 91d285d

File tree

1 file changed

+0
-35
lines changed

1 file changed

+0
-35
lines changed

package/android/build.gradle

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -29,45 +29,13 @@ android {
2929
defaultConfig {
3030
minSdkVersion getExtOrIntegerDefault("minSdkVersion")
3131
targetSdkVersion getExtOrIntegerDefault("targetSdkVersion")
32-
33-
externalNativeBuild {
34-
cmake {
35-
arguments "-DANDROID_STL=c++_shared",
36-
"-DANDROID_TOOLCHAIN=clang"
37-
cppFlags "-O2 -frtti -fexceptions -Wall -fstack-protector-all"
38-
}
39-
}
40-
}
41-
42-
externalNativeBuild {
43-
cmake {
44-
path "CMakeLists.txt"
45-
}
4632
}
4733

4834
buildFeatures {
4935
buildConfig true
5036
prefab true
5137
}
5238

53-
buildTypes {
54-
debug {
55-
externalNativeBuild {
56-
cmake {
57-
arguments "-DHERMES_ENABLE_DEBUGGER=1"
58-
}
59-
}
60-
}
61-
release {
62-
externalNativeBuild {
63-
cmake {
64-
arguments "-DHERMES_ENABLE_DEBUGGER=0"
65-
}
66-
}
67-
minifyEnabled false
68-
}
69-
}
70-
7139
lintOptions {
7240
disable "GradleCompatible"
7341
}
@@ -84,9 +52,6 @@ dependencies {
8452
// For > 0.71, this will be replaced by `com.facebook.react:react-android:$version` by react gradle plugin
8553
//noinspection GradleDynamicVersion
8654
implementation "com.facebook.react:react-native:+"
87-
88-
// Requires Hermes Runtime
89-
implementation "com.facebook.react:hermes-android"
9055
}
9156

9257
react {

0 commit comments

Comments
 (0)