Files
brave-core/tools/cr/iwyu/_boot.py
T
cdesouza-chromium c31f01cfc2 [include-what-you-use] Initial tooling (#36508)
This PR introduces the basic tooling to have `include-what-you-use` run
against the brave codebase in maintainance mode. This manual regular
runs that cover more and more of the codebase.

Bug: https://github.com/brave/brave-browser/issues/42212
2026-05-19 18:59:55 +01:00

12 lines
448 B
Python

# 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/.
"""Import this to add the parent tools/cr to sys.path."""
import sys
from pathlib import Path
_cr = str(Path(__file__).parent.parent)
if _cr not in sys.path:
sys.path.insert(0, _cr)