diff options
| author | Alexis Hetu <sugoi@google.com> | 2022-01-25 10:10:27 -0500 |
|---|---|---|
| committer | Charles Giessen <46324611+charles-lunarg@users.noreply.github.com> | 2022-01-26 09:34:38 -0700 |
| commit | bc44326c93a1ee3fe7adce2bb7d9699386e9225a (patch) | |
| tree | d3a2bb621cfe4744c6dc210339538d7947ed8f62 | |
| parent | 2ee12e8ba3b306b7e8aa71695cbe0e2ff451cf3f (diff) | |
| download | usermoji-bc44326c93a1ee3fe7adce2bb7d9699386e9225a.tar.xz | |
Add support for building on ChromeOS
| -rw-r--r-- | BUILD.gn | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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" ] } |
