commit | b672634d1f51e41125539ca0166b82aa0189a47b | [log] [tgz] |
---|---|---|
author | Gurpreet Singh <gurpreetgs@google.com> | Thu Jun 06 16:07:31 2024 +0000 |
committer | Gurpreet Singh <gurpreetgs@google.com> | Fri Jun 07 13:13:26 2024 +0000 |
tree | 87689e7b61f6cf8b3609912587d36bcfbd745b20 | |
parent | 67816a2eab3e63c576974e2e66b5171ac4603805 [diff] |
Add gantry_mode flag to finalize_sdk script. Add a new flag to detect that the script is being executed by Gantry. The following changes are made when executed via Gantry - 1. The artifacts are fetched in /tmp/ directory, so that they can be directly used to raise gerrit changes via google3. 2. Since it is an automated execution, no need to check if the script is executed for Android root. 3. Since google3 does not have repo initialized and the git projects does not exist in google3, do not use repo and git commit commands. 4. The prebuilts/sdk/extensions/README.md file update will be handled explicitly in google3, and hence does not require update via finalize sdk script. Bug: 321970705 Test: packages/modules/common/tools/finalize_sdk.py -f 14 -b 256848771 -c mainline -r 'Finalization Test' -m com.google.android.adservices 11609273 Change-Id: I9a4fe78dd2fd628e155c2bbd9b3d4bf539396dfb
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.