Skip to content

refactor: Split cmake and podspec for worklets#6334

Merged
tjzel merged 11 commits intomainfrom
@tjzel/worklets/split-cmake-and-podspec
Jul 31, 2024
Merged

refactor: Split cmake and podspec for worklets#6334
tjzel merged 11 commits intomainfrom
@tjzel/worklets/split-cmake-and-podspec

Conversation

@tjzel
Copy link
Copy Markdown
Collaborator

@tjzel tjzel commented Jul 26, 2024

Summary

This is another step towards extracting react-native-worklets. We split CMakeLists.txt for targets reanimated and worklets, and also split .podspec for two subspecs.

The native code is still a bit tangled (Worklets require headers from Reanimated etc.), it will be tackled in future PRs.

Test plan

Example apps build and run:

  • on Paper:
    • in development
    • in production
  • on Fabric:
    • in development
    • in production

@tjzel tjzel requested review from piaskowyk and tomekzaw July 26, 2024 14:13
@tjzel tjzel force-pushed the @tjzel/worklets/split-cmake-and-podspec branch from 1116f98 to eb5c0d6 Compare July 26, 2024 14:16
Comment thread packages/react-native-reanimated/RNReanimated.podspec Outdated
Comment thread packages/react-native-reanimated/RNReanimated.podspec Outdated
Comment thread packages/react-native-reanimated/RNReanimated.podspec Outdated
Comment thread packages/react-native-reanimated/RNReanimated.podspec Outdated
Comment thread packages/react-native-reanimated/android/src/main/worklets/CMakeLists.txt Outdated
Comment thread packages/react-native-reanimated/android/src/main/reanimated/CMakeLists.txt Outdated
Comment thread packages/react-native-reanimated/android/src/main/reanimated/CMakeLists.txt Outdated
Comment thread packages/react-native-reanimated/android/src/main/reanimated/CMakeLists.txt Outdated
Comment thread packages/react-native-reanimated/android/src/main/reanimated/CMakeLists.txt Outdated
Comment thread packages/react-native-reanimated/android/src/main/reanimated/CMakeLists.txt Outdated
Comment thread packages/react-native-reanimated/android/src/main/worklets/CMakeLists.txt Outdated
Comment thread packages/react-native-reanimated/android/src/main/worklets/CMakeLists.txt Outdated
r0h0gg6 pushed a commit to r0h0gg6/react-native-reanimated that referenced this pull request Jul 28, 2025
## Summary

This is another step towards extracting `react-native-worklets`. We
split `CMakeLists.txt` for targets `reanimated` and `worklets`, and also
split `.podspec` for two subspecs.

The native code is still a bit tangled (Worklets require headers from
Reanimated etc.), it will be tackled in future PRs.

## Test plan

Example apps build and run:
- on Paper:
  - [x] in development
  - [x] in production
- on Fabric:
  - [x] in development
  - [x] in production
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants