Add module_java_test_import module type required by new Conscrypt
test-export snapshot.

A new Conscrypt test-exports has a conscrypt-tests module that gets
transformed to module_java_test_import. The old snapshot in
prebuilts/runtime/mainline/conscrypt/test-exports was not produced by
packages/modules/common/build/mainline_modules_sdks.py so didn't have
any transformations.

Since Conscrypt is an unbundled module its test and host exports do get
transformed just like the SDK, even though they only go into
prebuilts/runtime/mainline for use on master-art.

Test: env TARGET_BUILD_APPS="com.android.i18n com.android.runtime com.android.tzdata" \
        packages/modules/common/build/mainline_modules_sdks.sh \
        --build-platform-sdks-for-mainline --build-release=latest
  Replace SDK snapshots under prebuilts/runtime/mainline with
  those produced in out/dist/bundled-mainline-sdks
  in a master-art tree, then `banchan com.android.art && m`
Bug: 216762037
Change-Id: I8bc68d1063f3ce799123870d03de3fe691be2d69
1 file changed
tree: a397a6ec069e2084bc009487cf0520ba8f15c3d4
  1. build/
  2. java/
  3. proguard/
  4. proto/
  5. sdk/
  6. tools/
  7. Android.bp
  8. generate_ml_bundle.sh
  9. MODULES_OWNERS
  10. OWNERS
  11. PREBUILTS_MODULE_OWNERS
  12. PREUPLOAD.cfg
  13. 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.