1# Copyright 2016 The LibYuv Project Authors. All rights reserved. 2# 3# Use of this source code is governed by a BSD-style license 4# that can be found in the LICENSE file in the root of the source 5# tree. An additional intellectual property rights grant can be found 6# in the file PATENTS. All contributing project authors may 7# be found in the AUTHORS file in the root of the source tree. 8 9# Some non-Chromium builds don't use Chromium's third_party/binutils. 10linux_use_bundled_binutils_override = true 11 12# Variable that can be used to support multiple build scenarios, like having 13# Chromium specific targets in a client project's GN file etc. 14build_with_chromium = false 15 16# Some non-Chromium builds don't support building java targets. 17enable_java_templates = true 18 19# Allow using custom suppressions files (currently not used by libyuv). 20asan_suppressions_file = "//build/sanitizers/asan_suppressions.cc" 21lsan_suppressions_file = "//build/sanitizers/lsan_suppressions.cc" 22tsan_suppressions_file = "//build/sanitizers/tsan_suppressions.cc" 23 24msan_blacklist_path = 25 rebase_path("//tools_libyuv/msan/blacklist.txt", root_build_dir) 26ubsan_blacklist_path = 27 rebase_path("//tools_libyuv/ubsan/blacklist.txt", root_build_dir) 28ubsan_vptr_blacklist_path = 29 rebase_path("//tools_libyuv/ubsan/vptr_blacklist.txt", root_build_dir) 30 31# For Chromium, Android 32-bit non-component, non-clang builds hit a 4GiB size 32# limit, making them requiring symbol_level=2. WebRTC doesn't hit that problem 33# so we just ignore that assert. See https://crbug.com/648948 for more info. 34ignore_elf32_limitations = true 35 36# Use bundled hermetic Xcode installation maintained by Chromium, 37# except for local iOS builds where it is unsupported. 38if (host_os == "mac") { 39 _result = exec_script("//build/mac/should_use_hermetic_xcode.py", 40 [ target_os ], 41 "value") 42 assert(_result != 2, 43 "Do not allow building targets with the default" + 44 "hermetic toolchain if the minimum OS version is not met.") 45 use_system_xcode = _result == 0 46} 47