commit | 359c238ea2e6a5488d6f16a14eed4c0459a03972 | [log] [tgz] |
---|---|---|
author | Spandan Das <spandandas@google.com> | Sat Jun 22 01:13:25 2024 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Fri Jul 26 02:02:35 2024 +0000 |
tree | afdc8c8f885ac989fea8b6400de83fb61f9d235e | |
parent | 2eaac18beb092b3f1d680a43d013c4ed1560bbb6 [diff] |
Drop use_source_config_var from >=V module sdk snapshots With https://r.android.com/3048855, use_source_config_var has become a no-op for source vs prebuilt selection. This CL updates the module sdk generation script to drop this property from V and above snapshots. For backwards compatibility, this property will be kept in the generated snapshots for T and U Implementation Details: This has implemented by introducting a new mode `PreferHandling.USE_NO_PREFER_PROPERTY`. When this mode is selected, the generated Android.bp will not contain `prefer: false`. This differentiates it from `PreferHandling.None` which keeps the `prefer: false`. Test: Generated module sdk snapshot for Adservices. The Android.bp corresponding to "next" looks like this: https://paste.googleplex.com/6505539983114240 Test: presbumits Bug: 335721403 (cherry picked from https://android-review.googlesource.com/q/commit:d790ff73020bea233d68372aeb4bb4e9712d25b2) Merged-In: Ibc28e7e6dfbd6b28c47be5f5c6a71ba2610872de Change-Id: Ibc28e7e6dfbd6b28c47be5f5c6a71ba2610872de
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.