1# Copyright 2017 The ANGLE Project Authors. All rights reserved. 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5declare_args() { 6 build_with_chromium = false 7 ignore_elf32_limitations = true 8 linux_use_bundled_binutils_override = false 9 10 use_system_xcode = "" 11} 12 13if (host_os == "mac" && use_system_xcode == "") { 14 _result = exec_script("//build/mac/should_use_hermetic_xcode.py", 15 [ target_os ], 16 "value") 17 18 assert(_result != 2, 19 "Do not allow building targets with the default" + 20 "hermetic toolchain if the minimum OS version is not met.") 21 assert(_result != 3, 22 "iOS does not support building with a hermetic toolchain. " + 23 "Please install Xcode.") 24 25 use_system_xcode = _result != 1 26} 27 28# ANGLE standalone builds don't currently support java templates or APK generation 29enable_java_templates = build_with_chromium 30