Move Preconditions into modules-utils.

Note: this is a partial cherry-pick of an internal topic. As such,
it's more of an "Add" than "Move", because Preconditions.java remains
in frameworks/base. AOSP-first modules can migrate to this target at
their leisure.

Bug: 181787682
Bug: 146218515
Test: Presubmit
Change-Id: I04677e1124e2b1d6ed9149fb5a9c91af14877ee5
Merged-In: I04677e1124e2b1d6ed9149fb5a9c91af14877ee5
3 files changed
tree: 2d23a723504853f421a0576c3c286586a092281d
  1. build/
  2. java/
  3. javatests/
  4. tools/
  5. Android.bp
  6. OWNERS
  7. PREUPLOAD.cfg
  8. TEST_MAPPING