• Jakob Gruber's avatar
    Remove JS natives support, step 1 · 28a9dc2b
    Jakob Gruber authored
    The natives blob is deprecated and will be removed in the next
    release.
    
    This commit does two things, 1. it disables the v8_extra_library_files
    gn argument which will make building natives_blob.bin through gn
    impossible; 2. it marks API functions associated with the natives blob
    as V8_DEPRECATE_SOON.
    
    Embedders should remove any uses of SetNativesDataBlob and replace all
    calls to
    
     InitializeExternalStartupData(const char*, const char*)
    
    with the new function
    
     InitializeExternalStartupDataFromFile(const char*)
    
    Step 2 is to mark API functions as V8_DEPRECATED.
    Step 3, in the next V8 release, is to remove these functions and all
    other natives support in V8.
    
    Bug: v8:7624
    Change-Id: I745e96c60204a9b94d9240be65dd59bb9bdd0699
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1824944
    Commit-Queue: Jakob Gruber <jgruber@chromium.org>
    Reviewed-by: 's avatarYang Guo <yangguo@chromium.org>
    Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
    Auto-Submit: Jakob Gruber <jgruber@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#64080}
    28a9dc2b
Name
Last commit
Last update
..
OWNERS Loading commit data...
bootstrapper.cc Loading commit data...
bootstrapper.h Loading commit data...
heap-symbols.h Loading commit data...
icu_util.cc Loading commit data...
icu_util.h Loading commit data...
isolate-allocator.cc Loading commit data...
isolate-allocator.h Loading commit data...
setup-isolate-deserialize.cc Loading commit data...
setup-isolate-full.cc Loading commit data...
setup-isolate.h Loading commit data...
startup-data-util.cc Loading commit data...
startup-data-util.h Loading commit data...
v8.cc Loading commit data...
v8.h Loading commit data...