diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2022-11-16 17:04:26 +0100 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2022-11-21 12:43:34 +0100 |
commit | 0c83c812f8cc559c647e6a3c6f3beea71de3bb06 (patch) | |
tree | b6d5027a74bb3fd3097a59994dcf3b959f516870 /rules/CC/EXPRESSIONS | |
parent | 30c6536b76eb0ce8f7c8f66ed7b819a36a5ac700 (diff) | |
download | justbuild-0c83c812f8cc559c647e6a3c6f3beea71de3bb06.tar.gz |
support the concept of private deps
i.e., libraries that are used only in the implementation without
use in the public header files. In this way, the set of headers
exposed to dependencies can be reduced leading potentially to better
incrementality.
Diffstat (limited to 'rules/CC/EXPRESSIONS')
-rw-r--r-- | rules/CC/EXPRESSIONS | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/rules/CC/EXPRESSIONS b/rules/CC/EXPRESSIONS index fdef17f4..7871acef 100644 --- a/rules/CC/EXPRESSIONS +++ b/rules/CC/EXPRESSIONS @@ -486,7 +486,7 @@ , "expression": { "type": "let*" , "bindings": - [ ["deps-fieldnames", ["deps", "proto-deps"]] + [ ["deps-fieldnames", ["deps", "private-deps", "proto-deps"]] , ["compile-deps", {"type": "CALL_EXPRESSION", "name": "compile-deps"}] , ["link-deps", {"type": "CALL_EXPRESSION", "name": "link-deps"}] , ["lib", {"type": "CALL_EXPRESSION", "name": "lib artifact"}] @@ -502,6 +502,8 @@ } } ] + , ["deps-fieldnames", ["deps", "proto-deps"]] + , ["compile-deps", {"type": "CALL_EXPRESSION", "name": "compile-deps"}] ] , "body": { "type": "RESULT" |