Commit 094c40dc by Tom Tan Committed by Jamie Madill

Don't build glmark2_wgl on Windows ARM64 due to missing opengl32.lib

Opengl32.lib/opengl32.dll are not available on Windows ARM64. Disable building glmard2_wgl which depends them. Bug: chromium:941621 Change-Id: Iddae231764c6135ef1a74c294da1393f0fe51eeb Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1522353Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org>
parent 57041007
......@@ -279,7 +279,7 @@ if (is_win || is_linux || is_android || is_mac || is_fuchsia) {
if (is_win || is_linux) {
data_deps += [ "${angle_root}/third_party/glmark2:glmark2_angle" ]
}
if (is_win) {
if (is_win && target_cpu != "arm64") {
data_deps += [ "${angle_root}/third_party/glmark2:glmark2_wgl" ]
}
if (is_linux) {
......
......@@ -402,7 +402,8 @@ if (is_linux) {
}
}
if (is_win) {
# opengl32.lib/opengl32.dll are not available on Windows ARM64.
if (is_win && target_cpu != "arm64") {
glmark2_exe("glmark2_wgl") {
sources = [
"src/src/gl-state-wgl.cpp",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment