This PR disables the hook for downloading the Mac toolchain, that can be only used by Google employees, as that hook own output was quit confusing, as it preceeded our own hook being run. We are also disabling downloading the hermetic toolchain for ios checkouts. IOS builds do not use the hermetic tooolchain, and recently we've run into significant issues in CI relating to that. https://github.com/brave/brave-browser/issues/55812
18 lines
743 B
YAML
18 lines
743 B
YAML
# Copyright (c) 2026 The Brave Authors. All rights reserved.
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
|
# You can obtain one at https://mozilla.org/MPL/2.0/.
|
|
|
|
substitutions:
|
|
- description: |
|
|
Disable the mac_toolchain hook by neutralising its condition.
|
|
|
|
Brave has its own script to download the hermetic toolchain,
|
|
brave/build/mac/download_hermetic_xcode.py, so it is okay to disable the
|
|
upstream hook as it causes confusing output to be printed to the user.
|
|
re_pattern: |-
|
|
('name': 'mac_toolchain',.+?'condition':\s*)'checkout_mac or checkout_ios'
|
|
re_flags: [DOTALL]
|
|
replace: |-
|
|
\1'False'
|