Nelson Li 1413e4537f Convert raven/preloaded_nanoapps.json's .mk file to Android.bp.
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/27170563, 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: 338005353
Test: 1. lunch <product_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: Ie4551fc30c75a401a615a729e651949696117352
2024-05-07 00:51:58 +00:00
2024-02-06 16:20:12 +00:00
2024-01-11 06:07:22 +00:00
2024-02-19 07:08:42 +00:00
2024-02-06 16:20:12 +00:00
2022-11-20 05:16:50 +00:00
2021-03-06 16:30:54 +08:00
2023-09-28 00:29:39 +00:00
Description
No description provided
255 MiB
Languages
JetBrains MPS 77.3%
PureBasic 14%
Makefile 7.1%
C++ 0.9%
Python 0.4%
Other 0.3%