Obtain the access to java_agent_binary for Java tag instrumentation agent, and make java_agent_binary support the attribute "resources".
Obtain the access to java_agent_binary for Java tag instrumentation agent, and make java_agent_binary support the attribute "resources".

It is a breakdown of [this CL](cl/214788497).

#javataginstrumentationagent

PiperOrigin-RevId: 219647762

google/allocation-instrumenter,google/allocation-instrumenter