diff options
author | Oliver Reiche <oliver.reiche@huawei.com> | 2023-04-12 15:02:08 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2023-04-18 12:44:10 +0200 |
commit | 0db46fee9f6ef1dea2b6fe8aee671850fb78391f (patch) | |
tree | 8f330f9cf54665e8f2cf64f632d437a275d97e31 /CC/RULES | |
parent | 9e061c2705e6fc9516b3c88a8db99882aed0f433 (diff) | |
download | rules-cc-0db46fee9f6ef1dea2b6fe8aee671850fb78391f.tar.gz |
rules: Support hdrs-only for install-with-deps rule
Diffstat (limited to 'CC/RULES')
-rw-r--r-- | CC/RULES | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -484,7 +484,7 @@ ] , "config_vars": ["PREFIX"] , "target_fields": ["targets"] - , "string_fields": ["flat-libs", "prefix"] + , "string_fields": ["flat-libs", "prefix", "hdrs-only"] , "imports": {"install result": "install-with-deps result"} , "field_doc": { "targets": ["Targets to install artifacts from."] @@ -499,6 +499,7 @@ , "prefix is specified, the value from the config variable \"PREFIX\" is" , "taken, with the default value being \"/\"." ] + , "hdrs-only": ["Only collect headers from deps (without subdirectory)."] } , "config_doc": { "PREFIX": @@ -527,6 +528,7 @@ } ] , ["flat-libs", {"type": "FIELD", "name": "flat-libs"}] + , ["hdrs-only", {"type": "FIELD", "name": "hdrs-only"}] ] , "body": {"type": "CALL_EXPRESSION", "name": "install result"} } |