Restructure tools/platform-compat.

Follow default project setup from Android Studio:
1. Source files are put under src/main/{language specific folder}
2. Tests are under src/test/

Put Android.bp close to the source files. This removes most of the duplicated double packages, forces to reason about java packages, easier to parse files, easier to create shared code, and helps with future Java 9 enforcements.

As a follow up, we should split some of the java packages as well.

Bug: 148146608
Test: m
Change-Id: I9109898df620e917f7b98ae8800851be52774216
29 files changed
tree: 714b7ff22e7b830416733f841c824d68c5cb7f6d
  1. build/
  2. java/
  3. javatest/
  4. Android.mk
  5. OWNERS
  6. README.md
README.md

Platform compat tools

Tools for Android App Compat (go/android-compat).

What's in here?

annotation
├── processors # Java annotation processors for annotations defined in src/
│   ├── changeid # Creates compat_config xml files from @ChangeId constants
│   └── unsupportedappusage # Creates csv files with source positions for @UnsupportedAppUsage elements
└── src # Source files for annotation themselves