Default Need help to make apk with android studio

Sorry for my noob question. But i realy don't understand how to make apk with android studio.
I trying build ContactsProvider.apk from https://github.com/CyanogenMod/andro...r/tree/cm-11.0
I imported project to android studio from source code.But this apk require android_frameworks_base from
https://github.com/CyanogenMod/android_frameworks_base. And i don't understand how to set android_frameworks_base as library.

Can anyone help me ?