# Copyright 2016 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. config("vulkan_config") { include_dirs = [ "include" ] vulkan_lib_dir = getenv("VULKAN_SDK") + "/lib" libs = [ "vulkan" ] if (current_cpu == "x64") { lib_dirs = [ "/usr/lib/x86_64-linux-gnu", vulkan_lib_dir, ] } else { assert(false, "Unsupported vulkan target: " + current_cpu) } }