How to call Android.bp from Android.mk?

1,130 views
Skip to first unread message

Sriraj Hebbar

unread,
Apr 13, 2020, 10:21:10 AM4/13/20
to Android Building
Hi,
I have a legacy code Android.mk from this make file I want to call Android.bp how can I do that?
when I add "include $(AIS_PATH)/hal/evs/1.1/Android.bp" its gving error like "Android.bp:1: error: missing separator."

Dan Willemsen

unread,
Apr 14, 2020, 6:56:25 PM4/14/20
to Android Building
Android.bp files are handled by a different system, and can't just be included as a makefile. In Android-P and newer (IIRC), all Android.bp files in the tree are always loaded, so you should be able to reference the modules from your Android.mk files (using LOCAL_SHARED_LIBRARIES/etc).

- 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/0cc931a4-881a-4d94-86e7-f0a4419d82e4%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages