fix: Fix Frame Processors not building because of hasWorklets
flag (#2137)
This commit is contained in:
parent
bb59c0a3b6
commit
24ddca3409
@ -107,7 +107,7 @@ android {
|
|||||||
cppFlags "-O2 -frtti -fexceptions -Wall -Wno-unused-variable -fstack-protector-all"
|
cppFlags "-O2 -frtti -fexceptions -Wall -Wno-unused-variable -fstack-protector-all"
|
||||||
arguments "-DANDROID_STL=c++_shared",
|
arguments "-DANDROID_STL=c++_shared",
|
||||||
"-DNODE_MODULES_DIR=${nodeModules}",
|
"-DNODE_MODULES_DIR=${nodeModules}",
|
||||||
"-DENABLE_FRAME_PROCESSORS=${hasWorklets}"
|
"-DENABLE_FRAME_PROCESSORS=${hasWorklets ? "ON" : "OFF"}"
|
||||||
abiFilters (*reactNativeArchitectures())
|
abiFilters (*reactNativeArchitectures())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user