Move Preconditions into modules-utils.

Bug: 181787682
Bug: 146218515
Test: Presubmit
Ignore-AOSP-First: Moving Preconditions.java from another repo. The Preconditions.java in AOSP is old and has changed, so if I copy that one, modules will have old code.
Change-Id: I04677e1124e2b1d6ed9149fb5a9c91af14877ee5
3 files changed
tree: fbf9deac9a7db4ae5276c3e1e2fc16876b74f864
  1. build/
  2. java/
  3. javatests/
  4. tools/
  5. Android.bp
  6. OWNERS
  7. PREUPLOAD.cfg
  8. TEST_MAPPING