Support module_build_from_source for more prebuilt types.

SDK prebuilts also need to support module_build_from_source for
consistency with module artifacts. Add support for this to the build rules
used by SDK prebuilts.

Bug: 188427719
Bug: 192588050
Test: m nothing
Change-Id: Idb3ed8b92217f05975fbbe208f38378ac1a8ab8b
1 file changed
tree: 46d0bb2ea7ba98455abf03d8c68e438d7dec331f
  1. build/
  2. java/
  3. proto/
  4. sdk/
  5. tools/
  6. Android.bp
  7. MODULES_OWNERS
  8. OWNERS
  9. PREUPLOAD.cfg
  10. 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.