1# Copyright 2019 The ANGLE Project 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 5import("../../../gni/angle.gni") 6 7if (angle_use_wayland) { 8 import("//build_overrides/wayland.gni") 9} 10 11config("volk_config") { 12 include_dirs = [ "." ] 13} 14 15source_set("volk") { 16 sources = [ 17 "volk.c", 18 "volk.h", 19 ] 20 public_configs = [ ":volk_config" ] 21 configs += [ "$angle_root:angle_no_cfi_icall" ] 22 public_deps = [ "$angle_vulkan_headers_dir:vulkan_headers" ] 23 if (angle_use_wayland) { 24 include_dirs = [ "$wayland_dir/src" ] 25 } 26} 27