how Android soong/android.bp build works?

Midhun PM picture Midhun PM · May 10, 2018 · Viewed 19.2k times · Source

Google introduced Soong build system the replacement of old makefile system. Have any idea about how it works? please tell me about Android.bp

Answer

oscarthecat picture oscarthecat · Aug 20, 2018
  1. ninja is the new build tools for aosp, which using *.ninja to work;
  2. for the legacy Android.mk, kati is applied to transform Androd.mk to *.ninja;
  3. google is now using Android.bp file to describe module compile details, which is also transformed to *.ninja by blueprint/soong;
  4. after all Android.mk is rewrite to Android.bp, kati will be removed, and we will have blueprint/soong/ninja only;

as this link explains.