commit | f888b287f8f81b022a88671db2066de2e7894fd5 | [log] [tgz] |
---|---|---|
author | Gurpreet Singh <gurpreetgs@google.com> | Thu Jun 13 00:21:33 2024 +0000 |
committer | Gurpreet Singh <gurpreetgs@google.com> | Thu Jun 13 17:19:39 2024 +0000 |
tree | ea7712cf06555dbfb75d06e8a9fe33d5db3b0572 | |
parent | daef5e933ab709eaa9d3bb4122fcfc38f61394bb [diff] |
Part 2: Fix finalize_sdk script execution for "all modules" case aosp/3005020 broke the finalize_sdk script for the special case when no modules are passed as parameter. Though it works correctly when any non-empty list of subset of valid mainline modules is passed. Emtpy module list implies all modules are finalized. In that case, all module_sdk zip files are fetched and is extracted by finding the corresponding prebuilts repo for the module_sdk. Currently this mapping is from module_name to its prebuilts repo. This fix adds sdk_name to the mainline-modules-info.json file which help to find the prebuilts repo using the sdk_name of the module. This fix is split into 2 CLs - 1. Adds sdk_name to mainline-modules-info.json. 2. Update finalize_sdk script to use sdk_name to fetch prebuilts repo. This CL addresses part #2. Bug: 321970705 Test: packages/modules/common/tools/finalize_sdk.py -f 14 -b 256848771 -r 'Finalized for testing' -c mainline 11965776 Change-Id: Ib5ccd6b96cbab51a3121a065a507b5e93f3d0134
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.