omni_PL2.mk 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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. # Inherit base makefile
  19. $(call inherit-product, build/target/product/base.mk)
  20. # Inherit from our custom product configuration
  21. $(call inherit-product, vendor/omni/config/common.mk)
  22. # A/B updater
  23. AB_OTA_UPDATER := true
  24. AB_OTA_PARTITIONS += \
  25. boot \
  26. system
  27. AB_OTA_POSTINSTALL_CONFIG += \
  28. RUN_POSTINSTALL_system=true \
  29. POSTINSTALL_PATH_system=system/bin/otapreopt_script \
  30. FILESYSTEM_TYPE_system=ext4 \
  31. POSTINSTALL_OPTIONAL_system=true
  32. PRODUCT_PACKAGES += \
  33. otapreopt_script \
  34. update_engine \
  35. update_engine_sideload \
  36. update_verifier
  37. # The following modules are included in debuggable builds only.
  38. PRODUCT_PACKAGES_DEBUG += \
  39. bootctl \
  40. update_engine_client
  41. # Boot control HAL
  42. PRODUCT_PACKAGES += \
  43. bootctrl.sdm660
  44. PRODUCT_STATIC_BOOT_CONTROL_HAL := \
  45. bootctrl.sdm660 \
  46. libcutils \
  47. libgptutils \
  48. libz
  49. # Time Zone data for recovery
  50. PRODUCT_COPY_FILES += \
  51. system/timezone/output_data/iana/tzdata:recovery/root/system/usr/share/zoneinfo/tzdata
  52. ## Device identifier. This must come after all inclusions
  53. PRODUCT_NAME := omni_PL2
  54. PRODUCT_DEVICE := PL2
  55. PRODUCT_MANUFACTURER := FIH
  56. PRODUCT_BRAND := Nokia
  57. PRODUCT_MODEL := Nokia 6.1