$ mkdir aosp && cd aosp
$ repo init -u
https://android.googlesource.com/platform/manifest
// For a specific branch “-b android-5.0.1_r1”
$ repo sync
Slide 15
Slide 15 text
Compiling
● GNU/Linux or Mac system
● 64bit environment for 2.3 or later
● Minimum 100GB free space
● Python 2.x, GNU Make, JDK 7 (JDK 5 for froyo, 7 for Gingerbread to
Kitkat)
● Minimum 8GB RAM
Slide 16
Slide 16 text
How to compile
Slide 17
Slide 17 text
$ export USE_CCACHE=1
$ source build/envsetup.sh
$ lunch
// aosp_arm-eng ARM emulator
→
// full_mako-userdebug Nexus 4
→
// user production
→
// user_debug preferred for debugging
→
// eng development config with additional debugging tools
→
$ make -j4