From 4e8ad750a8e276820c4c5ab807436b5abd528682 Mon Sep 17 00:00:00 2001 From: Martin Medler Date: Tue, 28 May 2024 23:21:15 +0200 Subject: [PATCH] Actions should offer a proper mnemonic - All actions should have a mnemonic. This allows centrally setting certain attributes for all actions of a certain kind - Use 'Dwyu' prefix to make sure they are unique --- src/aspect/dwyu.bzl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/aspect/dwyu.bzl b/src/aspect/dwyu.bzl index b944758..ed205ac 100644 --- a/src/aspect/dwyu.bzl +++ b/src/aspect/dwyu.bzl @@ -49,6 +49,7 @@ def _process_target(ctx, target, defines, output_path, is_target_under_inspectio inputs = header_files, executable = ctx.executable._process_target, arguments = [args], + mnemonic = "DwyuProcessTargetInfo", outputs = [processing_output], ) @@ -248,7 +249,7 @@ def dwyu_aspect_impl(target, ctx): executable = ctx.executable._dwyu_binary, inputs = analysis_inputs, outputs = [report_file], - mnemonic = "CompareIncludesToDependencies", + mnemonic = "DwyuAnalyzeIncludes", progress_message = "Analyze dependencies of {}".format(target.label), arguments = [args], )