Add Chromium-only Blender WebEngine parity work
This commit is contained in:
18
tools/web/check-dual-engine.sh
Executable file
18
tools/web/check-dual-engine.sh
Executable 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'
|
||||
Reference in New Issue
Block a user