Is it possible to mark an attribute of a toolchain to be a set of target dependencies rather than becoming for the host platform?
For protobuf scala code gen in the rules scala we have the issue:
Toolchain is described @
if i put a local java library as a dependency to the toolchain it does seem to be under the host path as a host dependency.
This does seem to also be what the java grpc rules do too
type approach (adding or not the cfg="target" doesn't seem to make any effect which is in line with the docs). Though the scala rules are aspect based if that makes any difference.
Is there toolchain incantation i'm missing here(or just done something silly?)? I need users to be able to specify dependencies for all targets generated by the scalapb rule though on the target platform.
Thanks,
Ian.