-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: preliminary use of react-native-worklets in reanimated #6807
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Additional find_package
and linking here is due to fact that react-native-reanimated/android/src/main/cpp/reanimated/CMakeLists.txt
and react-native-reanimated/android/src/main/cpp/worklets/CMakeLists.txt
aren't working in separation. Not including the worklets' CMakeLists.txt causes Reanimated to fail at compilation because it depends on it secretly.
Summary
Adding necessary code to detect if
react-native-worklets
is available and change the build behavior. At the moment we forcefully make itfalse
sincereact-native-worklets
is a stub.Test plan
CI