Anyway to control Soong when to pick Android.bp and when not?
问题 With new build system i.e. "Soong" , Android replaced Android.mk with Android.bp . Also Android Q onward, Soong will pick all Android.bp files no matter where all are present. Earlier, For 2 level and 3 level modules, it was not picking up Android.bp file unless instructed by "optional_dirs" . Now this too has been deprecated. Quoting from android source code's platform/build/soong/root.bp: // Soong finds all Android.bp and Blueprints files in the source tree, // subdirs= and optional_subdirs