summaryrefslogtreecommitdiff
path: root/rules/lint/RULES
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2025-04-23 16:44:13 +0200
committerPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2025-04-23 16:44:13 +0200
commit22609af685676ca3ab98e346b79d089edb58db31 (patch)
treee0f51ffd5c3b23a0c30aba3f5f09aca9224e9cf8 /rules/lint/RULES
parent3c89987b5abf38b80553840d4717315921d7b532 (diff)
parent1e7f2ce643f9b2c7e07c7cec7f04bcf13b489668 (diff)
downloadrules-cc-22609af685676ca3ab98e346b79d089edb58db31.tar.gz
Merge commit '1e7f2ce643f9b2c7e07c7cec7f04bcf13b489668' into HEAD
Diffstat (limited to 'rules/lint/RULES')
-rw-r--r--rules/lint/RULES14
1 files changed, 12 insertions, 2 deletions
diff --git a/rules/lint/RULES b/rules/lint/RULES
index 6bdfba7..684ec2f 100644
--- a/rules/lint/RULES
+++ b/rules/lint/RULES
@@ -58,10 +58,13 @@
, " by the field \"config\", and"
, "- OUT pointing to a directory to which files with the lint result"
, " can be written."
- , "- META pointing to a json file contaning"
+ , "- META pointing to a json file containing"
, " - at key \"direct deps artifact names\" a list of all input"
, " artifacts that come from the target itself or are runfiles of a"
, " direct dependency."
+ , " - at key \"extra outs\" a list of extra output artifacts that the"
+ , " command might produce, such as DWARF objects if debug fission is"
+ , " enabled."
, "- TMPDIR pointing to a directory location that can be used to"
, " create additional temporary files."
, "It is supposed to indicate by the exit code whether the file to lint"
@@ -163,6 +166,12 @@
, "provider": "direct deps artifact names"
}
]
+ , [ "extra outs"
+ , { "type": "DEP_PROVIDES"
+ , "dep": {"type": "var", "name": "_"}
+ , "provider": "extra outs"
+ }
+ ]
]
, "body":
{ "type": "TREE"
@@ -189,7 +198,8 @@
{ "type": "json_encode"
, "$1":
{ "type": "env"
- , "vars": ["direct deps artifact names"]
+ , "vars":
+ ["direct deps artifact names", "extra outs"]
}
}
}