commit | 71fb724f6f3dff68f67e99127e3b517b8052a708 | [log] [tgz] |
---|---|---|
author | Martin Stjernholm <mast@google.com> | Mon Mar 28 12:24:12 2022 +0100 |
committer | Martin Stjernholm <mast@google.com> | Mon Mar 28 12:30:46 2022 +0100 |
tree | a397a6ec069e2084bc009487cf0520ba8f15c3d4 | |
parent | 576e65c5129dfb4a67ea69511443c19958f6f3e8 [diff] |
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
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.
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.