vulkan_headers.gni 527 B

1234567891011121314151617181920
  1. # Copyright 2019 The Chromium Authors. All rights reserved.
  2. # Use of this source code is governed by a BSD-style license that can be
  3. # found in the LICENSE file.
  4. import("//build/config/ozone.gni")
  5. import("//build_overrides/wayland.gni")
  6. vulkan_use_x11 = ozone_platform_x11
  7. if (ozone_platform_wayland) {
  8. vulkan_use_wayland = true
  9. if (!use_system_libwayland) {
  10. vulkan_wayland_include_dirs = [
  11. "$wayland_gn_dir/src/src",
  12. "$wayland_gn_dir/include/src",
  13. "$wayland_gn_dir/include/protocol",
  14. ]
  15. }
  16. }