Add build rules for updated SDK 30 android.jars

These build rules are work-in-progress libraries to produce SDK jars
based on SDK 30 but with updated mainline module stubs.

They aren't yet ready to be used, as some of the components need
tweaking (for example, the android-non-updatable prebuilt does not
have resources in it)

Migrate in the android.jar defaults from frameworks/base to avoid taking
a dependency on that repository.

Bug: 184839225
Test: m android_30_modules_current{,_system}
Change-Id: Ie696406c57f437c9c46d727311ff2956b2c8c4ea
2 files changed
tree: 9cf1e6f48a4376496a3325a7921413e8df6f8b7e
  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.