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/27080050, ag/27081111, ag/27095942, ag/27095945
ag/27095945, ag/27138057, ag/27138236, 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: 336452008
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: I80204d2868b209273eb7d696ad8359c9d7a26c05
For factory ROM UPH concern, we did not need TTS voice packs.
Hence, we remove them and then it could reduce super image size
and increase flash station speed.
Bug: 314245991
Test: Check super image size
Change-Id: I4ba9746c8a07c5452791d673335d07eb89abd6df
- remove override directive
- separate gps configuration files for each device
Bug: 291186485
Test: build pass and configuration files are correct
Change-Id: I907d5e04c267753ce25e5de5f5080536df7e7041
Add camera FATP HAT tool for factory build only
Test: build pass, tool is generated
Bug: 284248289
Change-Id: I558f0ba8ea6512eee8a63d2d64007243f768be7f