Android.bp to support architectural files

49 views
Skip to first unread message

REGURI AKANKSHA

unread,
Oct 9, 2019, 4:09:51 PM10/9/19
to Android Building
Suppose say a module  has name - x and compile_multilib =32 and other module has name - x and compile_multilib = 64. When executed this would result in module duplication? How can this duplication be solved?
Thanks in advance 

Colin Cross

unread,
Oct 9, 2019, 4:17:40 PM10/9/19
to android-...@googlegroups.com
Use a single module, and put the differences into multilib lib32/lib64 clauses:

multilib: {
    lib32: {
        srcs: ["foo32.c"],
    },
    lib64: {
        srcs: ["foo32.c"],
    },
},

On Wed, Oct 9, 2019 at 1:09 PM REGURI AKANKSHA <akhire...@gmail.com> wrote:
Suppose say a module  has name - x and compile_multilib =32 and other module has name - x and compile_multilib = 64. When executed this would result in module duplication? How can this duplication be solved?
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 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/63c8a7f0-b53a-473c-82d6-f623df2fa8cf%40googlegroups.com.

Akanksha

unread,
Oct 16, 2019, 2:22:48 AM10/16/19
to Android Building
Thank you
Reply all
Reply to author
Forward
0 new messages