Oculus VirtualRealitySDK in BuildScripts

In 5.4b3 they added support virtualrealitySDK. the documentation shows how this works in the editor. There is no information on how to do this in a build script.

as mentioned here Unity - Manual: Oculus

after you check the box, there is now a list that needs to be populated. In my build script that is done with

playersettings.virtualRealitySupported=true

Simple enough. Oculus will not work as the SDK is not loaded in the build script.
Where is it done?

If any one else needs the answer. In ProjectSettings.asset there is a section where you ca list the devices you want per platform in the form of

Standalone::VR::enabledDevices:

  • Oculus