Documentation

Edit Extensions > API reference > java_proto_common

java_proto_common

Helper class for Java proto compilation.

has_proto_sources

bool java_proto_common.has_proto_sources(target)

Returns whether the given proto_library target contains proto sources. If there are no sources it means that the proto_library is an alias library, which exports its dependencies.

Parameters

Parameter Description
target

Target

The proto_library target.