Which version of Android are you using? Starting in Android P (IIRC), `subdirs` stopped doing anything, and we always load all Android.bp files (nothing really gets executed when they're loaded -- they're just used to build the action graph that we later execute). Depending on your use case, `soong_namespace`s can partition different subtrees of Android.bp files away from others.
- Dan On Sat, Nov 2, 2019 at 3:30 PM seeker <[email protected]> wrote: > Hello, > lets say a folder X has a,b,c,d and e as subfolders and I encountered a > case where X's Android.bp includes subdirs=[a,b,c,d] and not e, and when > executed on a whole despite of not including e in subdirs, e's > Android.bp is getting executed > How to avoid this? > And Can I get knowledge on how many levels of Android.bp will be included > by default? or any Android.bp from top will be included by default? > Thanks in advance:) > > -- > -- > You received this message because you are subscribed to the "Android > Building" mailing list. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-building?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "Android Building" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/android-building/59b113e2-aec7-4935-8991-874ff04102ff%40googlegroups.com > <https://groups.google.com/d/msgid/android-building/59b113e2-aec7-4935-8991-874ff04102ff%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-building?hl=en --- You received this message because you are subscribed to the Google Groups "Android Building" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/CALQgHdmWS4eoEXdBhV-v_V6vR1BFSQZ0abi-JxjCj%3D598NRMCQ%40mail.gmail.com.
