Enable sources for some libraries even when ART is building from prebuilts.
Necessary to support prebuilt SDKs in prebuilts/module_sdk/art/current
that don't have prebuilts for the static native libraries
libdexfile_support, libdexfile_static, and libnativehelper_lazy.
Those libraries will no longer be provided by the prebuilt SDKs from
VIC and later, because they cannot be built with the right dependencies
to be used in earlier platforms.
This also enables sources for some other shared libraries that we'd
like to clean up at the same time - see description for
https://r.android.com/3137435.
(cherry picked from commit c4fc8d06288b3f1e85365b5964ef5e6fc54c7ace)
Issue: FP3-A13#318
Test: `m droid dist` with ART_MODULE_BUILD_FROM_SOURCE=false and
prebuilts/module_sdk/art/current updated with prebuilts from VIC
with https://r.android.com/3137435.
Bug: 346746614
Merged-In: I0fa95781d5715b35bc609c8b3e071b163da51f9e
Change-Id: I0fa95781d5715b35bc609c8b3e071b163da51f9e
(cherry picked from commit bb9f23fe905e1a916ed21f83e697c2b79e9cf051)
5 files changed