forked from CyanogenMod/android_device_samsung_p5att
-
Notifications
You must be signed in to change notification settings - Fork 1
/
device.mk
67 lines (53 loc) · 2.32 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
63
64
65
66
#
# Copyright (C) 2011 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.
#
$(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk)
## The gps config appropriate for this device
PRODUCT_COPY_FILES += device/common/gps/gps.conf_US_SUPL:system/etc/gps.conf
## (2) Also get non-open-source specific aspects if available
$(call inherit-product-if-exists, vendor/samsung/p7320/p7320-vendor.mk)
## overlays
DEVICE_PACKAGE_OVERLAYS += device/samsung/p7320/overlay
PRODUCT_AAPT_CONFIG := xlarge sw720dp sw600dp mdpi
PRODUCT_AAPT_PREF_CONFIG := sw720dp
# Ramdisk
PRODUCT_COPY_FILES += \
device/samsung/p7320/ramdisk/init.qcom.rc:root/init.qcom.rc \
device/samsung/p7320/ramdisk/init.qcom.sh:root/init.qcom.sh \
device/samsung/p7320/ramdisk/init.qcom.usb.rc:root/init.qcom.usb.rc \
device/samsung/p7320/ramdisk/init.qcom.usb.sh:root/init.qcom.usb.sh \
device/samsung/p7320/ramdisk/init.target.rc:root/init.target.rc \
device/samsung/p7320/ramdisk/ueventd.rc:root/ueventd.rc \
device/samsung/p7320/ramdisk/init.emmc.rc:root/init.emmc.rc \
device/samsung/p7320/ramdisk/fstab.qcom:root/fstab.qcom
# BT firmware
PRODUCT_COPY_FILES += \
device/samsung/p7320/firmware/bcm4330B1.hcd:system/etc/firmware/bcm4330B1.hcd
# Vold
PRODUCT_COPY_FILES += \
device/samsung/p7320/vold.fstab:system/etc/vold.fstab
# IDC
PRODUCT_COPY_FILES += \
device/samsung/p7320/idc/sec_touchscreen.idc:system/usr/idc/sec_touchscreen.idc
# common msm8660
$(call inherit-product, device/samsung/msm8660-common/msm8660.mk)
$(call inherit-product, frameworks/native/build/tablet-dalvik-heap.mk)
$(call inherit-product-if-exists, vendor/samsung/p7320/p7320-vendor.mk)
ADDITIONAL_BUILD_PROPERTIES += \
debug.composition.type=gpu \
debug.egl.hw=1 \
debug.sf.hw=1 \
debug.mdpcomp.maxlayer=2 \
dev.pm.gpu_samplingrate=1