• Clemens Backes's avatar
    [api][no-wasm] Disable Webassembly in the API · 0be822b4
    Clemens Backes authored
    This CL removes the includes of src/wasm files from the API if Wasm is
    disabled (v8_enable_webassembly=false). This will allow to later
    remove the whole src/wasm directory from compilation.
    Since we do not want to modify the exposed API in a no-wasm build, we
    instead make all Wasm-related functions fail.
    
    R=ulan@chromium.org
    
    Bug: v8:11238
    Change-Id: I61038e75ac62871758351eb01f299fe68d478c82
    Cq-Include-Trybots: luci.v8.try:v8_linux64_no_wasm_compile_rel
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2726504Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
    Commit-Queue: Clemens Backes <clemensb@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#73100}
    0be822b4
api.h 19.7 KB