[clang-tidy] Handle cross-compilation automatically in tools Automates handling of fixes from multiple cross-compiled build directories so that all platforms' code can be scanned in one step. - run-tricium-clang-tidy.py: Read .clangd to figure out the user's cross-compilation setup, and run clang-tidy against all files using the appropriate build directory. - apply-clang-tidy-fixes.py: By default, automatically search out/* for ALL findings files, and use all of them together. Prompts user to show what is happening before starting. - Move more documentation into the tools instead of clang-tidy.md so it won't get out of sync as easily. Bug: 501491694 Change-Id: Ic873408d112a0049d79afbf066963b10b4c20fc6 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/333975 Commit-Queue: Kai Ninomiya <kainino@chromium.org> Reviewed-by: Shrek Shao <shrekshao@google.com>
Dawn is an open-source and cross-platform implementation of the WebGPU standard. More precisely it implements webgpu.h that is a one-to-one mapping with the WebGPU IDL. Dawn is meant to be integrated as part of a larger system and is the underlying implementation of WebGPU in Chromium.
Dawn provides several WebGPU building blocks:
webgpu.h version that Dawn implements.webgpu.h.Helpful links:
Developer documentation:
User documentation: (TODO, figure out what overlaps with the webgpu.h docs)
BSD 3-Clause License, please see LICENSE.
This is not an officially supported Google product.