Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Image Removed

For all supported AOSP versions, except for version 5, IncrediBuild Linux provides a customized ib_profile.xml file, which is designed for each version separately. Before you run an AOSP build, you need to locate the appropriate ib_profile.xml file for your AOSP version, and copy it to your project directory. Then, you can run your AOSP builds with Make.

...

Before you execute AOSP 10 and 11 builds, there are certain actions you need to perform in order to prepare your Incredibuild Environment for the executions.  

> To prepare your IncrediBuild Environment for executing AOSP 10 and 11 builds:

...

#!/bin/bash

source build/envsetup.sh

lunch aosp_arm-eng

m droid

...

Code Block
ib_console ./m_droid -j <Number_of_Processes_to_Run_in_Parallel>

For example:

Code Block
ib_console ./m_droid -j 200

Troubleshooting AOSP 10-11

If you are having issues, verify that the config file sets the size of the shared memory that will be used by the running builds. This setting is sometimes needed for the execution of AOSP 10+ sandbox. Unlike other AOSP versions, AOSP 10 and 11 have a limitation on the size of shared memory that can be used. Therefore, you may need to explicitly set the memory size, and not to use the default size. 

...

Executing AOSP 5-9 Builds

Note: You can run Android version 5 with the default ib_profile.xml file.

...

For Android versions 5,6,7,9 - run with your build tool command as follows:

Code Block
ib_console <Your_Build_Tool_Command> -<Multiprocessing_Command> <Number_of_Processes_to_Run_in_Parallel>

For example, if your are using Make enter the following:

Code Block
ib_console make –j XX

For Android 8 - run with your build tool command as follows:

Code Block
ib_console <Your_Build_Tool_Command> ANDROID_COMPILE_WITH_JACK:=false -<Multiprocessing_Command> <Number_of_Processes_to_Run_in_Parallel>

For example, if your are using Make enter the following:

Code Block
ib_console make ANDROID_COMPILE_WITH_JACK:=false -j XX

...

Image Added