diff options
| author | 2024-11-18 19:22:39 +0000 | |
|---|---|---|
| committer | 2024-11-26 11:01:50 +0000 | |
| commit | e2f98da5773bf501214a3199394dd207fcb80017 (patch) | |
| tree | 9c4b8306aa80f92f055f321b714f04603d4c4784 /scripts/gen-kotlin-build-file.py | |
| parent | 1a6f176ce066fc39574db6b7bcb69da82e579199 (diff) | |
Introduce module type to autogenerate RROS
At ToT, soong emits metadata to make (LOCAL_SOONG_PRODUCT_RRO_DIRS and
LOCAL_SOONG_DEVICE_RRO_DIRS), and make uses this metadata to build and
install apks that are intalled in /vendor or /product. This CL ports
this logic to soong using a new module type. The module type will have a
dependency on the base module (e.g. SystemUI). This dependency edge will
be used to get information such as
- rroDirsDepSet
- manifest (to get package_name)
To reduce code duplication, `aaptBuildActions` has been extended to
accept a manifest and rroDirs parameter.
This should be a no op for now. The followup work includes
- Autogenerating these module in the load hook of android_app and
  override_android_app
- Including the autogenerated modules in kati built img files
- Including the autogenerated modules in soong built img files
Test: go test ./java
Bug: 375277835
Change-Id: Icd34f59eb751ba60db3c265acada946e20db5f26
Diffstat (limited to 'scripts/gen-kotlin-build-file.py')
0 files changed, 0 insertions, 0 deletions