omni_PL2.mk 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. #
  2. # Copyright 2018 The Android Open Source Project
  3. #
  4. # Licensed under the Apache License, Version 2.0 (the "License");
  5. # you may not use this file except in compliance with the License.
  6. # You may obtain a copy of the License at
  7. #
  8. # http://www.apache.org/licenses/LICENSE-2.0
  9. #
  10. # Unless required by applicable law or agreed to in writing, software
  11. # distributed under the License is distributed on an "AS IS" BASIS,
  12. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. # See the License for the specific language governing permissions and
  14. # limitations under the License.
  15. #
  16. # Release name
  17. PRODUCT_RELEASE_NAME := PL2
  18. $(call inherit-product, build/target/product/embedded.mk)
  19. # Inherit from our custom product configuration
  20. $(call inherit-product, vendor/omni/config/common.mk)
  21. # A/B updater
  22. AB_OTA_UPDATER := true
  23. AB_OTA_PARTITIONS += \
  24. boot \
  25. system
  26. AB_OTA_POSTINSTALL_CONFIG += \
  27. RUN_POSTINSTALL_system=true \
  28. POSTINSTALL_PATH_system=system/bin/otapreopt_script \
  29. FILESYSTEM_TYPE_system=ext4 \
  30. POSTINSTALL_OPTIONAL_system=true
  31. PRODUCT_PACKAGES += \
  32. otapreopt_script \
  33. update_engine \
  34. update_engine_sideload \
  35. update_verifier
  36. # The following modules are included in debuggable builds only.
  37. PRODUCT_PACKAGES_DEBUG += \
  38. bootctl \
  39. update_engine_client
  40. # Boot control HAL
  41. PRODUCT_PACKAGES += \
  42. bootctrl.sdm660
  43. PRODUCT_STATIC_BOOT_CONTROL_HAL := \
  44. bootctrl.sdm660 \
  45. libcutils \
  46. libgptutils \
  47. libz
  48. # Time Zone data for recovery
  49. PRODUCT_COPY_FILES += \
  50. system/timezone/output_data/iana/tzdata:recovery/root/system/usr/share/zoneinfo/tzdata
  51. ## Device identifier. This must come after all inclusions
  52. PRODUCT_NAME := omni_PL2
  53. PRODUCT_DEVICE := PL2
  54. PRODUCT_MANUFACTURER := FIH
  55. PRODUCT_BRAND := Nokia
  56. PRODUCT_MODEL := Nokia 6.1