Generalize the defaults module for module source builds.

It is useful in other places, as a Soong counterpart to
my_art_module_source_build in Android.common_path.mk.

Test: m nothing
Bug: 172480615
Change-Id: I9c02006148c3958b2c3af0ce0e0ea172a8c1e4cd
2 files changed