In Unity 5.4b3 they added
VR SDK list is per build-target.
Dependencies (dlls, etc) will be copied to the build for every sdk in the list.
when building a unity project via a build script, previous all that was needed was,
playersettings.virtualRealitySettings=true
to enable oculus on a windows build.
Now they have added a list that is visible in the editor. but the Documentation has no information on how to set this in a build script.
The Unity Documentation is here but as per normal, completly useless.