30ec4fc626
Add a dawn_has_build override similarly to angle_has_build that makes Dawn not depend on Chromium //build if it can avoid it. (this was previously used for mac_sdk.gni). Only load the Vulkan Validation Layers' gni if it is enable via dawn_enable_vulkan_validation_layers. Fix a GN build warning where the source of dawn_components would be built twice: for example libdawn_native.MetalBackend.o would be built once for libdawn_native static and once for libdawn_native shared. Fix this by making libdawn_native as a static library libdawn_native_static. Change-Id: Ib8fb72282435eb475d7a11dae0d5a9977572fd57 Bug: chromium:1064305 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/18963 Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Kai Ninomiya <kainino@chromium.org> |
||
---|---|---|
.. | ||
dawn_component.gni | ||
dawn_features.gni | ||
dawn_overrides_with_defaults.gni | ||
git-clang-format | ||
lint_clang_format.sh | ||
perf_test_runner.py | ||
roll-shaderc-deps.sh | ||
standalone.gclient | ||
travis_lint_format.sh | ||
update_fuzzer_seed_corpus.sh |