projects
/
platform
/
upstream
/
Vulkan-Tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ee12e8
)
Add support for building on ChromeOS
author
Alexis Hetu
<sugoi@google.com>
Tue, 25 Jan 2022 15:10:27 +0000
(10:10 -0500)
committer
Charles Giessen
<46324611+charles-lunarg@users.noreply.github.com>
Wed, 26 Jan 2022 16:34:38 +0000
(09:34 -0700)
BUILD.gn
patch
|
blob
|
history
diff --git
a/BUILD.gn
b/BUILD.gn
index
a6b6552
..
deb5ce3
100644
(file)
--- a/
BUILD.gn
+++ b/
BUILD.gn
@@
-37,7
+37,7
@@
config("vulkan_internal_config") {
if (is_clang || !is_win) {
cflags = [ "-Wno-unused-function" ]
}
- if (is_linux) {
+ if (is_linux
|| is_chromeos
) {
defines += [
"SYSCONFDIR=\"/etc\"",
"FALLBACK_CONFIG_DIRS=\"/etc/xdg\"",
@@
-74,7
+74,7
@@
if (!is_android) {
sources += [ "icd/windows/VkICD_mock_icd.json" ]
args += [ "$raw_vulkan_icd_dir/windows" ]
}
- if (is_linux) {
+ if (is_linux
|| is_chromeos
) {
sources += [ "icd/linux/VkICD_mock_icd.json" ]
args += [ "$raw_vulkan_icd_dir/linux" ]
}