@auto_js/v8_exports 0.0.6 → 0.0.7
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/CMakeLists.txt +1 -1
- package/package.json +1 -1
- package/v8.cc +55 -0
package/CMakeLists.txt
CHANGED
|
@@ -98,7 +98,7 @@ if(NPM_PACKAGE_NAME STREQUAL @auto_js/isolated_v8_exports)
|
|
|
98
98
|
# target_link_libraries(google_v8 PRIVATE atomic)
|
|
99
99
|
# endif()
|
|
100
100
|
elseif(V8_LIBRARY_TYPE STREQUAL shared)
|
|
101
|
-
target_link_directories(${google_v8}
|
|
101
|
+
target_link_directories(${google_v8} PUBLIC "${V8_LIBRARY_PATH}")
|
|
102
102
|
target_link_libraries(${google_v8} PRIVATE v8 v8_libbase v8_libplatform icuuc)
|
|
103
103
|
else()
|
|
104
104
|
message(FATAL_ERROR "Unknown v8 library type")
|
package/package.json
CHANGED
package/v8.cc
CHANGED
|
@@ -27,6 +27,51 @@ using v8::BackingStore;
|
|
|
27
27
|
using v8::DataView;
|
|
28
28
|
using v8::SharedArrayBuffer;
|
|
29
29
|
|
|
30
|
+
// v8-callback.h
|
|
31
|
+
using v8::AccessType;
|
|
32
|
+
using v8::AddCrashKeyCallback;
|
|
33
|
+
using v8::AddHistogramSampleCallback;
|
|
34
|
+
using v8::AllowWasmCodeGenerationCallback;
|
|
35
|
+
using v8::ApiImplementationCallback;
|
|
36
|
+
using v8::BeforeCallEnteredCallback;
|
|
37
|
+
using v8::CallCompletedCallback;
|
|
38
|
+
using v8::CompileHintCallback;
|
|
39
|
+
using v8::CounterLookupCallback;
|
|
40
|
+
using v8::CrashKeyId;
|
|
41
|
+
using v8::CreateHistogramCallback;
|
|
42
|
+
using v8::ExtensionCallback;
|
|
43
|
+
using v8::FailedAccessCheckCallback;
|
|
44
|
+
using v8::FatalErrorCallback;
|
|
45
|
+
using v8::GCCallback;
|
|
46
|
+
using v8::GCCallbackFlags;
|
|
47
|
+
using v8::GCType;
|
|
48
|
+
using v8::HostCreateShadowRealmContextCallback;
|
|
49
|
+
using v8::HostImportModuleDynamicallyCallback;
|
|
50
|
+
using v8::HostImportModuleWithPhaseDynamicallyCallback;
|
|
51
|
+
using v8::HostInitializeImportMetaObjectCallback;
|
|
52
|
+
using v8::InterruptCallback;
|
|
53
|
+
using v8::IsJSApiWrapperNativeErrorCallback;
|
|
54
|
+
using v8::JitCodeEvent;
|
|
55
|
+
using v8::JitCodeEventHandler;
|
|
56
|
+
using v8::JitCodeEventOptions;
|
|
57
|
+
using v8::LogEventCallback;
|
|
58
|
+
using v8::LogEventStatus;
|
|
59
|
+
using v8::MessageCallback;
|
|
60
|
+
using v8::ModifyCodeGenerationFromStringsCallback;
|
|
61
|
+
using v8::ModifyCodeGenerationFromStringsCallback2;
|
|
62
|
+
using v8::ModifyCodeGenerationFromStringsResult;
|
|
63
|
+
using v8::ModuleImportPhase;
|
|
64
|
+
using v8::NearHeapLimitCallback;
|
|
65
|
+
using v8::OOMDetails;
|
|
66
|
+
using v8::OOMErrorCallback;
|
|
67
|
+
using v8::PrepareStackTraceCallback;
|
|
68
|
+
using v8::PrintCurrentStackTraceFilterCallback;
|
|
69
|
+
using v8::SharedArrayBufferConstructorEnabledCallback;
|
|
70
|
+
using v8::WasmAsyncResolvePromiseCallback;
|
|
71
|
+
using v8::WasmAsyncSuccess;
|
|
72
|
+
using v8::WasmLoadSourceMapCallback;
|
|
73
|
+
using v8::WasmStreamingCallback;
|
|
74
|
+
|
|
30
75
|
// v8-container.h
|
|
31
76
|
using v8::Array;
|
|
32
77
|
|
|
@@ -60,6 +105,16 @@ using v8::ReturnValue;
|
|
|
60
105
|
// v8-function.h
|
|
61
106
|
using v8::Function;
|
|
62
107
|
|
|
108
|
+
// v8-heap-statistics.h
|
|
109
|
+
using v8::HeapCodeStatistics;
|
|
110
|
+
using v8::HeapObjectStatistics;
|
|
111
|
+
using v8::HeapSpaceStatistics;
|
|
112
|
+
using v8::HeapStatistics;
|
|
113
|
+
using v8::MeasureMemoryDelegate;
|
|
114
|
+
using v8::MeasureMemoryExecution;
|
|
115
|
+
using v8::MeasureMemoryMode;
|
|
116
|
+
using v8::SharedMemoryStatistics;
|
|
117
|
+
|
|
63
118
|
// v8-initialization.h
|
|
64
119
|
using v8::DcheckErrorCallback;
|
|
65
120
|
using v8::EntropySource;
|