forked from rlawoehd187/android_device_pantech_ef52
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdevice.mk
62 lines (50 loc) · 2.25 KB
/
device.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#
# Copyright (C) 2011 The Android Open-Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
$(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk)
$(call inherit-product, vendor/pantech/ef52/ef52-vendor.mk)
DEVICE_PACKAGE_OVERLAYS += device/pantech/ef52/overlay
# Device uses high-density artwork where available
PRODUCT_AAPT_CONFIG := normal hdpi xhdpi
PRODUCT_AAPT_PREF_CONFIG := xhdpi
# Checking model
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/releasetools/device_check.sh:system/bin/device_check.sh
# keylayout
PRODUCT_COPY_FILES += \
device/pantech/ef52/keylayout/AVRCP.kl:system/usr/keylayout/AVRCP.kl \
device/pantech/ef52/keylayout/Generic.kl:system/usr/keylayout/Generic.kl \
device/pantech/ef52/keylayout/gpio-keys.kl:system/usr/keylayout/gpio-keys.kl \
device/pantech/ef52/keylayout/qwerty.kl:system/usr/keylayout/qwerty.kl \
device/pantech/ef52/keylayout/apq8064-tabla-snd-card_Button_Jack.kl:system/usr/keylayout/apq8064-tabla-snd-card_Button_Jack.kl
# keychars
PRODUCT_COPY_FILES += \
device/pantech/ef52/keychars/Generic.kcm:system/usr/keychars/Generic.kcm \
device/pantech/ef52/keychars/qwerty2.kcm:system/usr/keychars/qwerty2.kcm \
device/pantech/ef52/keychars/qwerty.kcm:system/usr/keychars/qwerty.kcm \
device/pantech/ef52/keychars/Virtual.kcm:system/usr/keychars/Virtual.kcm
# Lights
PRODUCT_PACKAGES += \
lights.msm8960
# idc
PRODUCT_COPY_FILES += \
device/pantech/ef52/idc/qwerty2.idc:system/usr/idc/qwerty2.idc \
device/pantech/ef52/idc/qwerty.idc:system/usr/idc/qwerty.idc \
PRODUCT_PROPERTY_OVERRIDES += \
ro.sf.lcd_density=300
# call dalvik heap config
$(call inherit-product, frameworks/native/build/phone-xhdpi-2048-dalvik-heap.mk)
# Inherit from msm8974-common
$(call inherit-product, device/pantech/msm8960-common/msm8960.mk)