Skip to content

Latest commit

 

History

History
38 lines (22 loc) · 625 Bytes

README.mkdn

File metadata and controls

38 lines (22 loc) · 625 Bytes

Android Open Source Project

用你知道的方式把AOSP源码同步下来

# Google Code

repo init -u https://android.googlesource.com/platform/manifest -b android-12.0.0_r8 --depth=1

git clone https://vm.cooluc.com/AOSP-12/local_manifests .repo/local_manifests -b 12

# 同步源码

repo sync -c -j$(nproc --all) --force-sync --no-clone-bundle --no-tags

编译

# Set up environment
$ . build/envsetup.sh

# Choose a target
$ lunch aosp_$device-userdebug

# Build the code
$ brunch $device

已有源码切换分支

$ repo init -b android-12.0.0_r8