How to compile a global shader for specific platform?

For materials we can trigger the shader compile by clicking ShaderCode of specific API. How to do similar things for a global shader?
I know we can modify the shader and then invoke:

recompileshaders changed

to compile them, but it seems this can only compile it for current platform.

The only way seems to cook the whole project, then the global shader will be also compiled. But this takes long time and hard to debug the compilling process.

I ask this question because I have a global shader that failed to cook for android platform. I want to debug it so it would be very convinient if I can trigger the compile process for this specific shader.