blob: 82a8144a3ee0ec84dd489c93bd550dfa8f09c14d [file] [log] [blame]
# Copyright 2019 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
declare_args() {
# Using Vulkan on host (i.e. Linux) is an involved affair that involves
# downloading the Vulkan SDK, setting environment variables, and so forth...
# all things that are difficult to achieve in a CQ environment. Therefore,
# by default we use a stub implementation of Vulkan which fails to create a
# VkInstance. This allows everything to build, and also allows running Escher
# unit tests which don't require Vulkan.
escher_use_null_vulkan_config_on_host = true
# Determines whether or not escher will build with the glslang and shaderc
# libraries. When false, these libraries will not be included in the scenic/
# escher binary and as a result shaders will not be able to be compiled at
# runtime. Precompiled spirv code will be loaded into memory from disk instead.
escher_use_runtime_glsl = false