Returns (include_dirs, macros) extracted from a BUILD/BUILD.bazel file’s matching cc_library/cc_binary/cc_test target. Returns ([], []) on any recoverable failure.
Methods
_extract_bazel_flags
_extract_bazel_flags(bazel_build_path: str, target_name: Optional, : *, extended: bool) -> Tuple[List[str], List[str]]
Returns (include_dirs, macros) extracted from a BUILD/BUILD.bazel file’s matching cc_library/cc_binary/cc_test target. Returns ([], []) on any recoverable failure.
| Parameter | Type | Description |
|---|---|---|
| bazel_build_path | str | |
| target_name | Optional | |
* | ||
| extended | bool |
Generated with Flude
Copyright © 2026