I haven't quite figured out what's going on. The interesting part is the error:
ld.lld: error: undefined symbol: gfx::mojom::GpuMemoryBufferPlatformHandle::~GpuMemoryBufferPlatformHandle()
>>> referenced by unique_ptr.h:78 (../../third_party/libc++/src/include/__memory/unique_ptr.h:78)
>>> obj/device/vr/public/mojom/vr_service_blink/vr_service.mojom-blink.o:(mojo::internal::Serializer<gfx::mojom::GpuMemoryBufferHandleDataView, gfx::GpuMemoryBufferHandle>::Serialize(gfx::GpuMemoryBufferHandle&, mojo::internal::MessageFragment<gfx::mojom::internal::GpuMemoryBufferHandle_Data>&))
While linking libdevice_vr_service_mojo_bindings_blink.so. This only fails in component builds, and the one really odd thing here is:
- we are building the Blink variant of the C++ bindings
- but it's referencing a regular variant symbol (gfx::mojom::GpuMemoryBufferPlatformHandle)
What I'm having trouble figuring out is where this reference is coming from, as the linker error gives no obvious clue what's instantiating this unique_ptr...
Daniel