Building Android.bp

102 views
Skip to first unread message

Amit Agrawal

unread,
Mar 1, 2019, 11:34:49 AM3/1/19
to android-...@googlegroups.com
Hello,
I am new to AOSP. As far as I know we were using 'Make build system' in nougat which were building Android.mk files. And from Oreo onwards Soong is used for Android.bp.
Is there any way by which I can build the Android.bp files in nougat using the 'Make build system'?

Thanks and Regards,
Amit Agrawal

Dan Willemsen

unread,
Mar 1, 2019, 4:58:41 PM3/1/19
to Android Building
No, Nougat does not support building with Android.bp files. Oreo and later support both Android.mk and Android.bp files (though Android.bp files largely cannot reference Android.mk files, so all your dependencies need to be converted to Android.bp first).

- Dan

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

Amit Agrawal

unread,
Jul 18, 2019, 10:37:58 AM7/18/19
to Android Building
So In Android P, It supports both .bp as well as .mk. What if I want to compile a module which is in .bp format but it depends on some other module which is written in .mk format? Is there anyway that we ignore the dependencies?


On Saturday, March 2, 2019 at 3:28:41 AM UTC+5:30, Dan Willemsen wrote:
No, Nougat does not support building with Android.bp files. Oreo and later support both Android.mk and Android.bp files (though Android.bp files largely cannot reference Android.mk files, so all your dependencies need to be converted to Android.bp first).

- Dan

On Fri, Mar 1, 2019 at 8:34 AM Amit Agrawal <aami...@gmail.com> wrote:
Hello,
I am new to AOSP. As far as I know we were using 'Make build system' in nougat which were building Android.mk files. And from Oreo onwards Soong is used for Android.bp.
Is there any way by which I can build the Android.bp files in nougat using the 'Make build system'?

Thanks and Regards,
Amit Agrawal

--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to android-...@googlegroups.com
To unsubscribe from this group, send email to

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-...@googlegroups.com.

Dan Willemsen

unread,
Jul 18, 2019, 12:27:42 PM7/18/19
to Android Building
Android.bp files must have all of their dependencies in Android.bp as well. There is no way to work around that.

- Dan


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-buildi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/96c8d988-c0bb-47a0-8d5a-9b2a0edf4872%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages