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
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/27170565, ag/27170566, 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: 338332183
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: I97798f0e7876ceb016a31f7da74508fe5a701915
Add an additional layer of inheritance for `aosp_raven`,
`aosp_raven_64`, `aosp_raven_pkvm`, `aosp_raven_pgagnostic_64`,
`aosp_raven_hwasan`, and `aosp_raven_61`.
This change adds a common layer of inheritance for non-factory
products (raven_generic.mk). This makes it easier to configure
factory and non-factory products differently.
Non-factory `raven` products now inherits from
`device/google/raviole/raven_generic.mk` which inherit from
`device/google/raviole/device-raven.mk`.
aconfig flags: Flag: EXEMPT mechanical refactoring
build flags: Flag: EXEMPT mechanical refactoring
Bug: 338005353
Test: lunch aosp_raven-trunk_staging-userdebug && m
lunch aosp_raven_64-trunk_staging-userdebug && m
lunch aosp_raven_pkvm-trunk_staging-userdebug && m
lunch aosp_raven_pgagnostic_64-trunk_staging-userdebug && m
lunch aosp_raven_hwasan-trunk_staging-userdebug && m
lunch aosp_raven_61-trunk_staging-userdebug && m
Change-Id: Id5faed5a4be4c6480ee64654203d7f7e840c5c23
Add an additional layer of inheritance for `aosp_whitefin`,
`aosp_whitefin_64`, `aosp_whitefin_pkvm`, and `aosp_whitefin_hwasan`.
This change adds a common layer of inheritance for non-factory
products (whitefin_generic.mk). This makes it easier to configure
factory and non-factory products differently.
Non-factory `whitefin` products now inherits from
`device/google/raviole/whitefin_generic.mk` which inherit from
`device/google/raviole/device-whitefin.mk`.
aconfig flags: Flag: EXEMPT mechanical refactoring
build flags: Flag: EXEMPT mechanical refactoring
Bug: 338332183
Bug: 338332464
Test: lunch aosp_whitefin-trunk_staging-userdebug && m
lunch aosp_whitefin_64-trunk_staging-userdebug && m
lunch aosp_whitefin_pkvm-trunk_staging-userdebug && m
lunch aosp_whitefin_hwasan-trunk_staging-userdebug && m
Change-Id: I151d3e59141e566fad54f62ac01ab4372522fd5f
Add an additional layer of inheritance for `aosp_slider`,
`full_slider`, and `aosp_slider_hwasan`.
This change adds a common layer of inheritance for non-factory
products (slider_generic.mk). This makes it easier to configure
factory and non-factory products differently.
Non-factory `slider` products now inherits from
`device/google/raviole/slider_generic.mk` which inherit from
`device/google/raviole/device-slider.mk`.
aconfig flags: Flag: EXEMPT mechanical refactoring
build flags: Flag: EXEMPT mechanical refactoring
Bug: 338332183
Bug: 338333277
Test: lunch aosp_slider-trunk_staging-userdebug && m
lunch full_slider-trunk_staging-userdebug && m
lunch aosp_slider_hwasan-trunk_staging-userdebug && m
Change-Id: If0bbcdf2d4de3c2eca14e514b863f7416ef12e45
Add the "UclampMax_Efficient" value to the ADPF config in the
powerhint.json in order to allow efficient core scheduling for this
device.
Bug: 277285195
Test: manual
Change-Id: I3435eb6fce99afe732623dec813311a19623fde6
am skip reason: Merged-In Ifcca47195a72191cf9ed071ba7ba7b398f32d171 with SHA-1 fa470b4c8e is already in history
Original change: https://android-review.googlesource.com/c/device/google/raviole/+/2990679
Change-Id: If5c9a9664d5fb5f45a3ba5760332aa785b4933c1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
am skip reason: Merged-In Ifcca47195a72191cf9ed071ba7ba7b398f32d171 with SHA-1 fa470b4c8e is already in history
Original change: https://android-review.googlesource.com/c/device/google/raviole/+/2990679
Change-Id: I0888607d06a529abb60f264cf7d1d32e1ccf2dfe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Update i2c device paths with static bus numbers.
Also remove some redundant paths.
Bug: 323447554
Test: Boot to home
Change-Id: Ibe1f5060daa45a7d19be08bd60c3f3a615427632
Signed-off-by: Jacky Liu <qsliu@google.com>