File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -33,16 +33,10 @@ def reactNativeArchitectures() {
3333 return architectures. findAll { it in defaultArchitectures }
3434}
3535
36- def isNewArchitectureEnabled () {
37- return rootProject. hasProperty(" newArchEnabled" ) && rootProject. getProperty(" newArchEnabled" ) == " true"
38- }
39-
4036apply plugin : " com.android.library"
4137apply plugin : " kotlin-android"
38+ apply plugin : " com.facebook.react"
4239
43- if (isNewArchitectureEnabled()) {
44- apply plugin : " com.facebook.react"
45- }
4640
4741def getExtOrDefault (name ) {
4842 return rootProject. ext. has(name) ? rootProject. ext. get(name) : project. properties[" RnExecutorch_" + name]
@@ -115,7 +109,6 @@ android {
115109 defaultConfig {
116110 minSdkVersion getExtOrIntegerDefault(" minSdkVersion" )
117111 targetSdkVersion getExtOrIntegerDefault(" targetSdkVersion" )
118- buildConfigField(" boolean" , " IS_NEW_ARCHITECTURE_ENABLED" , isNewArchitectureEnabled(). toString())
119112 externalNativeBuild {
120113 cmake {
121114 cppFlags " -O2 -frtti -fexceptions -Wall -fstack-protector-all"
You can’t perform that action at this time.
0 commit comments