summaryrefslogtreecommitdiff
path: root/device.mk
blob: de15cdc4b196c77028e9ca47c5e73aa67349bad4 (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
# 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.

PRODUCT_COPY_FILES := \
	device/linaro/common/init.partitions.rc:root/init.partitions.rc \
	device/linaro/beaglebone/media_profiles.xml:system/etc/media_profiles.xml \
	frameworks/native/data/etc/android.hardware.usb.host.xml:system/etc/permissions/android.hardware.usb.host.xml \
	frameworks/native/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml \
	device/linaro/beaglebone/vold.fstab:system/etc/vold.fstab \
	device/linaro/beaglebone/init.am335xevm.rc:root/init.am335xevm.rc \
	device/linaro/beaglebone/init.am335xevm.usb.rc:root/init.am335xevm.usb.rc \
	device/linaro/beaglebone/ti-tsc-adcc.idc:system/usr/idc/ti-tsc-adcc.idc

# KeyPads
PRODUCT_COPY_FILES += \
    $(LOCAL_PATH)/gpio-keys.kl:system/usr/keylayout/gpio-keys.kl

PRODUCT_PACKAGES := \
        make_ext4fs \
        com.android.future.usb.accessory \
        uim 

PRODUCT_PROPERTY_OVERRIDES := \
        hwui.render_dirty_regions=false

PRODUCT_CHARACTERISTICS := tablet,nosdcard

DEVICE_PACKAGE_OVERLAYS := \
    device/linaro/beaglebone/overlay

PRODUCT_TAGS += dalvik.gc.type-precise

$(call inherit-product, frameworks/native/build/tablet-dalvik-heap.mk)
$(call inherit-product-if-exists, device/ti/proprietary-open/install-binaries.mk)

PRODUCT_PROPERTY_OVERRIDES += \
        ro.opengles.version=131072

PRODUCT_PROPERTY_OVERRIDES += \
        ro.nohardwaregfx=true

PRODUCT_PROPERTY_OVERRIDES += \
        ro.sf.lcd_density=160

# Backlight HAL (liblights)
PRODUCT_PACKAGES += \
        lights.beaglebone