naiveproxy/third_party/vulkan/BUILD.gn
2018-08-11 05:35:24 +00:00

19 lines
482 B
Plaintext

# 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)
}
}