1*8975f5c5SAndroid Build Coastguard Worker# Copyright 2023 The ANGLE Project Authors. All rights reserved. 2*8975f5c5SAndroid Build Coastguard Worker# Use of this source code is governed by a BSD-style license that can be 3*8975f5c5SAndroid Build Coastguard Worker# found in the LICENSE file. 4*8975f5c5SAndroid Build Coastguard Worker 5*8975f5c5SAndroid Build Coastguard Workerimport("//build_overrides/angle.gni") 6*8975f5c5SAndroid Build Coastguard Workerimport("//gni/angle.gni") 7*8975f5c5SAndroid Build Coastguard Worker 8*8975f5c5SAndroid Build Coastguard Worker# LLVM source location 9*8975f5c5SAndroid Build Coastguard Workerclspv_llvm_dir = angle_llvm_dir 10*8975f5c5SAndroid Build Coastguard Worker 11*8975f5c5SAndroid Build Coastguard Worker# clspv gn dir location 12*8975f5c5SAndroid Build Coastguard Workerclspv_gn_dir = "//third_party/clspv/gn" 13*8975f5c5SAndroid Build Coastguard Worker 14*8975f5c5SAndroid Build Coastguard Worker# SPIRV tools 15*8975f5c5SAndroid Build Coastguard Workerspirv_tools_dir = angle_spirv_tools_dir 16*8975f5c5SAndroid Build Coastguard Worker 17*8975f5c5SAndroid Build Coastguard Worker# configs that need adjustment 18*8975f5c5SAndroid Build Coastguard Workerclspv_configs_to_append = [] 19*8975f5c5SAndroid Build Coastguard Workerclspv_configs_to_remove = [ "//build/config/compiler:chromium_code" ] 20*8975f5c5SAndroid Build Coastguard Workerif (is_clang) { 21*8975f5c5SAndroid Build Coastguard Worker clspv_configs_to_remove += [ "//build/config/clang:extra_warnings" ] 22*8975f5c5SAndroid Build Coastguard Worker} 23