Help! build arm android w/webgpu disabling ANGLE

14 views
Skip to first unread message

david rene comba lareu

unread,
Mar 13, 2025, 2:23:03 AMMar 13
to build
Hello everyone!

I have been trying to build mostly content_shell_apk target (but i also tried chrome_public_apk) with direct webgpu support through dawn with opengl es 3.2 as the official release of chrome has, with no success.

My args.gn looks like this:

target_os = "android"
target_cpu = "arm"
is_debug = false
is_official_build = false
symbol_level = 0
strip_debug_info = false
is_component_build = false
use_dawn = true

# WebGPU and ANGLE
dawn_enable_vulkan = true
dawn_enable_opengles = true
angle_enable_wgpu = false
angle_enable_vulkan = false
angle_enable_gl = false
angle_build_tests = false
angle_enable_swiftshader = false
angle_enable_trace = false
angle_debug_layers_enabled = false
default_target_sdk_version = "34"

The problem is that if i disable ANGLE like that, the browser show nothing, as it crashes trying to create surfaces to show content with ANGLE anyway. If i do angle_enable_vulkan = true and/or angle_enable_gl = true, i lost dawn backend and only have ANGLE with opengl ES 2.0 support. My issue is that things like ONNX crashes on ANGLE, not like with Dawn (tested and attached both chrome://gpu from official releases and my build so everyone can see the differences)

Any idea what i should change or look to build with Dawn backend for webgpu? tried is_official_build = true with some afdo.prof i have been able to hack my way to download from the gs buckets, to see if it makes any difference, but it fails at compiling with errors at types missing in ANGLE too (even if is disabled)

Any help would be appreciated!
about-gpu-2025-03-12T21-54-01-645Z-custom.txt
about-gpu-2025-03-12T21-53-35-913Z-official.txt
Reply all
Reply to author
Forward
0 new messages