third_party/dawn/args.gni
raw| 1 | # Copyright 2025 Google LLC. |
| 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | |
| 5 | declare_args() { |
| 6 | # All of these are the same as Dawn's versions for backwards compatibility. |
| 7 | dawn_enable_d3d11 = false |
| 8 | dawn_enable_d3d12 = is_win |
| 9 | dawn_enable_opengles = false |
| 10 | dawn_enable_metal = is_mac || is_ios |
| 11 | dawn_enable_vulkan = is_linux || is_android |
| 12 | } |