react-native-reanimated 2.9.1 → 2.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Common/cpp/AnimatedSensor/AnimatedSensorModule.cpp +7 -4
- package/Common/cpp/{headers/AnimatedSensor → AnimatedSensor}/AnimatedSensorModule.h +0 -0
- package/Common/cpp/LayoutAnimations/LayoutAnimationsProxy.cpp +2 -0
- package/Common/cpp/{headers/LayoutAnimations → LayoutAnimations}/LayoutAnimationsProxy.h +0 -0
- package/Common/cpp/NativeModules/NativeReanimatedModule.cpp +40 -0
- package/Common/cpp/{headers/NativeModules → NativeModules}/NativeReanimatedModule.h +13 -0
- package/Common/cpp/NativeModules/NativeReanimatedModuleSpec.cpp +25 -0
- package/Common/cpp/{headers/NativeModules → NativeModules}/NativeReanimatedModuleSpec.h +9 -1
- package/Common/cpp/{headers/Registries → Registries}/EventHandlerRegistry.h +0 -0
- package/Common/cpp/Registries/MapperRegistry.cpp +3 -1
- package/Common/cpp/{headers/Registries → Registries}/MapperRegistry.h +0 -0
- package/Common/cpp/Registries/WorkletsCache.cpp +3 -0
- package/Common/cpp/{headers/Registries → Registries}/WorkletsCache.h +0 -0
- package/Common/cpp/{headers/SharedItems → SharedItems}/FrozenObject.h +0 -0
- package/Common/cpp/{headers/SharedItems → SharedItems}/HostFunctionHandler.h +0 -0
- package/Common/cpp/SharedItems/MutableValue.cpp +2 -0
- package/Common/cpp/{headers/SharedItems → SharedItems}/MutableValue.h +0 -0
- package/Common/cpp/{headers/SharedItems → SharedItems}/MutableValueSetterProxy.h +0 -0
- package/Common/cpp/{headers/SharedItems → SharedItems}/RemoteObject.h +0 -0
- package/Common/cpp/{headers/SharedItems → SharedItems}/RuntimeManager.h +0 -0
- package/Common/cpp/SharedItems/ShareableValue.cpp +7 -2
- package/Common/cpp/{headers/SharedItems → SharedItems}/ShareableValue.h +0 -0
- package/Common/cpp/{headers/SharedItems → SharedItems}/SharedParent.h +0 -0
- package/Common/cpp/{headers/SharedItems → SharedItems}/ValueWrapper.h +0 -0
- package/Common/cpp/{headers/SpecTools → SpecTools}/ErrorHandler.h +0 -0
- package/Common/cpp/{headers/Tools → Tools}/FeaturesConfig.h +0 -0
- package/Common/cpp/Tools/JSIStoreValueUser.cpp +2 -2
- package/Common/cpp/{headers/Tools → Tools}/JSIStoreValueUser.h +0 -0
- package/Common/cpp/{headers/Tools → Tools}/Mapper.h +0 -0
- package/Common/cpp/{headers/Tools → Tools}/PlatformDepMethodsHolder.h +5 -0
- package/Common/cpp/{headers/Tools → Tools}/ReanimatedHiddenHeaders.h +1 -1
- package/Common/cpp/{headers/Tools → Tools}/RuntimeDecorator.h +0 -0
- package/Common/cpp/{headers/Tools → Tools}/Scheduler.h +0 -0
- package/Common/cpp/Tools/SingleInstanceChecker.h +58 -0
- package/Common/cpp/{headers/Tools → Tools}/WorkletEventHandler.h +0 -0
- package/RNReanimated.podspec +18 -58
- package/android/.gradle/7.5.1/checksums/checksums.lock +0 -0
- package/android/.gradle/7.5.1/checksums/md5-checksums.bin +0 -0
- package/android/.gradle/7.5.1/checksums/sha1-checksums.bin +0 -0
- package/android/.gradle/7.5.1/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/android/.gradle/{7.2 → 7.5.1}/dependencies-accessors/gc.properties +0 -0
- package/android/.gradle/7.5.1/executionHistory/executionHistory.bin +0 -0
- package/android/.gradle/7.5.1/executionHistory/executionHistory.lock +0 -0
- package/android/.gradle/{7.2 → 7.5.1}/fileChanges/last-build.bin +0 -0
- package/android/.gradle/7.5.1/fileHashes/fileHashes.bin +0 -0
- package/android/.gradle/7.5.1/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/{7.2 → 7.5.1}/fileHashes/resourceHashesCache.bin +0 -0
- package/android/.gradle/{7.2 → 7.5.1}/gc.properties +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +2 -2
- package/android/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
- package/android/.gradle/file-system.probe +0 -0
- package/android/CMakeLists.txt +223 -113
- package/android/build.gradle +480 -195
- package/android/gradle/wrapper/gradle-wrapper.properties +1 -1
- package/android/react-native-reanimated-66-hermes.aar +0 -0
- package/android/react-native-reanimated-66-jsc.aar +0 -0
- package/android/react-native-reanimated-67-hermes.aar +0 -0
- package/android/react-native-reanimated-67-jsc.aar +0 -0
- package/android/react-native-reanimated-68-hermes.aar +0 -0
- package/android/react-native-reanimated-68-jsc.aar +0 -0
- package/android/react-native-reanimated-69-hermes.aar +0 -0
- package/android/react-native-reanimated-69-jsc.aar +0 -0
- package/android/react-native-reanimated-70-hermes.aar +0 -0
- package/android/react-native-reanimated-70-jsc.aar +0 -0
- package/{lib/types/lib/reanimated2/platform-specific/RNRenderer.web.d.ts → android/rnVersionPatch/70/.gitkeep} +0 -0
- package/android/src/main/cpp/AndroidErrorHandler.cpp +3 -4
- package/android/src/main/cpp/{headers/AndroidErrorHandler.h → AndroidErrorHandler.h} +1 -4
- package/android/src/main/cpp/AndroidLogger.cpp +4 -1
- package/android/src/main/cpp/{headers/AndroidLogger.h → AndroidLogger.h} +0 -0
- package/android/src/main/cpp/{headers/AndroidScheduler.h → AndroidScheduler.h} +0 -0
- package/android/src/main/cpp/{headers/JNIHelper.h → JNIHelper.h} +0 -0
- package/android/src/main/cpp/{headers/LayoutAnimations.h → LayoutAnimations.h} +0 -0
- package/android/src/main/cpp/NativeProxy.cpp +60 -28
- package/android/src/main/cpp/{headers/NativeProxy.h → NativeProxy.h} +29 -0
- package/android/src/main/cpp/OnLoad.cpp +1 -0
- package/android/src/main/cpp/{headers/TurboModule.h → TurboModule.h} +0 -0
- package/android/src/main/java/com/swmansion/reanimated/NativeProxy.java +29 -5
- package/android/src/main/java/com/swmansion/reanimated/NodesManager.java +3 -1
- package/android/src/main/java/com/swmansion/reanimated/keyboardObserver/ReanimatedKeyboardEventListener.java +166 -0
- package/android/src/main/java/com/swmansion/reanimated/layoutReanimation/AnimationsManager.java +19 -16
- package/android/src/main/java/com/swmansion/reanimated/sensor/ReanimatedSensor.java +5 -1
- package/android/src/main/java/com/swmansion/reanimated/sensor/ReanimatedSensorType.java +1 -1
- package/ios/{REAModule.m → REAModule.mm} +12 -0
- package/ios/REANodesManager.m +31 -8
- package/ios/keyboardObserver/REAKeyboardEventObserver.h +17 -0
- package/ios/keyboardObserver/REAKeyboardEventObserver.m +198 -0
- package/ios/native/NativeProxy.mm +24 -3
- package/ios/native/REAInitializer.h +2 -2
- package/ios/native/REAInitializer.mm +10 -14
- package/ios/native/UIResponder+Reanimated.mm +1 -1
- package/ios/sensor/ReanimatedSensor.m +26 -17
- package/lib/index.js +11 -3
- package/lib/index.web.js +6 -0
- package/lib/reanimated2/Colors.js +1 -1
- package/lib/reanimated2/NativeMethods.js +34 -17
- package/lib/reanimated2/NativeReanimated/NativeReanimated.js +6 -0
- package/lib/reanimated2/animation/util.js +4 -1
- package/lib/reanimated2/commonTypes.js +8 -1
- package/lib/reanimated2/component/FlatList.js +5 -5
- package/lib/reanimated2/core.js +5 -4
- package/lib/reanimated2/frameCallback/FrameCallbackRegistryJS.js +32 -0
- package/lib/reanimated2/frameCallback/FrameCallbackRegistryUI.js +76 -0
- package/lib/reanimated2/globals.d.ts +5 -2
- package/lib/reanimated2/hook/index.js +3 -0
- package/lib/reanimated2/hook/useAnimatedKeyboard.js +31 -0
- package/lib/reanimated2/hook/useAnimatedSensor.js +3 -3
- package/lib/reanimated2/hook/useFrameCallback.js +23 -0
- package/lib/reanimated2/hook/useScrollViewOffset.js +26 -0
- package/lib/reanimated2/jestUtils.js +11 -3
- package/lib/reanimated2/js-reanimated/JSReanimated.js +7 -0
- package/lib/reanimated2/js-reanimated/global.js +33 -22
- package/lib/reanimated2/layoutReanimation/LayoutAnimationRepository.js +1 -1
- package/lib/reanimated2/utils.js +10 -3
- package/lib/types/{lib/Animated.d.ts → Animated.d.ts} +0 -0
- package/lib/types/{lib/ConfigHelper.d.ts → ConfigHelper.d.ts} +0 -0
- package/lib/types/{lib/ReanimatedEventEmitter.d.ts → ReanimatedEventEmitter.d.ts} +0 -0
- package/lib/types/{lib/ReanimatedModule.d.ts → ReanimatedModule.d.ts} +0 -0
- package/lib/types/{lib/ReanimatedModule.macos.d.ts → ReanimatedModule.macos.d.ts} +0 -0
- package/lib/types/{lib/ReanimatedModule.native.d.ts → ReanimatedModule.native.d.ts} +0 -0
- package/lib/types/{lib/ReanimatedModule.windows.d.ts → ReanimatedModule.windows.d.ts} +0 -0
- package/lib/types/{lib/ReanimatedModuleCompat.d.ts → ReanimatedModuleCompat.d.ts} +0 -0
- package/lib/types/{lib/createAnimatedComponent.d.ts → createAnimatedComponent.d.ts} +0 -0
- package/lib/types/index.d.ts +4 -0
- package/lib/types/{lib/index.d.ts → index.web.d.ts} +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/Bezier.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/Colors.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/Easing.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/NativeMethods.d.ts +3 -10
- package/lib/types/{lib/reanimated2 → reanimated2}/NativeReanimated/NativeReanimated.d.ts +3 -1
- package/lib/types/{lib/reanimated2 → reanimated2}/NativeReanimated/index.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/PlatformChecker.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/PropAdapters.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/UpdateProps.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/ViewDescriptorsSet.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/WorkletEventHandler.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/__mocks__/MutableValue.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/__mocks__/NativeReanimated.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/animation/commonTypes.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/animation/decay.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/animation/delay.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/animation/index.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/animation/repeat.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/animation/sequence.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/animation/spring.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/animation/styleAnimation.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/animation/timing.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/animation/util.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/commonTypes.d.ts +20 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/component/FlatList.d.ts +2 -2
- package/lib/types/{lib/reanimated2 → reanimated2}/component/Image.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/component/ScrollView.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/component/Text.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/component/View.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/core.d.ts +0 -0
- package/lib/types/reanimated2/frameCallback/FrameCallbackRegistryJS.d.ts +8 -0
- package/lib/types/reanimated2/frameCallback/FrameCallbackRegistryUI.d.ts +6 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/hook/Hooks.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/hook/commonTypes.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/hook/index.d.ts +4 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/hook/useAnimatedGestureHandler.d.ts +0 -0
- package/lib/types/reanimated2/hook/useAnimatedKeyboard.d.ts +2 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/hook/useAnimatedReaction.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/hook/useAnimatedRef.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/hook/useAnimatedScrollHandler.d.ts +1 -2
- package/lib/types/{lib/reanimated2 → reanimated2}/hook/useAnimatedSensor.d.ts +1 -1
- package/lib/types/{lib/reanimated2 → reanimated2}/hook/useAnimatedStyle.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/hook/useDerivedValue.d.ts +0 -0
- package/lib/types/reanimated2/hook/useFrameCallback.d.ts +7 -0
- package/lib/types/reanimated2/hook/useScrollViewOffset.d.ts +4 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/hook/useSharedValue.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/hook/utils.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/index.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/interpolateColor.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/interpolation.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/jestUtils.d.ts +1 -1
- package/lib/types/{lib/reanimated2 → reanimated2}/js-reanimated/JSReanimated.d.ts +3 -1
- package/lib/types/{lib/reanimated2 → reanimated2}/js-reanimated/Mapper.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/js-reanimated/MapperRegistry.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/js-reanimated/MutableValue.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/js-reanimated/commonTypes.d.ts +0 -0
- package/lib/types/reanimated2/js-reanimated/global.d.ts +2 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/js-reanimated/index.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/layoutReanimation/LayoutAnimationRepository.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/layoutReanimation/animationBuilder/BaseAnimationBuilder.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/layoutReanimation/animationBuilder/ComplexAnimationBuilder.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/layoutReanimation/animationBuilder/Keyframe.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/layoutReanimation/animationBuilder/commonTypes.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/layoutReanimation/animationBuilder/index.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/layoutReanimation/defaultAnimations/Bounce.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/layoutReanimation/defaultAnimations/Default.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/layoutReanimation/defaultAnimations/Fade.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/layoutReanimation/defaultAnimations/Flip.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/layoutReanimation/defaultAnimations/Lightspeed.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/layoutReanimation/defaultAnimations/Pinwheel.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/layoutReanimation/defaultAnimations/Roll.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/layoutReanimation/defaultAnimations/Rotate.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/layoutReanimation/defaultAnimations/Slide.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/layoutReanimation/defaultAnimations/Stretch.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/layoutReanimation/defaultAnimations/Zoom.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/layoutReanimation/defaultAnimations/index.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/layoutReanimation/defaultTransitions/CurvedTransition.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/layoutReanimation/defaultTransitions/EntryExitTransition.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/layoutReanimation/defaultTransitions/FadingTransition.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/layoutReanimation/defaultTransitions/JumpingTransition.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/layoutReanimation/defaultTransitions/LinearTransition.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/layoutReanimation/defaultTransitions/SequencedTransition.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/layoutReanimation/defaultTransitions/index.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/layoutReanimation/index.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/mock.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/platform-specific/RNRenderer.d.ts +0 -0
- package/lib/types/reanimated2/platform-specific/RNRenderer.web.d.ts +0 -0
- package/lib/types/{lib/reanimated2 → reanimated2}/utils.d.ts +5 -1
- package/lib/types/{lib/setAndForwardRef.d.ts → setAndForwardRef.d.ts} +0 -0
- package/mock.js +1 -0
- package/package.json +8 -8
- package/plugin.js +8 -17
- package/react-native-reanimated.d.ts +67 -12
- package/scripts/reanimated_utils.rb +65 -0
- package/src/index.ts +11 -3
- package/src/index.web.ts +7 -0
- package/src/reanimated2/Colors.ts +1 -1
- package/src/reanimated2/NativeMethods.ts +47 -30
- package/src/reanimated2/NativeReanimated/NativeReanimated.ts +9 -0
- package/src/reanimated2/animation/util.ts +8 -1
- package/src/reanimated2/commonTypes.ts +24 -0
- package/src/reanimated2/component/FlatList.tsx +29 -19
- package/src/reanimated2/core.ts +8 -8
- package/src/reanimated2/frameCallback/FrameCallbackRegistryJS.ts +40 -0
- package/src/reanimated2/frameCallback/FrameCallbackRegistryUI.ts +115 -0
- package/src/reanimated2/globals.d.ts +5 -2
- package/src/reanimated2/hook/index.ts +4 -0
- package/src/reanimated2/hook/useAnimatedKeyboard.ts +35 -0
- package/src/reanimated2/hook/useAnimatedScrollHandler.ts +3 -1
- package/src/reanimated2/hook/useAnimatedSensor.ts +5 -5
- package/src/reanimated2/hook/useFrameCallback.ts +40 -0
- package/src/reanimated2/hook/useScrollViewOffset.ts +36 -0
- package/src/reanimated2/jestUtils.ts +11 -3
- package/src/reanimated2/js-reanimated/JSReanimated.ts +16 -1
- package/src/reanimated2/js-reanimated/global.ts +41 -29
- package/src/reanimated2/layoutReanimation/LayoutAnimationRepository.ts +1 -1
- package/src/reanimated2/utils.ts +12 -5
- package/android/.gradle/7.2/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/android/.gradle/7.2/executionHistory/executionHistory.bin +0 -0
- package/android/.gradle/7.2/executionHistory/executionHistory.lock +0 -0
- package/android/.gradle/7.2/fileHashes/fileHashes.bin +0 -0
- package/android/.gradle/7.2/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/checksums/checksums.lock +0 -0
- package/android/.gradle/checksums/md5-checksums.bin +0 -0
- package/android/.gradle/checksums/sha1-checksums.bin +0 -0
- package/android/react-native-reanimated-65-hermes.aar +0 -0
- package/android/react-native-reanimated-65-jsc.aar +0 -0
- package/android/src/main/java/com/swmansion/reanimated/AndroidErrorHandler.java +0 -8
- package/lib/reanimated2/__mocks__/NativeReanimated.native.js +0 -20
- package/lib/types/lib/reanimated2/__mocks__/NativeReanimated.native.d.ts +0 -13
- package/lib/types/lib/reanimated2/js-reanimated/global.d.ts +0 -1
- package/lib/types/react-native-reanimated-tests.d.ts +0 -1
package/android/CMakeLists.txt
CHANGED
|
@@ -1,11 +1,20 @@
|
|
|
1
1
|
project(Reanimated)
|
|
2
|
-
cmake_minimum_required(VERSION 3.
|
|
2
|
+
cmake_minimum_required(VERSION 3.8)
|
|
3
3
|
|
|
4
4
|
set (CMAKE_VERBOSE_MAKEFILE ON)
|
|
5
|
-
set (CMAKE_CXX_STANDARD
|
|
6
|
-
set (
|
|
5
|
+
set (CMAKE_CXX_STANDARD 17)
|
|
6
|
+
set (DEFAULT_FLAGS "-DFOLLY_NO_CONFIG=1 -DFOLLY_HAVE_CLOCK_GETTIME=1 -DFOLLY_HAVE_MEMRCHR=1 -DFOLLY_USE_LIBCPP=1 -DFOLLY_MOBILE=1 -DFOLLY_HAVE_RECVMMSG=1 -DFOLLY_HAVE_PTHREAD=1 -DANDROID -DREACT_NATIVE_MINOR_VERSION=${REACT_NATIVE_MINOR_VERSION} -fexceptions -fno-omit-frame-pointer -frtti -Wno-sign-compare -std=c++17 -Wall -Werror")
|
|
7
|
+
if(${IS_NEW_ARCHITECTURE_ENABLED})
|
|
8
|
+
set (ALL_FLAGS "${DEFAULT_FLAGS} -DRCT_NEW_ARCH_ENABLED")
|
|
9
|
+
else()
|
|
10
|
+
set (ALL_FLAGS ${DEFAULT_FLAGS})
|
|
11
|
+
endif()
|
|
12
|
+
if(${CMAKE_BUILD_TYPE} STREQUAL "Debug" AND NOT ${REANIMATED_PACKAGE_BUILD} STREQUAL "1")
|
|
13
|
+
set (ALL_FLAGS "${ALL_FLAGS} -DDEBUG")
|
|
14
|
+
endif()
|
|
15
|
+
set (CMAKE_CXX_FLAGS ${ALL_FLAGS})
|
|
7
16
|
|
|
8
|
-
if(${
|
|
17
|
+
if(${CMAKE_BUILD_TYPE} STREQUAL "Debug" AND NOT ${REANIMATED_PACKAGE_BUILD} STREQUAL "1")
|
|
9
18
|
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -g")
|
|
10
19
|
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -g")
|
|
11
20
|
endif()
|
|
@@ -17,54 +26,45 @@ set (PACKAGE_NAME "reanimated")
|
|
|
17
26
|
set (BUILD_DIR ${CMAKE_SOURCE_DIR}/build)
|
|
18
27
|
set (SRC_DIR ${CMAKE_SOURCE_DIR}/src)
|
|
19
28
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
29
|
+
set (COMMON_SRC_DIR "${CMAKE_SOURCE_DIR}/../Common")
|
|
30
|
+
if(${IS_NEW_ARCHITECTURE_ENABLED})
|
|
31
|
+
if(${CLIENT_SIDE_BUILD})
|
|
32
|
+
set (RN_SO_DIR "${CMAKE_SOURCE_DIR}/../../../android/app/build/react-ndk/exported")
|
|
33
|
+
set (FBJNI_HEADERS_DIR "${REACT_NATIVE_DIR}/ReactAndroid/src/main/jni/first-party/fbjni/headers")
|
|
34
|
+
else()
|
|
35
|
+
# Reanimated Playground app
|
|
36
|
+
set (RN_SO_DIR "${CMAKE_SOURCE_DIR}/../${PLAYGROUND_APP_NAME}/android/app/build/react-ndk/exported")
|
|
37
|
+
set (FBJNI_HEADERS_DIR "${REACT_NATIVE_DIR}/ReactAndroid/src/main/jni/first-party/fbjni/headers")
|
|
38
|
+
|
|
39
|
+
endif()
|
|
23
40
|
else()
|
|
24
|
-
set (
|
|
25
|
-
set (
|
|
41
|
+
set (RN_SO_DIR ${REACT_NATIVE_DIR}/ReactAndroid/src/main/jni/first-party/react/jni)
|
|
42
|
+
set (FBJNI_HEADERS_DIR "${REACT_NATIVE_DIR}/ReactAndroid/src/main/jni/first-party/fbjni/headers")
|
|
26
43
|
endif()
|
|
27
44
|
|
|
28
|
-
|
|
29
|
-
set (FBJNI_HEADERS_DIR ${RN_SO_DIR}/../../fbjni/headers)
|
|
30
|
-
|
|
31
|
-
# reanimated shared
|
|
45
|
+
file (GLOB LIBRN_DIR "${RN_SO_DIR}/${ANDROID_ABI}")
|
|
32
46
|
|
|
33
|
-
file(
|
|
34
|
-
file(
|
|
35
|
-
file(GLOB sources_shared_items "${COMMON_SRC_DIR}/cpp/SharedItems/*.cpp")
|
|
36
|
-
file(GLOB sources_registries "${COMMON_SRC_DIR}/cpp/Registries/*.cpp")
|
|
37
|
-
file(GLOB sources_android "${SRC_DIR}/main/cpp/*.cpp")
|
|
47
|
+
file(GLOB_RECURSE SOURCES_COMMON CONFIGURE_DEPENDS "${COMMON_SRC_DIR}/cpp/**.cpp")
|
|
48
|
+
file(GLOB_RECURSE SOURCES_ANDROID CONFIGURE_DEPENDS "${SRC_DIR}/main/cpp/**.cpp")
|
|
38
49
|
|
|
39
|
-
if(${
|
|
50
|
+
if(${REACT_NATIVE_MINOR_VERSION} LESS 66)
|
|
40
51
|
set (
|
|
41
52
|
INCLUDE_JSI_CPP
|
|
42
|
-
"${
|
|
53
|
+
"${REACT_NATIVE_DIR}/ReactCommon/jsi/jsi/jsi.cpp"
|
|
43
54
|
)
|
|
44
55
|
set (
|
|
45
56
|
INCLUDE_JSIDYNAMIC_CPP
|
|
46
|
-
"${
|
|
57
|
+
"${REACT_NATIVE_DIR}/ReactCommon/jsi/jsi/JSIDynamic.cpp"
|
|
47
58
|
)
|
|
48
59
|
endif()
|
|
49
60
|
|
|
50
61
|
add_library(
|
|
51
62
|
${PACKAGE_NAME}
|
|
52
63
|
SHARED
|
|
53
|
-
${
|
|
54
|
-
${
|
|
55
|
-
${sources_registries}
|
|
56
|
-
${sources_android}
|
|
57
|
-
${source_tools}
|
|
64
|
+
${SOURCES_COMMON}
|
|
65
|
+
${SOURCES_ANDROID}
|
|
58
66
|
${INCLUDE_JSI_CPP}
|
|
59
67
|
${INCLUDE_JSIDYNAMIC_CPP}
|
|
60
|
-
"${COMMON_SRC_DIR}/cpp/Tools/JSIStoreValueUser.cpp"
|
|
61
|
-
"${COMMON_SRC_DIR}/cpp/Tools/Mapper.cpp"
|
|
62
|
-
"${COMMON_SRC_DIR}/cpp/Tools/RuntimeDecorator.cpp"
|
|
63
|
-
"${COMMON_SRC_DIR}/cpp/Tools/Scheduler.cpp"
|
|
64
|
-
"${COMMON_SRC_DIR}/cpp/Tools/WorkletEventHandler.cpp"
|
|
65
|
-
"${COMMON_SRC_DIR}/cpp/Tools/FeaturesConfig.cpp"
|
|
66
|
-
"${COMMON_SRC_DIR}/cpp/LayoutAnimations/LayoutAnimationsProxy.cpp"
|
|
67
|
-
"${COMMON_SRC_DIR}/cpp/AnimatedSensor/AnimatedSensorModule.cpp"
|
|
68
68
|
)
|
|
69
69
|
|
|
70
70
|
# includes
|
|
@@ -79,79 +79,47 @@ target_include_directories(
|
|
|
79
79
|
"${BUILD_DIR}/third-party-ndk/double-conversion"
|
|
80
80
|
"${BUILD_DIR}/third-party-ndk/folly"
|
|
81
81
|
"${BUILD_DIR}/third-party-ndk/glog/exported"
|
|
82
|
-
"${
|
|
83
|
-
"${
|
|
84
|
-
"${
|
|
85
|
-
"${
|
|
86
|
-
"${
|
|
87
|
-
"${
|
|
88
|
-
"${
|
|
89
|
-
"${
|
|
90
|
-
"${
|
|
91
|
-
"${
|
|
92
|
-
"${
|
|
93
|
-
"${
|
|
94
|
-
"${
|
|
95
|
-
"${COMMON_SRC_DIR}/cpp/
|
|
96
|
-
"${COMMON_SRC_DIR}/cpp/
|
|
97
|
-
"${COMMON_SRC_DIR}/cpp/
|
|
98
|
-
"${COMMON_SRC_DIR}/cpp/
|
|
82
|
+
"${REACT_NATIVE_DIR}/React"
|
|
83
|
+
"${REACT_NATIVE_DIR}/React/Base"
|
|
84
|
+
"${REACT_NATIVE_DIR}/ReactAndroid/src/main/jni"
|
|
85
|
+
"${REACT_NATIVE_DIR}/ReactAndroid/src/main/java/com/facebook/react/turbomodule/core/jni"
|
|
86
|
+
"${REACT_NATIVE_DIR}/ReactAndroid/src/main/java/com/facebook/react/fabric/jni"
|
|
87
|
+
"${REACT_NATIVE_DIR}/ReactCommon"
|
|
88
|
+
"${REACT_NATIVE_DIR}/ReactCommon/callinvoker"
|
|
89
|
+
"${REACT_NATIVE_DIR}/ReactCommon/jsi"
|
|
90
|
+
"${REACT_NATIVE_DIR}/ReactCommon/react/renderer/graphics/platform/cxx"
|
|
91
|
+
"${REACT_NATIVE_DIR}/ReactCommon/runtimeexecutor"
|
|
92
|
+
"${REACT_NATIVE_DIR}/ReactCommon/turbomodule/core"
|
|
93
|
+
"${REACT_NATIVE_DIR}/ReactCommon/turbomodule"
|
|
94
|
+
"${REACT_NATIVE_DIR}/ReactCommon/yoga"
|
|
95
|
+
"${COMMON_SRC_DIR}/cpp/Tools"
|
|
96
|
+
"${COMMON_SRC_DIR}/cpp/SpecTools"
|
|
97
|
+
"${COMMON_SRC_DIR}/cpp/NativeModules"
|
|
98
|
+
"${COMMON_SRC_DIR}/cpp/SharedItems"
|
|
99
|
+
"${COMMON_SRC_DIR}/cpp/Registries"
|
|
100
|
+
"${COMMON_SRC_DIR}/cpp/LayoutAnimations"
|
|
101
|
+
"${COMMON_SRC_DIR}/cpp/AnimatedSensor"
|
|
102
|
+
"${COMMON_SRC_DIR}/cpp/Fabric"
|
|
99
103
|
"${COMMON_SRC_DIR}/cpp/hidden_headers"
|
|
100
|
-
"${SRC_DIR}/main/cpp
|
|
104
|
+
"${SRC_DIR}/main/cpp"
|
|
101
105
|
)
|
|
102
106
|
|
|
103
|
-
# find libraries
|
|
104
|
-
|
|
105
|
-
file (GLOB LIBRN_DIR "${RN_SO_DIR}/${ANDROID_ABI}")
|
|
106
|
-
file (GLOB HERMES_DIR "${BUILD_DIR}/third-party-ndk/hermes/jni/${ANDROID_ABI}")
|
|
107
|
-
|
|
108
107
|
find_library(
|
|
109
108
|
LOG_LIB
|
|
110
109
|
log
|
|
111
110
|
)
|
|
112
|
-
find_library(
|
|
113
|
-
HERMES_LIB
|
|
114
|
-
hermes
|
|
115
|
-
PATHS ${HERMES_DIR}
|
|
116
|
-
NO_CMAKE_FIND_ROOT_PATH
|
|
117
|
-
)
|
|
118
|
-
find_library(
|
|
119
|
-
JSEXECUTOR_LIB
|
|
120
|
-
jscexecutor
|
|
121
|
-
PATHS ${LIBRN_DIR}
|
|
122
|
-
NO_CMAKE_FIND_ROOT_PATH
|
|
123
|
-
)
|
|
124
|
-
|
|
125
|
-
if(${REACT_NATIVE_TARGET_VERSION} LESS 69)
|
|
126
|
-
find_library(
|
|
127
|
-
FOLLY_LIB
|
|
128
|
-
folly_json
|
|
129
|
-
PATHS ${LIBRN_DIR}
|
|
130
|
-
NO_CMAKE_FIND_ROOT_PATH
|
|
131
|
-
)
|
|
132
|
-
else()
|
|
133
|
-
find_library(
|
|
134
|
-
FOLLY_LIB
|
|
135
|
-
folly_runtime
|
|
136
|
-
PATHS ${LIBRN_DIR}
|
|
137
|
-
NO_CMAKE_FIND_ROOT_PATH
|
|
138
|
-
)
|
|
139
|
-
endif()
|
|
140
|
-
|
|
141
111
|
find_library(
|
|
142
112
|
REACT_NATIVE_JNI_LIB
|
|
143
113
|
reactnativejni
|
|
144
114
|
PATHS ${LIBRN_DIR}
|
|
145
115
|
NO_CMAKE_FIND_ROOT_PATH
|
|
146
116
|
)
|
|
147
|
-
|
|
148
117
|
find_library(
|
|
149
118
|
GLOG_LIB
|
|
150
119
|
glog
|
|
151
120
|
PATHS ${LIBRN_DIR}
|
|
152
121
|
NO_CMAKE_FIND_ROOT_PATH
|
|
153
122
|
)
|
|
154
|
-
|
|
155
123
|
find_library(
|
|
156
124
|
FBJNI_LIB
|
|
157
125
|
fbjni
|
|
@@ -159,48 +127,183 @@ find_library(
|
|
|
159
127
|
NO_CMAKE_FIND_ROOT_PATH
|
|
160
128
|
)
|
|
161
129
|
|
|
162
|
-
if(${
|
|
163
|
-
|
|
130
|
+
if(${REACT_NATIVE_MINOR_VERSION} LESS 69)
|
|
131
|
+
find_library(
|
|
132
|
+
FOLLY_LIB
|
|
133
|
+
folly_json
|
|
134
|
+
PATHS ${LIBRN_DIR}
|
|
135
|
+
NO_CMAKE_FIND_ROOT_PATH
|
|
136
|
+
)
|
|
164
137
|
else()
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
138
|
+
find_library(
|
|
139
|
+
FOLLY_LIB
|
|
140
|
+
folly_runtime
|
|
141
|
+
PATHS ${LIBRN_DIR}
|
|
142
|
+
NO_CMAKE_FIND_ROOT_PATH
|
|
143
|
+
)
|
|
144
|
+
endif()
|
|
145
|
+
|
|
146
|
+
if(${REACT_NATIVE_MINOR_VERSION} LESS 66)
|
|
147
|
+
set (JSI_LIB "")
|
|
148
|
+
else()
|
|
149
|
+
find_library(
|
|
150
|
+
JSI_LIB
|
|
151
|
+
jsi
|
|
152
|
+
PATHS ${LIBRN_DIR}
|
|
153
|
+
NO_CMAKE_FIND_ROOT_PATH
|
|
154
|
+
)
|
|
155
|
+
endif()
|
|
156
|
+
|
|
157
|
+
if(${IS_NEW_ARCHITECTURE_ENABLED})
|
|
158
|
+
find_library(
|
|
159
|
+
REACT_RENDER_UIMANAGER
|
|
160
|
+
react_render_uimanager
|
|
161
|
+
PATHS ${LIBRN_DIR}
|
|
162
|
+
NO_CMAKE_FIND_ROOT_PATH
|
|
163
|
+
)
|
|
164
|
+
find_library(
|
|
165
|
+
REACT_RENDER_MOUNTING
|
|
166
|
+
react_render_mounting
|
|
167
|
+
PATHS ${LIBRN_DIR}
|
|
168
|
+
NO_CMAKE_FIND_ROOT_PATH
|
|
169
|
+
)
|
|
170
|
+
find_library(
|
|
171
|
+
REACT_RENDER_COMPONENTREGISTRY
|
|
172
|
+
react_render_componentregistry
|
|
173
|
+
PATHS ${LIBRN_DIR}
|
|
174
|
+
NO_CMAKE_FIND_ROOT_PATH
|
|
175
|
+
)
|
|
176
|
+
find_library(
|
|
177
|
+
REACT_RENDER_CORE
|
|
178
|
+
react_render_core
|
|
179
|
+
PATHS ${LIBRN_DIR}
|
|
180
|
+
NO_CMAKE_FIND_ROOT_PATH
|
|
181
|
+
)
|
|
182
|
+
find_library(
|
|
183
|
+
REACT_DEBUG
|
|
184
|
+
react_debug
|
|
185
|
+
PATHS ${LIBRN_DIR}
|
|
186
|
+
NO_CMAKE_FIND_ROOT_PATH
|
|
187
|
+
)
|
|
188
|
+
find_library(
|
|
189
|
+
REACT_RENDER_DEBUG
|
|
190
|
+
react_render_debug
|
|
191
|
+
PATHS ${LIBRN_DIR}
|
|
192
|
+
NO_CMAKE_FIND_ROOT_PATH
|
|
193
|
+
)
|
|
194
|
+
find_library(
|
|
195
|
+
RRC_ROOT
|
|
196
|
+
rrc_root
|
|
197
|
+
PATHS ${LIBRN_DIR}
|
|
198
|
+
NO_CMAKE_FIND_ROOT_PATH
|
|
199
|
+
)
|
|
200
|
+
find_library(
|
|
201
|
+
RRC_VIEW
|
|
202
|
+
rrc_view
|
|
203
|
+
PATHS ${LIBRN_DIR}
|
|
204
|
+
NO_CMAKE_FIND_ROOT_PATH
|
|
205
|
+
)
|
|
206
|
+
find_library(
|
|
207
|
+
REACT_RENDER_SCHEDULER
|
|
208
|
+
react_render_scheduler
|
|
209
|
+
PATHS ${LIBRN_DIR}
|
|
210
|
+
NO_CMAKE_FIND_ROOT_PATH
|
|
211
|
+
)
|
|
212
|
+
find_library(
|
|
213
|
+
FABRICJNI
|
|
214
|
+
fabricjni
|
|
215
|
+
PATHS ${LIBRN_DIR}
|
|
216
|
+
NO_CMAKE_FIND_ROOT_PATH
|
|
217
|
+
)
|
|
171
218
|
endif()
|
|
172
219
|
|
|
173
220
|
# build shared lib
|
|
174
221
|
|
|
175
222
|
set_target_properties(${PACKAGE_NAME} PROPERTIES LINKER_LANGUAGE CXX)
|
|
176
223
|
|
|
177
|
-
|
|
224
|
+
|
|
225
|
+
target_link_libraries(
|
|
226
|
+
${PACKAGE_NAME}
|
|
227
|
+
${LOG_LIB}
|
|
228
|
+
${JSI_LIB}
|
|
229
|
+
${GLOG_LIB}
|
|
230
|
+
${FBJNI_LIB}
|
|
231
|
+
${FOLLY_LIB}
|
|
232
|
+
${REACT_NATIVE_JNI_LIB}
|
|
233
|
+
android
|
|
234
|
+
)
|
|
235
|
+
|
|
236
|
+
if(${JS_RUNTIME} STREQUAL "hermes")
|
|
237
|
+
string(APPEND CMAKE_CXX_FLAGS " -DJS_RUNTIME_HERMES=1")
|
|
238
|
+
if(${REACT_NATIVE_MINOR_VERSION} LESS 69)
|
|
239
|
+
# From `hermes-engine` npm package
|
|
240
|
+
target_include_directories(
|
|
241
|
+
${PACKAGE_NAME}
|
|
242
|
+
PRIVATE
|
|
243
|
+
"${JS_RUNTIME_DIR}/android/include"
|
|
244
|
+
)
|
|
245
|
+
else()
|
|
246
|
+
# Bundled Hermes from module `com.facebook.react:hermes-engine` or project `:ReactAndroid:hermes-engine`
|
|
247
|
+
target_include_directories(
|
|
248
|
+
${PACKAGE_NAME}
|
|
249
|
+
PRIVATE
|
|
250
|
+
"${JS_RUNTIME_DIR}/API"
|
|
251
|
+
"${JS_RUNTIME_DIR}/public"
|
|
252
|
+
)
|
|
253
|
+
endif()
|
|
254
|
+
target_link_libraries(
|
|
255
|
+
${PACKAGE_NAME}
|
|
256
|
+
"${BUILD_DIR}/third-party-ndk/hermes/jni/${ANDROID_ABI}/libhermes.so"
|
|
257
|
+
)
|
|
258
|
+
elseif(${JS_RUNTIME} STREQUAL "v8")
|
|
259
|
+
string(APPEND CMAKE_CXX_FLAGS " -DJS_RUNTIME_V8=1")
|
|
260
|
+
target_include_directories(
|
|
261
|
+
${PACKAGE_NAME}
|
|
262
|
+
PRIVATE
|
|
263
|
+
"${JS_RUNTIME_DIR}/src"
|
|
264
|
+
)
|
|
265
|
+
file (GLOB V8_SO_DIR "${JS_RUNTIME_DIR}/android/build/intermediates/library_jni/*/jni/${ANDROID_ABI}")
|
|
266
|
+
find_library(
|
|
267
|
+
V8EXECUTOR_LIB
|
|
268
|
+
v8executor
|
|
269
|
+
PATHS ${V8_SO_DIR}
|
|
270
|
+
NO_CMAKE_FIND_ROOT_PATH
|
|
271
|
+
)
|
|
178
272
|
target_link_libraries(
|
|
179
273
|
${PACKAGE_NAME}
|
|
180
|
-
${
|
|
181
|
-
${JSI_LIB}
|
|
182
|
-
${HERMES_LIB}
|
|
183
|
-
${GLOG_LIB}
|
|
184
|
-
${FBJNI_LIB}
|
|
185
|
-
${FOLLY_LIB}
|
|
186
|
-
${REACT_NATIVE_JNI_LIB}
|
|
187
|
-
android
|
|
274
|
+
${V8EXECUTOR_LIB}
|
|
188
275
|
)
|
|
189
276
|
else()
|
|
277
|
+
string(APPEND CMAKE_CXX_FLAGS " -DJS_RUNTIME_JSC=1")
|
|
278
|
+
find_library(
|
|
279
|
+
JSEXECUTOR_LIB
|
|
280
|
+
jscexecutor
|
|
281
|
+
PATHS ${LIBRN_DIR}
|
|
282
|
+
NO_CMAKE_FIND_ROOT_PATH
|
|
283
|
+
)
|
|
190
284
|
target_link_libraries(
|
|
191
285
|
${PACKAGE_NAME}
|
|
192
|
-
${LOG_LIB}
|
|
193
|
-
${JSI_LIB}
|
|
194
286
|
${JSEXECUTOR_LIB}
|
|
195
|
-
${GLOG_LIB}
|
|
196
|
-
${FBJNI_LIB}
|
|
197
|
-
${FOLLY_LIB}
|
|
198
|
-
${REACT_NATIVE_JNI_LIB}
|
|
199
|
-
android
|
|
200
287
|
)
|
|
201
288
|
endif()
|
|
202
289
|
|
|
203
|
-
if(${
|
|
290
|
+
if(${IS_NEW_ARCHITECTURE_ENABLED})
|
|
291
|
+
target_link_libraries(
|
|
292
|
+
${PACKAGE_NAME}
|
|
293
|
+
${REACT_RENDER_UIMANAGER}
|
|
294
|
+
${REACT_RENDER_MOUNTING}
|
|
295
|
+
${REACT_RENDER_COMPONENTREGISTRY}
|
|
296
|
+
${REACT_RENDER_CORE}
|
|
297
|
+
${REACT_DEBUG}
|
|
298
|
+
${REACT_RENDER_DEBUG}
|
|
299
|
+
${RRC_ROOT}
|
|
300
|
+
${RRC_VIEW}
|
|
301
|
+
${FABRICJNI}
|
|
302
|
+
${REACT_RENDER_SCHEDULER}
|
|
303
|
+
)
|
|
304
|
+
endif()
|
|
305
|
+
|
|
306
|
+
if(${REACT_NATIVE_MINOR_VERSION} LESS 64)
|
|
204
307
|
add_library(
|
|
205
308
|
turbomodulejsijni
|
|
206
309
|
# Sets the library as a shared library.
|
|
@@ -209,3 +312,10 @@ if(${REACT_NATIVE_TARGET_VERSION} LESS 64)
|
|
|
209
312
|
./empty.cpp
|
|
210
313
|
)
|
|
211
314
|
endif()
|
|
315
|
+
|
|
316
|
+
# Resolves "CMake Warning: Manually-specified variables were not used by the project"
|
|
317
|
+
# when any of the following variables is not used in some build configuration.
|
|
318
|
+
set (ignoreMe "${CLIENT_SIDE_BUILD}")
|
|
319
|
+
set (ignoreMe "${JS_RUNTIME_DIR}")
|
|
320
|
+
set (ignoreMe "${PLAYGROUND_APP_NAME}")
|
|
321
|
+
set (ignoreMe "${HERMES_ENABLE_DEBUGGER}")
|