gyrene2083

Untitled

Nov 29th, 2013
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.71 KB | None | 0 0
  1. #
  2. # Copyright (C) 2013 The CyanogenMod 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.  
  17. LOCAL_PATH := device/samsung/t0lte
  18.  
  19. # Overlay
  20. ifeq ($(TARGET_VOICE_TECH), cdma)
  21. DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay-cdma
  22. else
  23. DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay
  24. endif
  25.  
  26. # This device is xhdpi. However the platform doesn't
  27. # currently contain all of the bitmaps at xhdpi density so
  28. # we do this little trick to fall back to the hdpi version
  29. # if the xhdpi doesn't exist.
  30. PRODUCT_AAPT_CONFIG := normal hdpi xhdpi
  31. PRODUCT_AAPT_PREF_CONFIG := xhdpi
  32.  
  33. # Audio
  34. PRODUCT_PACKAGES += \
  35. tiny_hw
  36.  
  37. # Camera
  38. PRODUCT_PACKAGES += \
  39. camera.smdk4x12
  40.  
  41. # NFC
  42. PRODUCT_PACKAGES += \
  43. nfc.exynos4 \
  44. libnfc \
  45. libnfc_jni \
  46. Nfc \
  47. Tag
  48.  
  49. PRODUCT_COPY_FILES += \
  50. packages/apps/Nfc/migrate_nfc.txt:system/etc/updatecmds/migrate_nfc.txt \
  51. frameworks/base/nfc-extras/com.android.nfc_extras.xml:system/etc/permissions/com.android.nfc_extras.xml \
  52. frameworks/native/data/etc/android.hardware.nfc.xml:system/etc/permissions/android.hardware.nfc.xml
  53.  
  54. # NFCEE access control
  55. ifeq ($(TARGET_BUILD_VARIANT),user)
  56. NFCEE_ACCESS_PATH := $(LOCAL_PATH)/configs/nfcee_access.xml
  57. else
  58. NFCEE_ACCESS_PATH := $(LOCAL_PATH)/configs/nfcee_access_debug.xml
  59. endif
  60.  
  61. PRODUCT_COPY_FILES += \
  62. $(NFCEE_ACCESS_PATH):system/etc/nfcee_access.xml
  63.  
  64. PRODUCT_PACKAGES += \
  65. com.android.nfc_extras \
  66. Stk \
  67. SamsungServiceMode
  68.  
  69. $(call inherit-product, vendor/cm/config/nfc_enhanced.mk)
  70.  
  71. # RIL
  72. PRODUCT_PROPERTY_OVERRIDES += \
  73. ro.telephony.ril_class=SamsungQualcommRIL \
  74. mobiledata.interfaces=pdp0,wlan0,gprs,ppp0
  75.  
  76. # These are the hardware-specific features
  77. PRODUCT_COPY_FILES += \
  78. frameworks/native/data/etc/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.xml \
  79. frameworks/native/data/etc/android.hardware.sensor.barometer.xml:system/etc/permissions/android.hardware.sensor.barometer.xml
  80.  
  81. # Include common makefile
  82. $(call inherit-product, device/samsung/smdk4412-common/common.mk)
  83. $(call inherit-product, device/samsung/smdk4412-qcom-common/common.mk)
  84.  
  85. $(call inherit-product-if-exists, vendor/samsung/t0lte/t0lte-common-vendor.mk)
Advertisement
Add Comment
Please, Sign In to add comment