p23_common includes 4 devices.
Since `preloaded_nanoapps.json` has different configurations for
`factory` products and `non-factory` products, `soong_namespace {}`
needs to be added to the converted Android.bp file to avoid misuse.
Additionally, due to ag/27008138, ag/27046793, ag/27008143, and
ag/27056982, a common inheritance layer has been added to all
`non-factory` products. Therefore, setting different
`PRODUCT_SOONG_NAMESPACES` in the corresponding `<DEVICE>_generic.mk`
and `factory_<DEVICE>.mk` files will allow factory products and
non-factory products to use different preloaded_nanoapps.json.
Bug: 332219400
Test: 1. lunch <device_name>-trunk_staging-userdebug && \
m -j preloaded_nanoapps.json
2. Check ./out/target/product/<device_name>/.../preloaded_nanoapps.json
It should be the <device_name> version.
3. lunch factory_<device_name>-trunk_staging-userdebug && \
m -j preloaded_nanoapps.json
4. Check ./out/target/product/<device_name>/.../preloaded_nanoapps.json
It should be the factory version.
Change-Id: Ife53dddd3469de8eacb6d862bc1b8d9de3ce427e
Add an additional layer of inheritance for `aosp_husky`,
`aosp_husky_pgagnostic`, and `aosp_husky_fullmte`.
This change adds a common layer of inheritance (husky_generic.mk)
for non-factory products. This makes it easier to configure factory
and non-factory products differently.
Non-factory `husky` products now inherits from
`device/google/shusky/husky_generic.mk` which inherit from
`device/google/shusky/device-husky.mk`.
aconfig flags: Flag: EXEMPT mechanical refactoring
build flags: Flag: EXEMPT mechanical refactoring
Bug: 332219400
Bug: 335567236
Test: lunch aosp_husky-trunk_staging-userdebug && m
lunch aosp_husky_pgagnostic-trunk_staging-userdebug && m
lunch aosp_husky_fullmte-trunk_staging-userdebug && m
Change-Id: Ia4b4c63d12343862655f208cec48995cc2e3a672