[automerger skipped] Merge "Move shared module build rules to common repo" am: bad51dd74b am: 09ffc7f094 am: b81de8b4c1 -s ours

am skip reason: Change-Id I6e6d32eb7269411350cdd3f635d9c461edcfcb6f with SHA-1 56ca66dd90 is in history

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1570680

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: If49972c7e75e8db57c3ca07f15ecac852365932c