android_device_htc_click/tattoo.mk

152 lines
4.7 KiB
Makefile
Raw Normal View History

2010-09-01 17:23:34 +00:00
#
# Copyright (C) 2008 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.
#
2011-01-11 20:34:14 +00:00
DEVICE_PACKAGE_OVERLAYS += device/htc/tattoo/overlay
2010-09-01 17:23:34 +00:00
2011-01-11 20:34:14 +00:00
# Live wallpaper packages
PRODUCT_PACKAGES += \
LiveWallpapersPicker \
librs_jni
# Publish that we support the live wallpaper feature.
2010-12-30 17:45:01 +00:00
PRODUCT_COPY_FILES += \
2011-01-11 20:34:14 +00:00
packages/wallpapers/LivePicker/android.software.live_wallpaper.xml:/system/etc/permissions/android.software.live_wallpaper.xml \
device/htc/tattoo/vold.fstab:system/etc/vold.fstab
2010-12-30 17:45:01 +00:00
2011-01-11 20:34:14 +00:00
$(call inherit-product, device/htc/tattoo/tattoo-vendor-blobs.mk)
2010-09-01 17:23:34 +00:00
PRODUCT_PACKAGES += \
librs_jni \
2010-12-30 17:45:01 +00:00
bahamas-keypad.kcm \
2011-01-11 20:34:14 +00:00
sensors.bahamas \
lights.bahamas \
copybit.bahamas \
gralloc.bahamas \
gps.bahamas \
libOmxCore \
libmm-omxcore \
wlan_loader \
tiwlan.ini \
librpc \
dhcpcd.conf
2010-09-01 17:23:34 +00:00
2011-01-11 20:34:14 +00:00
PRODUCT_COPY_FILES += \
device/htc/tattoo/init.bahamas.rc:root/init.bahamas.rc \
device/htc/tattoo/ueventd.bahamas.rc:root/ueventd.bahamas.rc
2010-09-01 17:23:34 +00:00
2011-01-11 20:34:14 +00:00
# Add normal Gallery
PRODUCT_PACKAGES += Gallery
2010-09-01 17:23:34 +00:00
# from device_dream_sapphire.mk
PRODUCT_COPY_FILES += \
2011-01-11 20:34:14 +00:00
frameworks/base/data/etc/android.hardware.camera.autofocus.xml:system/etc/permissions/android.hardware.camera.autofocus.xml \
2010-09-01 17:23:34 +00:00
frameworks/base/data/etc/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.xml \
frameworks/base/data/etc/android.hardware.telephony.gsm.xml:system/etc/permissions/android.hardware.telephony.gsm.xml \
frameworks/base/data/etc/android.hardware.location.gps.xml:system/etc/permissions/android.hardware.location.gps.xml \
frameworks/base/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml
2011-01-11 20:34:14 +00:00
PRODUCT_PROPERTY_OVERRIDES += \
2010-09-01 17:23:34 +00:00
ro.media.dec.jpeg.memcap=10000000
PRODUCT_PROPERTY_OVERRIDES += \
rild.libpath=/system/lib/libhtc_ril.so \
ro.ril.ecc.HTC-ELL=92,93,94 \
2011-01-11 20:34:14 +00:00
ro.ril.ecc.HTC-WWE=999 \
2010-09-01 17:23:34 +00:00
ro.ril.enable.a52.HTC-ITA=1 \
ro.ril.enable.a53.HTC-ITA=1 \
ro.ril.enable.a52=0 \
ro.ril.enable.a53=1 \
2010-09-01 17:23:34 +00:00
ro.ril.enable.dtm = 1 \
2011-01-11 20:34:14 +00:00
ro.ril.gprsclass = 12 \
ro.ril.hsdpa.category=8 \
ro.ril.hsupa.category=5 \
ro.ril.hsxpa=2 \
ro.ril.def.agps.mode = 2
2010-09-01 17:23:34 +00:00
# Time between scans in seconds. Keep it high to minimize battery drain.
# This only affects the case in which there are remembered access points,
# but none are in range.
PRODUCT_PROPERTY_OVERRIDES += \
wifi.interface = tiwlan0 \
2011-01-11 20:34:14 +00:00
wifi.supplicant_scan_interval=45 \
ro.tether.denied=true
2010-09-01 17:23:34 +00:00
# density in DPI of the LCD of this board. This is used to scale the UI
# appropriately. If this property is not defined, the default value is 120 dpi.
PRODUCT_PROPERTY_OVERRIDES += \
ro.sf.lcd_density=120
# View configuration for QVGA
PRODUCT_PROPERTY_OVERRIDES += \
view.fading_edge_length=8 \
view.touch_slop=15 \
view.minimum_fling_velocity=25 \
view.scroll_friction=0.008
2010-09-01 17:23:34 +00:00
# Default network type
# 0 => WCDMA Preferred.
PRODUCT_PROPERTY_OVERRIDES += \
2011-01-11 20:34:14 +00:00
ro.telephony.default_network=0 \
ro.com.android.dataroaming=false \
ro.com.google.locationfeatures=1 \
keyguard.no_require_sim=true
2010-09-01 17:23:34 +00:00
PRODUCT_PROPERTY_OVERRIDES += \
2011-01-11 20:34:14 +00:00
debug.sf.hw=1 \
ro.opengles.version=65537 \
persist.sys.use_dithering=0
2010-09-01 17:23:34 +00:00
2011-01-11 20:34:14 +00:00
# Disable fs check on boot by default
2010-09-01 17:23:34 +00:00
PRODUCT_PROPERTY_OVERRIDES += \
2011-01-11 20:34:14 +00:00
sys.checkfs.fat=false
PRODUCT_PROPERTY_OVERRIDES += \
2011-01-11 20:34:14 +00:00
ro.config.notification_sound=tweeters.ogg \
ro.config.alarm_alert=Alarm_Classic.ogg
# Enable JIT by default
PRODUCT_PROPERTY_OVERRIDES += \
dalvik.vm.execution-mode=int:jit
# VM heap size
PRODUCT_PROPERTY_OVERRIDES += \
2011-01-11 20:34:14 +00:00
dalvik.vm.heapsize=24m
# Enable compcache
PRODUCT_PROPERTY_OVERRIDES += \
ro.compcache.default=18
2010-09-01 17:23:34 +00:00
# media configuration xml file
PRODUCT_COPY_FILES += \
device/htc/tattoo/media_profiles.xml:/system/etc/media_profiles.xml
2011-01-11 20:34:14 +00:00
# Kernel Targets
ifeq ($(TARGET_PREBUILT_KERNEL),)
LOCAL_KERNEL := device/htc/tattoo/custom/kernel
else
LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL)
endif
2010-09-01 17:23:34 +00:00
2011-01-11 20:34:14 +00:00
PRODUCT_COPY_FILES += \
$(LOCAL_KERNEL):kernel
$(call inherit-product, device/common/gps/gps_eu_supl.mk)
$(call inherit-product, device/htc/common/common.mk)
$(call inherit-product, build/target/product/full_base.mk)
2010-09-01 17:23:34 +00:00
2011-01-11 20:34:14 +00:00
PRODUCT_NAME := htc_tattoo
PRODUCT_DEVICE := tattoo