summaryrefslogtreecommitdiff
path: root/CC/proto
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2022-11-16 17:04:26 +0100
committerKlaus Aehlig <klaus.aehlig@huawei.com>2022-11-21 12:43:34 +0100
commit5c517c8cf9a28942394a29d95a31a1cde412b26d (patch)
tree3bffdf568fbb11438cc84b3c601b52171950edad /CC/proto
parent52467f17b7b99b044267617c33f142f66ef5d0d7 (diff)
downloadrules-cc-5c517c8cf9a28942394a29d95a31a1cde412b26d.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 'CC/proto')
-rw-r--r--CC/proto/RULES2
1 files changed, 2 insertions, 0 deletions
diff --git a/CC/proto/RULES b/CC/proto/RULES
index a4579e7..d53ab35 100644
--- a/CC/proto/RULES
+++ b/CC/proto/RULES
@@ -26,6 +26,7 @@
, "proto-deps": [["@", "protoc", "", "C++ runtime"]]
, "well_known_protos": [["@", "protoc", "", "well_known_protos"]]
, "pure C": []
+ , "private-deps": []
}
, "imports":
{ "protoc-compile": "protoc-compile"
@@ -72,6 +73,7 @@
]
, "well_known_protos": [["@", "protoc", "", "well_known_protos"]]
, "pure C": []
+ , "private-deps": []
}
, "imports":
{ "protoc-compile": "protoc-compile"