Disable host building when compiling art modules

16 views
Skip to first unread message

Paschalis Mpeis

unread,
May 31, 2020, 7:28:09 PM5/31/20
to Android Building
Is there a way to disable host building when compiling `art` modules?

For example I would like to compile libart, using`m libart`, just for `arm` and `arm64` variants,
but I don't want to keep compiling the `linux_glibc` version.

I could disable `linux_glibc` for `libart` by adding in: art/runtime/Android.bp something like:
`target: { linux_glibc: { enabled: false } }`

This however causes dependency issues as there are many modules that do depend on `libart`.

Cheers,
Paschalis
Reply all
Reply to author
Forward
0 new messages