| jared waters | 653be2b | 2012-05-28 18:30:32 -0700 | [diff] [blame] | 1 | # |
| 2 | # Copyright (C) 2011 The CyanogenMod 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 | |
| Ethan Chen | 057e556 | 2013-05-10 18:11:29 -0700 | [diff] [blame] | 17 | # common S4 configs |
| 18 | $(call inherit-product, device/htc/s4-common/s4.mk) |
| andrew.boren | 2362cf8 | 2012-07-21 22:07:23 -0700 | [diff] [blame] | 19 | |
| 20 | DEVICE_PACKAGE_OVERLAYS += device/htc/jewel/overlay |
| andrew.boren | 4461560 | 2012-06-17 18:57:47 -0700 | [diff] [blame] | 21 | |
| jared waters | 653be2b | 2012-05-28 18:30:32 -0700 | [diff] [blame] | 22 | # Boot ramdisk setup |
| Dorian Snyder | bb579e4 | 2013-02-27 10:28:16 -0800 | [diff] [blame] | 23 | PRODUCT_PACKAGES += \ |
| Matt Mower | 6b0f84b | 2013-05-08 17:43:24 -0500 | [diff] [blame] | 24 | fstab.qcom \ |
| Dorian Snyder | bb579e4 | 2013-02-27 10:28:16 -0800 | [diff] [blame] | 25 | init.target.rc |
| jared waters | 653be2b | 2012-05-28 18:30:32 -0700 | [diff] [blame] | 26 | |
| andrew.boren | 418c5f1 | 2012-08-12 23:58:36 -0700 | [diff] [blame] | 27 | # vold.fstab |
| 28 | PRODUCT_COPY_FILES += \ |
| 29 | device/htc/jewel/configs/vold.fstab:system/etc/vold.fstab |
| jared waters | 653be2b | 2012-05-28 18:30:32 -0700 | [diff] [blame] | 30 | |
| jared waters | 653be2b | 2012-05-28 18:30:32 -0700 | [diff] [blame] | 31 | # Sound configs |
| 32 | PRODUCT_COPY_FILES += \ |
| 33 | device/htc/jewel/dsp/soundimage/srs_bypass.cfg:system/etc/soundimage/srs_bypass.cfg \ |
| 34 | device/htc/jewel/dsp/soundimage/srsfx_trumedia_51.cfg:system/etc/soundimage/srsfx_trumedia_51.cfg \ |
| 35 | device/htc/jewel/dsp/soundimage/srsfx_trumedia_movie.cfg:system/etc/soundimage/srsfx_trumedia_movie.cfg \ |
| 36 | device/htc/jewel/dsp/soundimage/srsfx_trumedia_music.cfg:system/etc/soundimage/srsfx_trumedia_music.cfg \ |
| 37 | device/htc/jewel/dsp/soundimage/srsfx_trumedia_voice.cfg:system/etc/soundimage/srsfx_trumedia_voice.cfg \ |
| 38 | device/htc/jewel/dsp/soundimage/srs_geq10.cfg:system/etc/soundimage/srs_geq10.cfg \ |
| 39 | device/htc/jewel/dsp/soundimage/srs_global.cfg:system/etc/soundimage/srs_global.cfg |
| 40 | |
| 41 | PRODUCT_COPY_FILES += \ |
| andrew.boren | 418c5f1 | 2012-08-12 23:58:36 -0700 | [diff] [blame] | 42 | device/htc/jewel/dsp/snd_soc_msm/snd_soc_msm_2x:/system/etc/snd_soc_msm/snd_soc_msm_2x |
| jared waters | 653be2b | 2012-05-28 18:30:32 -0700 | [diff] [blame] | 43 | |
| 44 | # Keylayouts and Keychars |
| 45 | PRODUCT_COPY_FILES += \ |
| 46 | device/htc/jewel/keylayout/synaptics-rmi-touchscreen.kl:system/usr/keylayout/synaptics-rmi-touchscreen.kl \ |
| jared waters | 653be2b | 2012-05-28 18:30:32 -0700 | [diff] [blame] | 47 | device/htc/jewel/keylayout/dummy_keypad.kl:system/usr/keylayout/dummy_keypad.kl \ |
| jared waters | 653be2b | 2012-05-28 18:30:32 -0700 | [diff] [blame] | 48 | device/htc/jewel/keylayout/h2w_headset.kl:system/usr/keylayout/h2w_headset.kl \ |
| 49 | device/htc/jewel/keylayout/keypad_8960.kl:system/usr/keylayout/keypad_8960.kl \ |
| Matt Mower | d11644b | 2013-05-08 21:29:22 -0500 | [diff] [blame] | 50 | device/htc/jewel/keylayout/msm8960-snd-card_Button_Jack.kl:system/usr/keylayout/msm8960-snd-card_Button_Jack.kl |
| jared waters | 653be2b | 2012-05-28 18:30:32 -0700 | [diff] [blame] | 51 | |
| 52 | # Input device config |
| 53 | PRODUCT_COPY_FILES += \ |
| 54 | device/htc/jewel/idc/synaptics-rmi-touchscreen.idc:system/usr/idc/synaptics-rmi-touchscreen.idc \ |
| jared waters | 32f98b6 | 2012-05-31 02:46:14 -0700 | [diff] [blame] | 55 | device/htc/jewel/idc/projector_input.idc:system/usr/idc/projector_input.idc |
| jared waters | 653be2b | 2012-05-28 18:30:32 -0700 | [diff] [blame] | 56 | |
| Matt Mower | 6b0f84b | 2013-05-08 17:43:24 -0500 | [diff] [blame] | 57 | # Recovery |
| 58 | PRODUCT_COPY_FILES += \ |
| 59 | device/htc/jewel/rootdir/etc/fstab.qcom:recovery/root/fstab.qcom |
| 60 | |
| andrew.boren | 418c5f1 | 2012-08-12 23:58:36 -0700 | [diff] [blame] | 61 | # NFCEE access control |
| 62 | ifeq ($(TARGET_BUILD_VARIANT),user) |
| 63 | NFCEE_ACCESS_PATH := device/htc/jewel/configs/nfcee_access.xml |
| 64 | else |
| 65 | NFCEE_ACCESS_PATH := device/htc/jewel/configs/nfcee_access_debug.xml |
| 66 | endif |
| andrew.boren | b1866a6 | 2012-07-22 21:54:55 -0700 | [diff] [blame] | 67 | PRODUCT_COPY_FILES += \ |
| andrew.boren | 418c5f1 | 2012-08-12 23:58:36 -0700 | [diff] [blame] | 68 | $(NFCEE_ACCESS_PATH):system/etc/nfcee_access.xml |
| andrew.boren | 19d2d02 | 2012-07-22 21:52:51 -0700 | [diff] [blame] | 69 | |
| andrew.boren | 01a0388 | 2012-09-30 20:54:45 -0700 | [diff] [blame] | 70 | # NFC Support |
| andrew.boren | 418c5f1 | 2012-08-12 23:58:36 -0700 | [diff] [blame] | 71 | PRODUCT_PACKAGES += \ |
| 72 | libnfc \ |
| andrew.boren | 418c5f1 | 2012-08-12 23:58:36 -0700 | [diff] [blame] | 73 | libnfc_jni \ |
| 74 | Nfc \ |
| 75 | Tag \ |
| 76 | com.android.nfc_extras |
| jared waters | 653be2b | 2012-05-28 18:30:32 -0700 | [diff] [blame] | 77 | |
| jared waters | 653be2b | 2012-05-28 18:30:32 -0700 | [diff] [blame] | 78 | # Filesystem management tools |
| 79 | PRODUCT_PACKAGES += \ |
| Matt Mower | d11644b | 2013-05-08 21:29:22 -0500 | [diff] [blame] | 80 | e2fsck |
| andrew.boren | 418c5f1 | 2012-08-12 23:58:36 -0700 | [diff] [blame] | 81 | |
| jared waters | 653be2b | 2012-05-28 18:30:32 -0700 | [diff] [blame] | 82 | # Permissions |
| 83 | PRODUCT_COPY_FILES += \ |
| andrew.boren | 01a0388 | 2012-09-30 20:54:45 -0700 | [diff] [blame] | 84 | frameworks/native/data/etc/android.hardware.nfc.xml:system/etc/permissions/android.hardware.nfc.xml \ |
| 85 | frameworks/base/nfc-extras/com.android.nfc_extras.xml:system/etc/permissions/com.android.nfc_extras.xml \ |
| 86 | frameworks/native/data/etc/com.nxp.mifare.xml:system/etc/permissions/com.nxp.mifare.xml |
| 87 | |
| 88 | ## CDMA Sprint stuffs |
| 89 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 90 | ro.com.google.clientidbase=android-sprint-us \ |
| 91 | ro.com.google.locationfeatures=1 \ |
| 92 | ro.cdma.home.operator.numeric=310120 \ |
| kushdeck | d7876e9 | 2012-10-13 07:33:07 -0700 | [diff] [blame] | 93 | ro.cdma.home.operator.alpha=Sprint \ |
| 94 | gsm.sim.operator.alpha = sprint \ |
| 95 | gsm.sim.operator.numeric = 310120 \ |
| 96 | gsm.sim.operator.iso-country = us \ |
| 97 | gsm.operator.alpha = sprint \ |
| 98 | gsm.operator.numeric = 310120 \ |
| 99 | gsm.operator.iso-country = us \ |
| 100 | ro.carrier=Sprint |
| jared waters | 653be2b | 2012-05-28 18:30:32 -0700 | [diff] [blame] | 101 | |
| 102 | # We have enough space to hold precise GC data |
| 103 | PRODUCT_TAGS += dalvik.gc.type-precise |
| 104 | |
| 105 | # Set build date |
| 106 | PRODUCT_BUILD_PROP_OVERRIDES += BUILD_UTC_DATE=0 |
| 107 | |
| 108 | # Device uses high-density artwork where available |
| andrew.boren | bcee3e1 | 2012-06-03 12:34:52 -0700 | [diff] [blame] | 109 | PRODUCT_AAPT_CONFIG := normal hdpi xhdpi |
| 110 | PRODUCT_AAPT_PREF_CONFIG := xhdpi |
| 111 | PRODUCT_LOCALES += en_US |
| jared waters | 653be2b | 2012-05-28 18:30:32 -0700 | [diff] [blame] | 112 | |
| 113 | # call the proprietary setup |
| 114 | $(call inherit-product-if-exists, vendor/htc/jewel/jewel-vendor.mk) |
| 115 | |
| andrew.boren | 81ab26d | 2012-11-03 18:56:20 -0700 | [diff] [blame] | 116 | $(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk) |
| 117 | |
| jared waters | 653be2b | 2012-05-28 18:30:32 -0700 | [diff] [blame] | 118 | # call dalvik heap config |
| andrew.boren | 79207ef | 2012-07-11 18:59:56 -0700 | [diff] [blame] | 119 | $(call inherit-product, frameworks/native/build/phone-xhdpi-1024-dalvik-heap.mk) |
| andrew.boren | 81ab26d | 2012-11-03 18:56:20 -0700 | [diff] [blame] | 120 | |
| 121 | PRODUCT_NAME := htc_jewel |
| 122 | PRODUCT_DEVICE := jewel |
| Dorian Snyder | 156b40e | 2013-03-01 17:29:16 -0800 | [diff] [blame] | 123 | PRODUCT_MODEL := Evo 4G LTE |