Merge "Add soong config rules for more module rules." into sc-dev am: bf0eb69c4a

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/common/+/15299316

Change-Id: I55b2ac3624a036c789f9b4bdecf6b5b137a06d9f
tree: d63958f9f705b9d0c88f5aabf83f98eb3f56f504
  1. build/
  2. java/
  3. proto/
  4. sdk/
  5. tools/
  6. Android.bp
  7. generate_ml_bundle.sh
  8. MODULES_OWNERS
  9. OWNERS
  10. PREBUILTS_MODULE_OWNERS
  11. PREUPLOAD.cfg
  12. 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.