1 #pragma once 2 3 // JS_RUNTIME_HERMES is only set on Android so we have to check __has_include 4 // on iOS. 5 #if __APPLE__ && \ 6 (__has_include( \ 7 <ABI49_0_0reacthermes/ABI49_0_0HermesExecutorFactory.h>) || __has_include(<hermes/hermes.h>)) 8 #define JS_RUNTIME_HERMES 1 9 #endif 10 11 #include <ABI49_0_0cxxreact/ABI49_0_0MessageQueueThread.h> 12 #include <ABI49_0_0jsi/ABI49_0_0jsi.h> 13 14 #include <memory> 15 16 namespace ABI49_0_0reanimated { 17 18 using namespace ABI49_0_0facebook; 19 using namespace ABI49_0_0React; 20 21 class ReanimatedRuntime { 22 public: 23 static std::shared_ptr<jsi::Runtime> make( 24 jsi::Runtime *rnRuntime, 25 std::shared_ptr<MessageQueueThread> jsQueue); 26 }; 27 28 } // namespace reanimated 29