The Unity runtime lacks the surface shader translator, Cg compiler, and HLSL and GLSL cross-compilers. This means that it can’t create functioning shader programs from these sources.
However, I believe you can provide pre-compiled shaders in ARB and D3D9 for desktops, or straight OpenGL ES for mobile platforms. For examples, create a new shader in Unity and click “Open compiled shader” in the inspector.