Yeah, subdirs is likely the issue here. In master, we do a full search of
all Android.bp files (ignoring subdirs), which would avoid this problem.

- Dan

On Fri, Jan 19, 2018 at 12:43 PM, Wesolowski, Krzysztof <
krzysztof.wesolow...@volvocars.com> wrote:

> Android.bp uses glob patterns instead of recursive search as Android.mk.
>
> So go to top level Android.bp and start digging into subdirs - you will
> find where the inclusion chain breaks.
>
> BR, K.
>
> Get Outlook for Android
>
> ------------------------------
> *From:* android-building@googlegroups.com <android-building@
> googlegroups.com> on behalf of Robert Dugal <rmdu...@gmail.com>
> *Sent:* Friday, January 19, 2018 12:47:44 PM
> *To:* Android Building
> *Subject:* [android-building] why would my vendor module's Android.bp be
> skipped after conversion from Android.mk ?
>
> I am working on converting an Android.mk into an Android.bp for a vendor
> module that we are porting to 8.1
> We had this working on 7.0 and 8.0 but ran into problems when trying to
> update to 8.1
>
> The only reason I am doing this conversion is because some other system
> module switched from Android.mk to Android.bp and now it cannot find my
> vendor module when I build.
> From what I can tell it appears my vendor module needs to now use
> Android.bp in order for the other system module to correctly resolve the
> dependency for my module.
> Someone please correct me if that is not true.
>
> When I build it appears that for some reason my Android.bp file is not
> being processed at all.
> If I put garbage in my Android.bp file no errors are generated when I try
> "make modules".
> If I look in out/soong/.bootstrap/build.ninja.d I don't see my Android.bp
> being processed but I see other vendor/qcom/ modules being processed.
> If I try to build from my vendor module directory I get the error "ninja:
> error: unknown target 'MODULES-IN-vendor-..... "
> The only way I can seem to get this working is to switch the system module
> back to using Android.mk but then there are things in Android.bp 
> (vendor_available,
> vndk, etc.) that I don't know how to replicate with Android.mk
>
> I am confused as to why my Android.bp is not being used.
>
> --
> --
> You received this message because you are subscribed to the "Android
> Building" mailing list.
> To post to this group, send email to android-building@googlegroups.com
> To unsubscribe from this group, send email to
> android-building+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-building?hl=en
> <https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgroups.google.com%2Fgroup%2Fandroid-building%3Fhl%3Den&data=02%7C01%7Ckrzysztof.wesolowski%40volvocars.com%7Cecad7f60f8b647c7405c08d55f6bfa5e%7C81fa766ea34948678bf4ab35e250a08f%7C0%7C0%7C636519839720712960&sdata=v8iuDAHAWLJo%2FV8CBieV9V%2B8VlAcAz3Vkewur%2FvqSiE%3D&reserved=0>
>
> ---
> 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 android-building+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout
> <https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Foptout&data=02%7C01%7Ckrzysztof.wesolowski%40volvocars.com%7Cecad7f60f8b647c7405c08d55f6bfa5e%7C81fa766ea34948678bf4ab35e250a08f%7C0%7C0%7C636519839720712960&sdata=MVUeu1%2B5OT4NMXP2vPQP6KRHW8%2BqpZwCcK4gNB4zSo8%3D&reserved=0>
> .
>
> --
> --
> You received this message because you are subscribed to the "Android
> Building" mailing list.
> To post to this group, send email to android-building@googlegroups.com
> To unsubscribe from this group, send email to
> android-building+unsubscr...@googlegroups.com
> 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 android-building+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
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 android-building+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to