aboutsummaryrefslogtreecommitdiffstats
path: root/kona-common.mk
blob: 6df3bec14ece47d556c023230d37134c9a4bb528 (plain)
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
#
# Copyright (C) 2016 The CyanogenMod 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.
#

LOCAL_PATH := device/samsung/kona-common

PRODUCT_CHARACTERISTICS := tablet

DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay

PRODUCT_AAPT_CONFIG := hdpi
PRODUCT_AAPT_PREF_CONFIG := xhdpi

# Boot animation
TARGET_BOOTANIMATION_NAME := vertical-800x1280

TARGET_HAS_CAM_FLASH := false

# Init files
PRODUCT_COPY_FILES += \
    $(LOCAL_PATH)/rootdir/fstab.smdk4x12:root/fstab.smdk4x12 \
    $(LOCAL_PATH)/rootdir/init.target.rc:root/init.target.rc \
    $(LOCAL_PATH)/rootdir/ueventd.smdk4x12.rc:recovery/root/ueventd.smdk4x12.rc \
    $(LOCAL_PATH)/rootdir/ueventd.smdk4x12.rc:root/ueventd.smdk4x12.rc

# Idc
PRODUCT_COPY_FILES += \
    $(LOCAL_PATH)/usr/idc/sec_e-pen.idc:/system/usr/idc/sec_e-pen.idc

# Keylayout
PRODUCT_COPY_FILES += \
    $(LOCAL_PATH)/usr/keylayout/sec_e-pen.kl:/system/usr/keylayout/sec_e-pen.kl \
    $(LOCAL_PATH)/usr/keylayout/sec_touchscreen.kl:/system/usr/keylayout/sec_touchscreen.kl

# Stock MM blobs
PRODUCT_PACKAGES += \
    libxml2 \
    libprotobuf-cpp-full

# Packages
PRODUCT_PACKAGES += \
    tiny_hw \
    tinyplay \
    SamsungServiceMode \
    Stk

# Codecs
PRODUCT_COPY_FILES += \
    $(LOCAL_PATH)/configs/media_codecs.xml:system/etc/media_codecs.xml

# Camera
PRODUCT_PACKAGES += \
    camera.smdk4x12

# Stock parameters
PRODUCT_PROPERTY_OVERRIDES += \
    ro.sf.hwrotation=270 \
    ro.sf.lcd_density=213 \
    ro.hdcp2.rx=tz

# Sensors
PRODUCT_PACKAGES += \
    sensors.smdk4x12

# IR packages
PRODUCT_PACKAGES += \
    consumerir.exynos4

PRODUCT_COPY_FILES += \
    frameworks/native/data/etc/android.hardware.consumerir.xml:system/etc/permissions/android.hardware.consumerir.xml

PRODUCT_PROPERTY_OVERRIDES += \
    ro.cm.hardware.cabc=/sys/class/mdnie/mdnie/cabc

$(call inherit-product, frameworks/native/build/tablet-10in-xhdpi-2048-dalvik-heap.mk)
$(call inherit-product-if-exists, vendor/samsung/kona-common/kona-vendor.mk)
$(call inherit-product, device/samsung/smdk4412-common/common.mk)