Merge "rust_grpcio well known types support, default deps"

This commit is contained in:
Zach Johnson
2020-11-11 23:22:27 +00:00
committed by Gerrit Code Review
6 changed files with 132 additions and 2 deletions

View File

@@ -592,6 +592,11 @@ func IsStaticDepTag(depTag blueprint.DependencyTag) bool {
return ok && ccLibDepTag.static()
}
func IsHeaderDepTag(depTag blueprint.DependencyTag) bool {
ccLibDepTag, ok := depTag.(libraryDependencyTag)
return ok && ccLibDepTag.header()
}
func IsRuntimeDepTag(depTag blueprint.DependencyTag) bool {
ccDepTag, ok := depTag.(dependencyTag)
return ok && ccDepTag == runtimeDepTag