| # Copyright 2018 The Dawn & Tint Authors | |
| # | |
| # Redistribution and use in source and binary forms, with or without | |
| # modification, are permitted provided that the following conditions are met: | |
| # | |
| # 1. Redistributions of source code must retain the above copyright notice, this | |
| # list of conditions and the following disclaimer. | |
| # | |
| # 2. Redistributions in binary form must reproduce the above copyright notice, | |
| # this list of conditions and the following disclaimer in the documentation | |
| # and/or other materials provided with the distribution. | |
| # | |
| # 3. Neither the name of the copyright holder nor the names of its | |
| # contributors may be used to endorse or promote products derived from | |
| # this software without specific prior written permission. | |
| # | |
| # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" | |
| # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | |
| # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | |
| # DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE | |
| # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | |
| # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR | |
| # SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | |
| # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, | |
| # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | |
| # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
| buildconfig = "//build/config/BUILDCONFIG.gn" | |
| # Use Python3 to run scripts. On Windows this will use python.exe or python.bat | |
| script_executable = "python3" | |
| default_args = { | |
| clang_use_chrome_plugins = false | |
| clang_use_unsafe_buffers_plugin = true | |
| clang_unsafe_buffers_paths = "//unsafe_buffers_paths.txt" | |
| angle_enable_abseil = false | |
| angle_standalone = false | |
| angle_build_all = false | |
| angle_build_tests = false | |
| angle_has_rapidjson = false | |
| angle_use_wayland = false | |
| angle_vulkan_headers_dir = "//third_party/vulkan-headers/src" | |
| angle_vulkan_loader_dir = "//third_party/vulkan-loader/src" | |
| angle_vulkan_tools_dir = "//third_party/vulkan-tools/src" | |
| angle_vulkan_validation_layers_dir = | |
| "//third_party/vulkan-validation-layers/src" | |
| vma_vulkan_headers_dir = "//third_party/vulkan-headers/src" | |
| use_fuzztest_wrapper = false | |
| use_sysroot = true | |
| enable_js_protobuf = false | |
| # Needed only for std::atomic_ref<T> for large Ts http://crbug.com/402171653 | |
| # Disable it to avoid the need to add the compiler-rt third_party dependency. | |
| use_llvm_libatomic = false | |
| # Chromium defaults to minimum 15 at least. | |
| mac_sdk_min = "12" | |
| # Dawn needs to stay in C++20 for longer than Chromium due to some partners. | |
| use_cxx23 = false | |
| # Use Siso instead of Ninja. | |
| use_siso = true | |
| # Disable SwiftShader's Wayland build | |
| ozone_platform_wayland = false | |
| } | |
| # Export compile_commands.json to build dir for all generated targets. | |
| # Useful for editors that parse the compilation database for symbol lookup. | |
| export_compile_commands = [ "*" ] |