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/27690356 and ag/27683070 a common inheritance layer has been added to all `non-factory` products for `tegu`. Therefore, setting different `PRODUCT_SOONG_NAMESPACES` in the corresponding `tegu_generic.mk` and `factory_tegu.mk` files will allow factory products and non-factory products of tegu to use different preloaded_nanoapps.json.
FLAG: EXEMPT Mechanical refactoring
Bug: 336452008
Bug: 313835597
Test: 1. lunch tegu-trunk_staging-userdebug && \
m -j preloaded_nanoapps.json
2. Check ./out/target/product/tegu/.../preloaded_nanoapps.json
It should be the tegu version.
3. lunch factory_tegu-trunk_staging-userdebug && \
m -j preloaded_nanoapps.json
4. Check ./out/target/product/tegu/.../preloaded_nanoapps.json
It should be the factory version.
Change-Id: I483043ce3c55dc08b54699f332d654d18eedebd2
Add camera FATP HAT tool for factory build only
Test: build pass, tool is generated
Bug: 315451747
Change-Id: Ief32d2b26eef9f585810cc211a1cf51318f91abb
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: I8006991b22072e841a8d94637daeb0f105c8ada1