repo init -u https://android.googlesource.com/platform/manifest -b android-6.0.1_r9
# or
repo init -u https://android.googlesource.com/platform/manifest -b android-n-preview-1
# Set git identity
git config --global user.email "nobody"
git config --global user.name "nobody"
# Docker does not set the $USER variable
export USER=$(whoami)
Source: android-rebuilds.beuc.net
hardware/qcom/msm8x74/kernel-headersinhardware/qcom/media/libc2dcolorconvert/Android.mk