Add test for dependency options
Push dependency option generation into BuildOptions
android-sdk 22.0.5
android-ndk 9

Closes #22240.