Move module defaults into a dedicated .bp file

I'm adding some other modules in a follow up, and to avoid creating
a large messy bp file, do some re-organization ahead of time.

Bug: 184839225
Bug: 185128417
Test: m
Change-Id: Icd655e680f7138582ddf34fb0e0e78e9bdd7a927
2 files changed
tree: 14824b75883a3b066ecc700a8419231e7a6dd788
  1. build/
  2. java/
  3. sdk/
  4. Android.bp
  5. MODULES_OWNERS
  6. OWNERS
  7. PREUPLOAD.cfg
  8. README.md
README.md

packages/modules/common

This project includes mainline build and other utility code. Any library code intended for use by modules should go in frameworks/libs/modules-utils instead.

java code

This project uses a single source path for java code. All java code should go in the java directory with subdirectories corresponding to the java package. Android.bp files should go alongside the java source files, and should only include java source for a single java package to encourage good code hygiene.

Tests for java code should go in the javatests directory and follow the same structure.