Skip to content

Commit 7743b31

Browse files
author
Mihail Slavchev
authored
Merge pull request #620 from NativeScript/slavchev/v8-5.2.361
use v8 5.2.361
2 parents 44a1b40 + d0f720c commit 7743b31

26 files changed

+108
-269
lines changed

runtime/build.gradle

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,6 @@ model {
218218
android.ndk {
219219
moduleName = "NativeScript"
220220

221-
toolchain = "clang"
222-
223221
cppFlags.addAll(["-I${file("src/main/jni")}".toString(),
224222
"-I${file("src/main/jni/include")}".toString()
225223
])
@@ -306,7 +304,6 @@ model {
306304
ldLibs.add("${file("src/main/libs/armeabi-v7a/libv8_libplatform.a")}".toString())
307305
ldLibs.add("${file("src/main/libs/armeabi-v7a/libv8_libbase.a")}".toString())
308306
ldLibs.add("${file("src/main/libs/armeabi-v7a/libv8_nosnapshot.a")}".toString())
309-
ldLibs.add("${file("src/main/libs/armeabi-v7a/libv8_libsampler.a")}".toString())
310307
ldLibs.add("${file("src/main/libs/armeabi-v7a/libzip.a")}".toString())
311308
}
312309

@@ -317,7 +314,6 @@ model {
317314
ldLibs.add("${file("src/main/libs/x86/libv8_libplatform.a")}".toString())
318315
ldLibs.add("${file("src/main/libs/x86/libv8_libbase.a")}".toString())
319316
ldLibs.add("${file("src/main/libs/x86/libv8_nosnapshot.a")}".toString())
320-
ldLibs.add("${file("src/main/libs/x86/libv8_libsampler.a")}".toString())
321317
ldLibs.add("${file("src/main/libs/x86/libzip.a")}".toString())
322318
}
323319

@@ -330,7 +326,6 @@ model {
330326
"-lv8_libplatform",
331327
"-lv8_libbase",
332328
"-lv8_nosnapshot",
333-
"-lv8_libsampler",
334329
"-lzip"
335330
])
336331

runtime/src/main/jni/include/v8-debug.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,6 @@ class V8_EXPORT Debug {
125125
*/
126126
virtual ClientData* GetClientData() const = 0;
127127

128-
virtual Isolate* GetIsolate() const = 0;
129-
130128
virtual ~EventDetails() {}
131129
};
132130

@@ -261,11 +259,6 @@ class V8_EXPORT Debug {
261259
V8_DEPRECATED("Use version with an Isolate",
262260
static Local<Context> GetDebugContext());
263261

264-
/**
265-
* While in the debug context, this method returns the top-most non-debug
266-
* context, if it exists.
267-
*/
268-
static MaybeLocal<Context> GetDebuggedContext(Isolate* isolate);
269262

270263
/**
271264
* Enable/disable LiveEdit functionality for the given Isolate

runtime/src/main/jni/include/v8-profiler.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -694,6 +694,7 @@ class V8_EXPORT HeapProfiler {
694694
HeapProfiler& operator=(const HeapProfiler&);
695695
};
696696

697+
697698
/**
698699
* Interface for providing information about embedder's objects
699700
* held by global handles. This information is reported in two ways:
@@ -708,7 +709,7 @@ class V8_EXPORT HeapProfiler {
708709
* were not previously reported via AddObjectGroup.
709710
*
710711
* Thus, if an embedder wants to provide information about native
711-
* objects for heap snapshots, it can do it in a GC prologue
712+
* objects for heap snapshots, he can do it in a GC prologue
712713
* handler, and / or by assigning wrapper class ids in the following way:
713714
*
714715
* 1. Bind a callback to class id by calling SetWrapperClassInfoProvider.

runtime/src/main/jni/include/v8-version.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
// NOTE these macros are used by some of the tool scripts and the build
1010
// system so their names cannot be changed without changing the scripts.
1111
#define V8_MAJOR_VERSION 5
12-
#define V8_MINOR_VERSION 3
13-
#define V8_BUILD_NUMBER 332
14-
#define V8_PATCH_LEVEL 47
12+
#define V8_MINOR_VERSION 2
13+
#define V8_BUILD_NUMBER 361
14+
#define V8_PATCH_LEVEL 0
1515

1616
// Use 1 for candidates and 0 otherwise.
1717
// (Boolean macro values are not supported by all preprocessors.)

0 commit comments

Comments
 (0)