xref: /aosp_15_r20/external/skia/build_overrides/dawn.gni (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1# Copyright 2019 Google Inc.
2#
3# Use of this source code is governed by a BSD-style license that can be
4# found in the LICENSE file.
5
6# These are variables that are overridable by projects that include Dawn.
7
8# Skia doesn't have Chromium's //build directory. Tell Dawn to do without.
9dawn_has_build = false
10
11dawn_abseil_dir = "//third_party/externals/abseil-cpp"
12dawn_angle_dir = "//third_party/externals/angle2"
13dawn_egl_registry_dir = "//third_party/externals/egl-registry"
14dawn_jinja2_dir = "//third_party/externals/jinja2"
15dawn_opengl_registry_dir = "//third_party/externals/opengl-registry"
16dawn_spirv_tools_dir = "//third_party/externals/spirv-tools"
17dawn_tint_dir = "//third_party/externals/tint"
18dawn_vulkan_headers_dir = "//third_party/externals/vulkan-headers"
19dawn_vulkan_tools_dir = "//third_party/externals/vulkan-tools"
20dawn_vulkan_utility_libraries_dir =
21    "//third_party/externals/vulkan-utility-libraries"
22
23# PartitionAlloc is an optional dependency:
24# - MSVC compiler is not fully supported at the moment.
25# - Mac 11 is currently failing an assertion.
26# TODO(351867706): Enable Mac 11.
27_is_msvc = is_win && !is_clang
28if (!_is_msvc && !is_mac) {
29  dawn_partition_alloc_dir = "//third_party/externals/partition_alloc"
30}
31