Hey all,
We're looking to enable testing Dawn's Vulkan backend on CQ with the Vulkan validation layers enabled, similarly to what ANGLE is doing. The BUILD.gn files for the layers live in ANGLE at the moment and are fairly complicated because of all the code generation going on. We'd like to avoid duplicating them in Dawn to factor their maintenance cost but also would like to avoid taking a dependency on the whole ANGLE repo :)
What do you think of making a vulkan-sdk Chromium repo that contains DEPS for the relevant repos as well as a BUILD.gn files and related scripts to support compilation? Then Dawn, ANGLE and Chromium (and Skia?) could recurse_deps in the vulkan-sdk repo and use targets in its BUILD.gn file.
An alternative is to upstream the BUILD.gn files but I think it's unlikely Khronos will accept them.
Cheers,
Corentin