Building components_unittests with the following args.gn, I get a ASan odr-violation error.
$ cat out/ChromeOS/args.gn
enable_nacl = false
symbol_level = 2
is_component_build = true
is_asan = true
is_debug = false
dcheck_always_on = true
target_os = "chromeos"
$ ./out/ChromeOS/components_unittests
=================================================================
==253355==ERROR: AddressSanitizer: odr-violation (0x7fa830d137c0):
[1] size=40 'xdg_shell_interface' ../../third_party/wayland-protocols/protocol/xdg-shell-v5-protocol.c:78:37
[2] size=40 'xdg_shell_interface' ../../third_party/wayland-protocols/protocol/xdg-shell-v5-protocol.c:78:37
These globals were registered at these points:
[1]:
#0 0xd8497e (/usr/local/google/home/sdefresne/Developer/chromium/src/out/ChromeOS/components_unittests+0xd8497e)
#1 0x7fa828ebde9b (/usr/local/google/home/sdefresne/Developer/chromium/src/out/ChromeOS/./libash.so+0x1824e9b)
[2]:
#0 0xd8497e (/usr/local/google/home/sdefresne/Developer/chromium/src/out/ChromeOS/components_unittests+0xd8497e)
#1 0x7fa830c4a87b (/usr/local/google/home/sdefresne/Developer/chromium/src/out/ChromeOS/./libozone.so+0x28487b)
==253355==HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_odr_violation=0
SUMMARY: AddressSanitizer: odr-violation: global 'xdg_shell_interface' at ../../third_party/wayland-protocols/protocol/xdg-shell-v5-protocol.c:78:37
==253355==ABORTING