Add Chromium-only Blender WebEngine parity work

This commit is contained in:
mes123456
2026-08-12 04:47:48 -04:00
commit 9fd26010f6
18225 changed files with 11622124 additions and 0 deletions

18
tools/web/check-dual-engine.sh Executable file
View File

@@ -0,0 +1,18 @@
#!/usr/bin/env bash
set -euo pipefail
repo_root="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
native_dir="${repo_root}/build_web/native"
mkdir -p "${native_dir}"
c++ -std=c++17 -O2 \
-I"${repo_root}/blender-5.2.0/source/blender/web_engine" \
-I"${repo_root}/blender-5.2.0/extern/json/include" \
"${repo_root}/blender-5.2.0/source/blender/web_engine/web_engine_api.cpp" \
"${repo_root}/web/engine/web_engine_native_reader_stub.cpp" \
"${repo_root}/web/engine/web_engine_native_smoke.cpp" \
-o "${native_dir}/web_engine_native_smoke"
"${native_dir}/web_engine_native_smoke"
node "${repo_root}/tools/web/run-web-engine-smoke.mjs"
printf 'dual-engine-ok\n'