File tree Expand file tree Collapse file tree
packages/react-native-executorch/android Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -104,6 +104,12 @@ android {
104104 buildConfig true
105105 }
106106
107+ prefab {
108+ " react-native-executorch" {
109+ headers " src/main/cpp"
110+ }
111+ }
112+
107113 compileSdkVersion getExtOrIntegerDefault(" compileSdkVersion" )
108114
109115 defaultConfig {
@@ -114,8 +120,8 @@ android {
114120 cppFlags " -O2 -frtti -fexceptions -Wall -fstack-protector-all -fopenmp -static-openmp"
115121 abiFilters (* reactNativeArchitectures())
116122 arguments " -DANDROID_STL=c++_shared" ,
117- " -DREACT_NATIVE_DIR=${ toPlatformFileString(reactNativeRootDir.path)} "
118- " -DBUILD_DIR=${ project.buildDir} "
123+ " -DREACT_NATIVE_DIR=${ toPlatformFileString(reactNativeRootDir.path)} " ,
124+ " -DBUILD_DIR=${ project.buildDir} " ,
119125 " -DANDROID_TOOLCHAIN=clang"
120126 }
121127 }
You can’t perform that action at this time.
0 commit comments