Fix missing soong_env variables. This is to allow populating the `SOONG_SDK_SNAPSHOT_TARGET_BUILD_RELEASE` correctly, and not to consider it `current` Bug: 495487372 Flag: EXEMPT BUGFIX Test: go test ./... # Soong tests Test: Ran `env TARGET_BUILD_APPS=com.android.conscrypt TARGET_RELEASE=next TARGET_BUILD_VARIANT=userdebug UNBUNDLED_BUILD_SDKS_FROM_SOURCE=true packages/modules/common/build/mainline_modules_sdks.sh --build-release=Baklava-1` and make sure the Android.bp doesn't contain the new dex_preopt property Test: Ran `env TARGET_BUILD_APPS=com.android.conscrypt TARGET_RELEASE=next TARGET_BUILD_VARIANT=userdebug UNBUNDLED_BUILD_SDKS_FROM_SOURCE=true packages/modules/common/build/mainline_modules_sdks.sh --build-release=CinnamonBun` and make sure the Android.bp contains the new dex_preopt property Cherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:dfdc10363c53cafe419e4eb6a1509ccb3314a5f1 Merged-In: I8f6a04925516934c5886b079f886b2dc4215312b Change-Id: I8f6a04925516934c5886b079f886b2dc4215312b
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.