Find our gerrit here.
# Initialize local repository
repo init -u https://github.com/cosp-project/manifest -b pie
# Sync
repo sync -c -jx --force-sync --no-clone-bundle --no-tags
# Set up environment
$ . build/envsetup.sh
# Choose a target
$ lunch cosp_$device-userdebug
# Build the code
$ mka bacon -jX