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 9 use_system_xcode = "" 10 11 # If true, it assumes that //third_party/abseil-cpp is an available 12 # dependency for googletest. 13 gtest_enable_absl_printers = false 14} 15 16if (host_os == "mac" && use_system_xcode == "") { 17 _result = exec_script("//build/mac/should_use_hermetic_xcode.py", 18 [ target_os ], 19 "value") 20 21 assert(_result != 2, 22 "Do not allow building targets with the default" + 23 "hermetic toolchain if the minimum OS version is not met.") 24 assert(_result != 3, 25 "iOS does not support building with a hermetic toolchain. " + 26 "Please install Xcode.") 27 28 use_system_xcode = _result != 1 29} 30 31enable_java_templates = true 32 33# Build with fewer Android dependencies 34limit_android_deps = true 35