commit | 4927b9431a28e31a303a9f804fc5e0ef55b1a3ac | [log] [tgz] |
---|---|---|
author | Martin Stjernholm <mast@google.com> | Tue Oct 19 19:10:57 2021 +0100 |
committer | Martin Stjernholm <mast@google.com> | Wed Oct 20 14:07:15 2021 +0100 |
tree | 696b53ec1cb5e6aad7bfbc6a935ef43c4391bfb2 | |
parent | e0120a1ad30812803d3de7f82876f129420b4f9c [diff] |
Remove UNBUNDLED_BUILD_SDKS_FROM_SOURCE=true setting. It needs to be controlled by build instead: - Prebuilt SDKs should be used for unbundled Mainline module builds, and is necessary on thin module branches to avoid dependencies on frameworks/base (e.g. framework-doc-stubs used by lint-check). - Source SDKs are needed on master which can otherwise get problems with out of date prebuilts (see e.g. b/140162931). Test: env TARGET_BUILD_APPS=com.android.art \ packages/modules/common/build/build_unbundled_mainline_module.sh \ --product module_arm --dist_dir out/dist using the thin master-art manifest Bug: 202192894 Change-Id: Ia73ccc6e694caec64c7dd0d86246a258e2bb9239
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.