OLD | NEW |
1 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license | 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 | 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 | 5 # tree. An additional intellectual property rights grant can be found |
6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
8 | 8 |
9 # Some non-Chromium builds don't support building java targets. | 9 # Some non-Chromium builds don't support building java targets. |
10 enable_java_templates = true | 10 enable_java_templates = true |
(...skipping 17 matching lines...) Expand all Loading... |
28 rebase_path("//tools_webrtc/ubsan/vptr_blacklist.txt", root_build_dir) | 28 rebase_path("//tools_webrtc/ubsan/vptr_blacklist.txt", root_build_dir) |
29 | 29 |
30 # Android lint suppressions file | 30 # Android lint suppressions file |
31 lint_suppressions_file = "//tools_webrtc/android/suppressions.xml" | 31 lint_suppressions_file = "//tools_webrtc/android/suppressions.xml" |
32 | 32 |
33 # For Chromium, Android 32-bit non-component, non-clang builds hit a 4GiB size | 33 # For Chromium, Android 32-bit non-component, non-clang builds hit a 4GiB size |
34 # limit, making them requiring symbol_level=2. WebRTC doesn't hit that problem | 34 # limit, making them requiring symbol_level=2. WebRTC doesn't hit that problem |
35 # so we just ignore that assert. See https://crbug.com/648948 for more info. | 35 # so we just ignore that assert. See https://crbug.com/648948 for more info. |
36 ignore_elf32_limitations = true | 36 ignore_elf32_limitations = true |
37 | 37 |
38 # Use bundled hermetic Xcode installation maintainted by Chromium. | 38 # Use bundled hermetic Xcode installation maintainted by Chromium, |
39 use_system_xcode = false | 39 # except for local iOS builds where it's unsupported. |
| 40 if (host_os == "mac") { |
| 41 _result = exec_script("//build/mac/should_use_hermetic_xcode.py", |
| 42 [ target_os ], |
| 43 "value") |
| 44 assert(_result != 2, |
| 45 "Do not allow building targets with the default" + |
| 46 "hermetic toolchain if the minimum OS version is not met.") |
| 47 use_system_xcode = _result == 0 |
| 48 } |
OLD | NEW |