diff options
author | Oliver Reiche <oliver.reiche@huawei.com> | 2023-01-16 19:10:32 +0100 |
---|---|---|
committer | Oliver Reiche <oliver.reiche@huawei.com> | 2023-01-20 16:02:11 +0100 |
commit | 4a8579a2a4ef252644df0c29893e70ad8438ae82 (patch) | |
tree | fa53e5d398c6dba59ed760fb3d802cc059f05821 /CC/test | |
parent | d567b848e57686f631b0a0c081126bea578838c2 (diff) | |
download | rules-cc-4a8579a2a4ef252644df0c29893e70ad8438ae82.tar.gz |
Support flag-files for existing rules and expressions
Diffstat (limited to 'CC/test')
-rw-r--r-- | CC/test/RULES | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/CC/test/RULES b/CC/test/RULES index 60f33ab..b46d6b0 100644 --- a/CC/test/RULES +++ b/CC/test/RULES @@ -115,6 +115,8 @@ , "link-args-deps": ["./", "..", "link-args-deps"] , "run-libs-deps": ["./", "..", "run-libs-deps"] , "run-libs-args-deps": ["./", "..", "run-libs-args-deps"] + , "cflags-files-deps": ["./", "..", "cflags-files-deps"] + , "ldflags-files-deps": ["./", "..", "ldflags-files-deps"] , "binary": ["./", "..", "bin artifact"] , "host transition": ["transitions", "for host"] } @@ -163,6 +165,9 @@ , ["defaults-transition", {"type": "var", "name": "host-trans"}] , ["deps-transition", {"type": "var", "name": "host-trans"}] , ["deps-fieldnames", ["private-deps"]] + , [ "cflags-files" + , {"type": "CALL_EXPRESSION", "name": "cflags-files-deps"} + ] , ["compile-deps", {"type": "CALL_EXPRESSION", "name": "compile-deps"}] , [ "compile-args" , { "type": "++" @@ -178,6 +183,9 @@ ] } ] + , [ "ldflags-files" + , {"type": "CALL_EXPRESSION", "name": "ldflags-files-deps"} + ] , ["link-deps", {"type": "CALL_EXPRESSION", "name": "link-deps"}] , [ "link-args" , { "type": "++" |