Add basic build process from CyanogenMod

Change-Id: I7caa9ab5a6a1bc8e7dbf43a38775cc5aa9a73fdd