summaryrefslogtreecommitdiff
path: root/rules
diff options
context:
space:
mode:
authorOliver Reiche <oliver.reiche@huawei.com>2023-04-12 15:02:49 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2023-04-18 12:44:10 +0200
commitd5a8ff34b7789a257a7acdbaeeefd16ff9575c25 (patch)
treeae068274a4efdb956290ada614697a87499f1ebb /rules
parent92ffc98eafe152965c312bacf882206983312816 (diff)
downloadjustbuild-d5a8ff34b7789a257a7acdbaeeefd16ff9575c25.tar.gz
rules: Drop CC/IDE headers rule
Diffstat (limited to 'rules')
-rw-r--r--rules/CC/IDE/RULES96
1 files changed, 0 insertions, 96 deletions
diff --git a/rules/CC/IDE/RULES b/rules/CC/IDE/RULES
deleted file mode 100644
index dc4b607a..00000000
--- a/rules/CC/IDE/RULES
+++ /dev/null
@@ -1,96 +0,0 @@
-{ "headers":
- { "doc": ["Transitive public headers of C++ target"]
- , "target_fields": ["proto", "deps"]
- , "string_fields": ["stage"]
- , "field_doc":
- { "proto": ["The proto source files for creating cc bindings."]
- , "deps": ["The targets to obtain the headers from."]
- , "stage":
- [ "The logical location of the header files. Individual directory"
- , "components are joined with \"/\"."
- ]
- }
- , "anonymous":
- { "proto-deps":
- { "target": "proto"
- , "provider": "proto"
- , "rule_map":
- { "library": ["./", "../proto", "library"]
- , "service library": ["./", "../proto", "service library"]
- }
- }
- }
- , "imports": {"runfiles_list": ["./", "../..", "field_runfiles_list"]}
- , "expression":
- { "type": "let*"
- , "bindings":
- [ [ "stage"
- , { "type": "join"
- , "separator": "/"
- , "$1": {"type": "FIELD", "name": "stage"}
- }
- ]
- , [ "artifacts"
- , { "type": "to_subdir"
- , "subdir": {"type": "var", "name": "stage"}
- , "$1":
- { "type": "map_union"
- , "$1":
- { "type": "++"
- , "$1":
- [ { "type": "let*"
- , "bindings": [["fieldname", "proto-deps"]]
- , "body":
- {"type": "CALL_EXPRESSION", "name": "runfiles_list"}
- }
- , { "type": "foreach"
- , "var": "x"
- , "range": {"type": "FIELD", "name": "proto-deps"}
- , "body":
- { "type": "DEP_PROVIDES"
- , "provider": "compile-deps"
- , "dep": {"type": "var", "name": "x"}
- , "default":
- { "type": "fail"
- , "msg":
- [ "Expected a library target, but got:"
- , {"type": "var", "name": "x"}
- ]
- }
- }
- }
- , { "type": "let*"
- , "bindings": [["fieldname", "deps"]]
- , "body":
- {"type": "CALL_EXPRESSION", "name": "runfiles_list"}
- }
- , { "type": "foreach"
- , "var": "x"
- , "range": {"type": "FIELD", "name": "deps"}
- , "body":
- { "type": "DEP_PROVIDES"
- , "provider": "compile-deps"
- , "dep": {"type": "var", "name": "x"}
- , "default":
- { "type": "fail"
- , "msg":
- [ "Expected a library target, but got:"
- , {"type": "var", "name": "x"}
- ]
- }
- }
- }
- ]
- }
- }
- }
- ]
- ]
- , "body":
- { "type": "RESULT"
- , "artifacts": {"type": "var", "name": "artifacts"}
- , "runfiles": {"type": "var", "name": "artifacts"}
- }
- }
- }
-}