mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2024-12-28 02:31:04 +00:00
a114e1f30c
Build test Add Fuzzer group Add libfuzzer
47 lines
1.7 KiB
Plaintext
47 lines
1.7 KiB
Plaintext
# Copyright 2018 Google Inc.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# https://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
# Variable that can be used to support multiple build scenarios, like having
|
|
# Chromium specific targets in a client project's GN file etc.
|
|
build_with_chromium = false
|
|
|
|
# Don't use Chromium's third_party/binutils.
|
|
linux_use_bundled_binutils_override = false
|
|
|
|
declare_args() {
|
|
# Android 32-bit non-component, non-clang builds cannot have symbol_level=2
|
|
# due to 4GiB file size limit, see https://crbug.com/648948.
|
|
# Set this flag to true to skip the assertion.
|
|
ignore_elf32_limitations = false
|
|
|
|
# Use the system install of Xcode for tools like ibtool, libtool, etc.
|
|
# This does not affect the compiler. When this variable is false, targets will
|
|
# instead use a hermetic install of Xcode. [The hermetic install can be
|
|
# obtained with gclient sync after setting the environment variable
|
|
# FORCE_MAC_TOOLCHAIN].
|
|
use_system_xcode = ""
|
|
}
|
|
|
|
if (use_system_xcode == "") {
|
|
if (target_os == "mac") {
|
|
_result = exec_script("//build/mac/should_use_hermetic_xcode.py",
|
|
[ target_os ],
|
|
"value")
|
|
use_system_xcode = _result == 0
|
|
}
|
|
if (target_os == "ios") {
|
|
use_system_xcode = true
|
|
}
|
|
}
|