Add release_config flag to finalize_sdk

Add a new release_config flag to finalize_sdk script to correct the
build target for git_main branches.
The flag is optional.

Bug: 321970705
Test: packages/modules/common/tools/finalize_sdk.py -f 12 -b 256848771 -rc mainline -r 'Testing' -m com.google.android.adservices -m com.google.android.mediaprovider 11609273
Change-Id: I7d54eea799cc9be968976d07fb2fd5f587c71502
1 file changed
tree: dc73bd92bb960666869216a512fc613baadb420e
  1. build/
  2. java/
  3. javatests/
  4. proguard/
  5. proto/
  6. sdk/
  7. tools/
  8. Android.bp
  9. MODULES_OWNERS
  10. OWNERS
  11. PREBUILTS_MODULE_OWNERS
  12. PREUPLOAD.cfg
  13. README.md
README.md

packages/modules/common

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.

java code

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.