mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-28 00:06:09 +03:00
19 lines
482 B
Plaintext
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)
|
||
|
}
|
||
|
}
|