Oculus virtual reality sdk in build script in Unity 5.4b

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.

In the projectsetting.asset file there is a section where you can list the VR devices you need per platform in the format

Standalone::VR::enabledDevices:

followed by a list of the VR devices

 - Oculus

@grag0042
I need to change the virtual reality sdk settings through code as well. How can I modify the asset file directly if I can’t do it through the PlayerSettings API?