summaryrefslogtreecommitdiff
path: root/CC/EXPRESSIONS
diff options
context:
space:
mode:
authorOliver Reiche <oliver.reiche@huawei.com>2022-09-19 14:13:02 +0200
committerOliver Reiche <oliver.reiche@huawei.com>2022-10-10 17:28:26 +0200
commit6f404766c89fb48c4fc871d2ccb273bc5d5b2e5e (patch)
tree4a020048a1be9198811079ac56f43230a56576ad /CC/EXPRESSIONS
parent1b8e5c3362673ece4bffe49e0f613eb3b5ec0aeb (diff)
downloadrules-cc-6f404766c89fb48c4fc871d2ccb273bc5d5b2e5e.tar.gz
rules: Use new 'env' expression
Diffstat (limited to 'CC/EXPRESSIONS')
-rw-r--r--CC/EXPRESSIONS13
1 files changed, 1 insertions, 12 deletions
diff --git a/CC/EXPRESSIONS b/CC/EXPRESSIONS
index 48f40a2..5153b2d 100644
--- a/CC/EXPRESSIONS
+++ b/CC/EXPRESSIONS
@@ -506,18 +506,7 @@
, "provides":
{ "type": "map_union"
, "$1":
- [ { "type": "singleton_map"
- , "key": "compile-deps"
- , "value": {"type": "var", "name": "compile-deps"}
- }
- , { "type": "singleton_map"
- , "key": "link-deps"
- , "value": {"type": "var", "name": "link-deps"}
- }
- , { "type": "singleton_map"
- , "key": "link-args"
- , "value": {"type": "var", "name": "link-args"}
- }
+ [ {"type": "env", "vars": ["compile-deps", "link-deps", "link-args"]}
, { "type": "var"
, "name": "extra-provides"
, "default": {"type": "empty_map"}