Compile StorageManager sources once

Put all the StorageManager sources and resources into an android_library
so that they are only built once and can always use a single package
name to refer to the resources once use_resource_processor: true is
enabled.

This relands I97387234c9e90fa2a68b9ee7e013dbb0f15c04ca with a fix to

Bug: 294256649
Test: m StorageManager StorageManagerGoogle
Change-Id: I0bd9eb69570ef95c02e0dfb15312887ff0dcc717
4 files changed