blob: 029d0c7bba5a671fc16ef0d1e6a6b198a0a6a52c (
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
|
# Copyright (C) 2013 The CyanogenMod 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.
COMMON_FOLDER := device/amazon/omap4-common
OTTER_COMMON_FOLDER := device/amazon/otter-common
$(call inherit-product, $(COMMON_FOLDER)/common.mk)
DEVICE_PACKAGE_OVERLAYS += $(OTTER_COMMON_FOLDER)/overlay/aosp
PRODUCT_AAPT_CONFIG := normal mdpi hdpi xhdpi
PRODUCT_AAPT_PREF_CONFIG := mdpi
# Wifi
PRODUCT_PACKAGES += \
calibrator \
crda \
regulatory.bin \
lib_driver_cmd_wl12xx
ifdef USES_TI_MAC80211
# Permissions
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.wifi.direct.xml:system/etc/permissions/android.hardware.wifi.direct.xml
endif
# Prebuilts /system/bin
PRODUCT_COPY_FILES += \
$(OTTER_COMMON_FOLDER)/prebuilt/bin/bbx:/system/bin/bbx
# Prebuilts /system/etc
PRODUCT_COPY_FILES += \
$(OTTER_COMMON_FOLDER)/prebuilt/etc/audio_policy.conf:/system/etc/audio_policy.conf \
$(OTTER_COMMON_FOLDER)/prebuilt/etc/media_codecs.xml:/system/etc/media_codecs.xml \
$(OTTER_COMMON_FOLDER)/prebuilt/etc/media_profiles.xml:/system/etc/media_profiles.xml \
$(OTTER_COMMON_FOLDER)/prebuilt/etc/mixer_paths.xml:/system/etc/mixer_paths.xml \
$(OTTER_COMMON_FOLDER)/prebuilt/etc/wifi/TQS_S_2.6.ini:/system/etc/wifi/TQS_S_2.6.ini
# Prebuilt /system/usr
PRODUCT_COPY_FILES += \
$(OTTER_COMMON_FOLDER)/prebuilt/usr/idc/ilitek_i2c.idc:/system/usr/idc/ilitek_i2c.idc \
$(OTTER_COMMON_FOLDER)/prebuilt/usr/idc/twl6030_pwrbutton.idc:/system/usr/idc/twl6030_pwrbutton.idc \
$(OTTER_COMMON_FOLDER)/prebuilt/usr/keylayout/twl6030_pwrbutton.kl:/system/usr/keylayout/twl6030_pwrbutton.kl
PRODUCT_PACKAGES += \
librs_jni \
com.android.future.usb.accessory \
Superuser \
su
PRODUCT_PROPERTY_OVERRIDES += \
ro.sf.lcd_density=160 \
persist.lab126.chargeprotect=1 \
ro.sf.hwrotation=270
# Set dirty regions off
PRODUCT_PROPERTY_OVERRIDES += \
hwui.render_dirty_regions=false
# wifi-only device
PRODUCT_PROPERTY_OVERRIDES += \
ro.carrier=wifi-only
# Enable KSM by default
PRODUCT_PROPERTY_OVERRIDES += \
ro.ksm.default=1
$(call inherit-product, frameworks/native/build/tablet-dalvik-heap.mk)
$(call inherit-product-if-exists, vendor/amazon/omap4-common/omap4-common-vendor-540_120.mk)
$(call inherit-product, hardware/ti/wlan/mac80211/wl127x-wlan-products.mk)
|