1# 2# Copyright (C) 2009 The Android Open Source Project 3# 4# Licensed under the Apache License, Version 2.0 (the "License"); 5# you may not use this file except in compliance with the License. 6# You may obtain a copy of the License at 7# 8# http://www.apache.org/licenses/LICENSE-2.0 9# 10# Unless required by applicable law or agreed to in writing, software 11# distributed under the License is distributed on an "AS IS" BASIS, 12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13# See the License for the specific language governing permissions and 14# limitations under the License. 15# 16 17PRODUCT_PROPERTY_OVERRIDES := 18 ro.media.dec.jpeg.memcap=20000000 19 20DEVICE_PACKAGE_OVERLAYS := device/htc/passion-common/overlay 21 22PRODUCT_COPY_FILES := \ 23 frameworks/base/data/etc/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.xml \ 24 frameworks/base/data/etc/android.hardware.camera.flash-autofocus.xml:system/etc/permissions/android.hardware.camera.flash-autofocus.xml \ 25 frameworks/base/data/etc/android.hardware.telephony.gsm.xml:system/etc/permissions/android.hardware.telephony.gsm.xml \ 26 frameworks/base/data/etc/android.hardware.location.gps.xml:system/etc/permissions/android.hardware.location.gps.xml \ 27 frameworks/base/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml \ 28 frameworks/base/data/etc/android.hardware.sensor.proximity.xml:system/etc/permissions/android.hardware.sensor.proximity.xml \ 29 frameworks/base/data/etc/android.hardware.sensor.light.xml:system/etc/permissions/android.hardware.sensor.light.xml \ 30 frameworks/base/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml \ 31 frameworks/base/data/etc/android.hardware.touchscreen.multitouch.xml:system/etc/permissions/android.hardware.touchscreen.multitouch.xml \ 32 frameworks/base/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml \ 33 34# media config xml file 35PRODUCT_COPY_FILES += \ 36 device/htc/passion-common/media_profiles.xml:system/etc/media_profiles.xml 37 38PRODUCT_PACKAGES := \ 39 sensors.mahimahi \ 40 lights.mahimahi \ 41 gralloc.qsd8k \ 42 librs_jni \ 43 com.android.future.usb.accessory 44 45# we have enough storage space to hold precise GC data 46PRODUCT_TAGS += dalvik.gc.type-precise 47 48# Passion uses high-density artwork where available 49PRODUCT_LOCALES := hdpi 50 51PRODUCT_COPY_FILES += \ 52 device/htc/passion-common/mahimahi-keypad.kl:system/usr/keylayout/mahimahi-keypad.kl \ 53 device/htc/passion-common/h2w_headset.kl:system/usr/keylayout/h2w_headset.kl \ 54 device/htc/passion-common/synaptics-rmi-touchscreen.idc:system/usr/idc/synaptics-rmi-touchscreen.idc \ 55 device/htc/passion-common/vold.fstab:system/etc/vold.fstab 56 57 58PRODUCT_COPY_FILES += \ 59 device/htc/passion-common/bcm4329.ko:system/lib/modules/bcm4329.ko 60 61ifeq ($(TARGET_PREBUILT_KERNEL),) 62LOCAL_KERNEL := device/htc/passion-common/kernel 63else 64LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL) 65endif 66 67PRODUCT_COPY_FILES += \ 68 $(LOCAL_KERNEL):kernel 69 70$(call inherit-product-if-exists, vendor/htc/passion-common/passion-vendor.mk) 71 72# media profiles and capabilities spec 73$(call inherit-product, device/htc/passion-common/media_a1026.mk) 74 75# stuff common to all HTC phones 76$(call inherit-product, device/htc/common/common.mk) 77 78