Move shared module build rules to common repo

This decouples modules from frameworks/base, and this repo also has
a different automerger strategy.

Add //frameworks/base/apex:__subpackages__ to the defaults_visibility
to preserve the existing behavior.

Bug: 179377774
Test: m
Merged-In: I1cf8cbbccf042a8503bf751ab057742cca357585
Change-Id: I1cf8cbbccf042a8503bf751ab057742cca357585
(cherry picked from commit bd9ecbefc99277bddb5df894f91afca1514cb7fb)
1 file changed
tree: f58b3c76659ccc524bba757c8ade676f43d37617
  1. sdk/
  2. OWNERS