aboutsummaryrefslogtreecommitdiff
path: root/device.mk
blob: 4c0fec915c5337972d759361aae212b18d10a5da (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
# Copyright (C) 2011 Linaro Limited
#
# 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/linaro/origen

PRODUCT_COPY_FILES := \
	device/linaro/common/init.partitions-with-kernelpartition.rc:root/init.partitions.rc \
        device/linaro/origen/vold.fstab:system/etc/vold.fstab \
        device/linaro/origen/egl.cfg:system/lib/egl/egl.cfg \
        device/linaro/common/wpa_supplicant.conf:system/etc/wifi/wpa_supplicant.conf

PRODUCT_COPY_FILES += \
        device/linaro/origen/init.origen.rc:root/init.origen.rc \
        device/linaro/origen/init.origen.usb.rc:root/init.origen.usb.rc \
        device/linaro/origen/ueventd.origen.rc:root/ueventd.origen.rc \
        device/linaro/origen/initlogo.rle:root/initlogo.rle \
        device/linaro/origen/unidisplay_ts.idc:system/usr/idc/unidisplay_ts.idc \
        device/linaro/origen/gpio-keys.kcm:system/usr/keychars/gpio-keys.kcm \
        device/linaro/origen/gpio-keys.kl:system/usr/keylayout/gpio-keys.kl \
        device/linaro/common/wallpaper_info.xml:data/system/wallpaper_info.xml

PRODUCT_COPY_FILES += \
        frameworks/native/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml \
        device/linaro/common/android.hardware.bluetooth.xml:system/etc/permissions/android.hardware.bluetooth.xml

# Set default USB interface
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
        persist.sys.usb.config=mtp

# Set screen DPI to 120 to boot into tablet GUI
PRODUCT_PROPERTY_OVERRIDES += \
	ro.sf.lcd_density = 120

PRODUCT_PROPERTY_OVERRIDES += \
        hwui.render_dirty_regions=false

PRODUCT_CHARACTERISTICS := tablet,nosdcard

PRODUCT_TAGS += dalvik.gc.type-precise

PRODUCT_PACKAGES += \
        librs_jni \
        com.android.future.usb.accessory 

# Filesystem management tools
PRODUCT_PACKAGES += \
        make_ext4fs

DEVICE_PACKAGE_OVERLAYS := $(LOCAL_PATH)/overlay

$(call inherit-product-if-exists, vendor/samsung/origen/device-origen.mk)
$(call inherit-product, frameworks/native/build/tablet-dalvik-heap.mk)