Skip to content

Commit cbc4970

Browse files
committed
feat(filter_include_changes): --filter-third-party option
1 parent f203686 commit cbc4970

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

filter_include_changes.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ def main():
146146
parser.add_argument(
147147
"--weight-threshold", type=float, help="Filter out changes with a weight value below the threshold."
148148
)
149+
parser.add_argument("--filter-third-party", action="store_true", help="Filter out third_party/ (excluding blink) and v8.")
149150
parser.add_argument("--no-filter-generated-files", action="store_true", help="Don't filter out generated files.")
150151
parser.add_argument("--no-filter-mojom-headers", action="store_true", help="Don't filter out mojom headers.")
151152
parser.add_argument("--no-filter-ignores", action="store_true", help="Don't filter out ignores.")
@@ -197,6 +198,7 @@ def main():
197198
change_type_filter=change_type_filter,
198199
filter_generated_files=not args.no_filter_generated_files,
199200
filter_mojom_headers=not args.no_filter_mojom_headers,
201+
filter_third_party=args.filter_third_party,
200202
header_mappings=config.headerMappings if config else None,
201203
weight_threshold=args.weight_threshold,
202204
):

0 commit comments

Comments
 (0)