File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
android-patches/patches/V8/ReactAndroid/src/main/java/com/facebook/react/v8executor Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -3,12 +3,13 @@ new file mode 100644
3
3
index 0000000000 ..16de96d215
4
4
--- /dev/null
5
5
+++ b/ReactAndroid/src/main/java/com/facebook/react/v8executor/V8ExecutorFactory.cpp
6
- @@ -0 ,0 +1 ,35 @@
6
+ @@ -0 ,0 +1 ,40 @@
7
7
+#include <jsi/jsi.h>
8
8
+#include <V8Runtime.h>
9
9
+#include <jsireact/JSIExecutor.h>
10
10
+#include <react/jni/JSLoader.h>
11
11
+#include <react/jni/JSLogging.h>
12
+ +#include <react/jni/NativeTime.h>
12
13
+
13
14
+#include " V8ExecutorFactory.h"
14
15
+
@@ -30,6 +31,10 @@ index 0000000000..16de96d215
30
31
+ static_cast <void (*)(const std::string &, unsigned int )>(
31
32
+ &reactAndroidLoggingHook);
32
33
+ react::bindNativeLogger (runtime, androidLogger);
34
+ + react::PerformanceNow androidNativePerformanceNow =
35
+ + static_cast <double (*)()>(&reactAndroidNativePerformanceNowHook);
36
+ + react::bindNativePerformanceNow (runtime, androidNativePerformanceNow);
37
+ +
33
38
+ };
34
39
+
35
40
+ return folly::make_unique<JSIExecutor>(
You can’t perform that action at this time.
0 commit comments