omni_PL2.mk 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. #
  2. # Copyright (C) 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. # Inherit language packages
  22. $(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk)
  23. # Charger
  24. PRODUCT_PACKAGES += \
  25. charger_res_images \
  26. charger
  27. # Define time zone data path
  28. ifneq ($(wildcard bionic/libc/zoneinfo),)
  29. TZDATAPATH := bionic/libc/zoneinfo
  30. else ifneq ($(wildcard system/timezone),)
  31. TZDATAPATH := system/timezone/output_data/iana
  32. endif
  33. # Time Zone data for Recovery
  34. ifdef TZDATAPATH
  35. PRODUCT_COPY_FILES += \
  36. $(TZDATAPATH)/tzdata:recovery/root/system/usr/share/zoneinfo/tzdata
  37. endif
  38. ## Device identifier. This must come after all inclusions
  39. PRODUCT_NAME := omni_PL2
  40. PRODUCT_DEVICE := PL2
  41. PRODUCT_BRAND := Nokia
  42. PRODUCT_MODEL := 6.1
  43. PRODUCT_MANUFACTURER := Nokia