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-31 21:52:11 +00:00
|
|
|
DEVICE_PACKAGE_OVERLAYS += device/htc/click/overlay
|
2010-09-01 17:23:34 +00:00
|
|
|
|
2011-02-16 23:45:16 +00:00
|
|
|
# Defines for Vold to config fstab defs
|
2010-12-30 17:45:01 +00:00
|
|
|
PRODUCT_COPY_FILES += \
|
2011-01-31 06:06:14 +00:00
|
|
|
device/htc/click/vold.fstab:system/etc/vold.fstab
|
2010-12-30 17:45:01 +00:00
|
|
|
|
2011-03-04 12:31:24 +00:00
|
|
|
# Libs to be added to this ROM
|
2010-09-01 17:23:34 +00:00
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
librs_jni \
|
2011-01-11 20:34:14 +00:00
|
|
|
sensors.bahamas \
|
|
|
|
lights.bahamas \
|
|
|
|
copybit.bahamas \
|
|
|
|
gralloc.bahamas \
|
|
|
|
gps.bahamas \
|
|
|
|
libOmxCore \
|
|
|
|
libmm-omxcore \
|
2011-01-31 06:06:14 +00:00
|
|
|
libOmxVidEnc \
|
2011-01-12 07:42:14 +00:00
|
|
|
libcamera \
|
2011-01-11 20:34:14 +00:00
|
|
|
librpc \
|
|
|
|
dhcpcd.conf
|
2010-09-01 17:23:34 +00:00
|
|
|
|
2011-03-06 22:09:59 +00:00
|
|
|
#WiFi stuff
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
wpa_supplicant.conf \
|
|
|
|
tiwlan.ini \
|
|
|
|
dhcpcd.conf \
|
|
|
|
wlan_cu \
|
|
|
|
wlan_loader \
|
|
|
|
libCustomWifi
|
|
|
|
|
|
|
|
#HotSpot
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
tiap_loader \
|
|
|
|
tiap_cu \
|
|
|
|
tiwlan_ap.ini \
|
|
|
|
hostap \
|
|
|
|
hostapd.conf
|
|
|
|
|
2011-03-04 12:31:24 +00:00
|
|
|
# Add Gallery 3D / Normal
|
|
|
|
PRODUCT_PACKAGES += Gallery
|
|
|
|
|
|
|
|
# Boot kernel files
|
2011-01-11 20:34:14 +00:00
|
|
|
PRODUCT_COPY_FILES += \
|
2011-01-31 06:06:14 +00:00
|
|
|
device/htc/click/init.bahamas.rc:root/init.bahamas.rc \
|
|
|
|
device/htc/click/ueventd.bahamas.rc:root/ueventd.bahamas.rc
|
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-31 06:06:14 +00:00
|
|
|
# keychars and keylayout files
|
|
|
|
PRODUCT_COPY_FILES += \
|
2011-02-07 16:00:58 +00:00
|
|
|
device/htc/click/custom/keychars/bahamas-keypad.kcm.bin:system/usr/keychars/bahamas-keypad.kcm.bin \
|
|
|
|
device/htc/click/custom/keychars/qwerty.kcm.bin:system/usr/keychars/qwerty.kcm.bin \
|
|
|
|
device/htc/click/custom/keychars/qwerty2.kcm.bin:system/usr/keychars/qwerty2.kcm.bin \
|
|
|
|
device/htc/click/custom/keylayout/AVRCP.kl:system/usr/keylayout/AVRCP.kl \
|
|
|
|
device/htc/click/custom/keylayout/bahamas-keypad.kl:system/usr/keylayout/bahamas-keypad.kl \
|
|
|
|
device/htc/click/custom/keylayout/h2w_headset.kl:system/usr/keylayout/h2w_headset.kl \
|
|
|
|
device/htc/click/custom/keylayout/qwerty.kl:system/usr/keylayout/qwerty.kl
|
|
|
|
|
|
|
|
# extra etc config files
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
device/htc/click/custom/sysctl.conf:system/etc/sysctl.conf
|
|
|
|
|
|
|
|
# precompiled files for /system/bin
|
|
|
|
PRODUCT_COPY_FILES += \
|
2011-03-08 15:00:01 +00:00
|
|
|
device/htc/click/custom/calibrate_screen:system/bin/calibrate_screen \
|
2011-02-07 16:00:58 +00:00
|
|
|
device/htc/click/custom/rzscontrol:system/bin/rzscontrol
|
|
|
|
|
2010-09-01 17:23:34 +00:00
|
|
|
# media configuration xml file
|
|
|
|
PRODUCT_COPY_FILES += \
|
2011-01-31 06:06:14 +00:00
|
|
|
device/htc/click/media_profiles.xml:/system/etc/media_profiles.xml
|
2010-09-01 17:23:34 +00:00
|
|
|
|
2011-01-11 20:34:14 +00:00
|
|
|
# Kernel Targets
|
|
|
|
ifeq ($(TARGET_PREBUILT_KERNEL),)
|
2011-01-31 06:06:14 +00:00
|
|
|
LOCAL_KERNEL := device/htc/click/custom/kernel
|
2011-01-11 20:34:14 +00:00
|
|
|
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
|
|
|
|
|
2011-02-07 16:00:58 +00:00
|
|
|
|
2011-01-11 20:34:14 +00:00
|
|
|
$(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-31 06:06:14 +00:00
|
|
|
PRODUCT_NAME := htc_click
|
|
|
|
PRODUCT_DEVICE := click
|
2011-02-07 16:00:58 +00:00
|
|
|
|
|
|
|
# See comment at the top of this file. This is where the other
|
|
|
|
# half of the device-specific product definition file takes care
|
|
|
|
# of the aspects that require proprietary drivers that aren't
|
|
|
|
# commonly available
|
|
|
|
$(call inherit-product-if-exists, vendor/htc/click/click-vendor.mk)
|
2011-02-10 00:01:09 +00:00
|
|
|
|
|
|
|
# Added all the kernel modules to be copyed
|
|
|
|
$(call inherit-product-if-exists, device/htc/click/KernelModules.mk)
|
2011-04-06 08:29:29 +00:00
|
|
|
|
|
|
|
PRODUCT_LOCALES += ldpi,mdpi
|