-
Notifications
You must be signed in to change notification settings - Fork 28
/
common.mk
73 lines (61 loc) · 2.55 KB
/
common.mk
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
COMMON_FOLDER := device/amazon/omap4-common
BOWSER_COMMON_FOLDER := device/amazon/bowser-common
$(call inherit-product, $(COMMON_FOLDER)/common.mk)
DEVICE_PACKAGE_OVERLAYS += $(BOWSER_COMMON_FOLDER)/overlay/aosp
# Hardware HALs
PRODUCT_PACKAGES += \
lights.bowser \
power.bowser \
camera.omap4 \
audio.primary.bowser \
audio.hdmi.bowser \
audio.r_submix.default
# Device settings
ADDITIONAL_BUILD_PROPERTIES += \
persist.demo.hdmirotationlock=true \
persist.lab126.touchnoisereject=1 \
ro.nf.profile=2 \
ro.nf.level=512 \
omap.audio.power=PingPong \
dolby.audio.sink.info=speaker \
ro.camera.sound.forced=0 \
ro.camera.video_size=1280x720
# Dalvik VM settings
ADDITIONAL_BUILD_PROPERTIES += \
dalvik.vm.heapstartsize=8m \
dalvik.vm.heapgrowthlimit=128m \
dalvik.vm.heapsize=384m \
dalvik.vm.heaptargetutilization=0.75 \
dalvik.vm.heapminfree=2m \
dalvik.vm.heapmaxfree=8m
# BT
PRODUCT_PACKAGES += \
uim-sysfs \
libbt-vendor
# Sensors
PRODUCT_PACKAGES += \
sensors.omap4 \
libinvensense_hal \
libmllite \
libmplmpu \
# Rootfs
PRODUCT_COPY_FILES += \
$(BOWSER_COMMON_FOLDER)/init.bowser-common.rc:/root/init.bowser-common.rc
# Permissions
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:system/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \
# Prebuilts
PRODUCT_COPY_FILES += \
$(BOWSER_COMMON_FOLDER)/prebuilt/etc/audio_policy.conf:/system/etc/audio_policy.conf \
frameworks/av/media/libstagefright/data/media_codecs_ffmpeg.xml:system/etc/media_codecs_ffmpeg.xml \
$(BOWSER_COMMON_FOLDER)/prebuilt/etc/mixer_paths.xml:/system/etc/mixer_paths.xml \
$(BOWSER_COMMON_FOLDER)/prebuilt/etc/smc_normal_world_android_cfg.ini:/system/etc/smc_normal_world_android_cfg.ini \
$(BOWSER_COMMON_FOLDER)/prebuilt/etc/wifi/wpa_supplicant.conf:system/etc/wifi/wpa_supplicant.conf \
$(BOWSER_COMMON_FOLDER)/prebuilt/usr/idc/AtmelTouch.idc:system/usr/idc/AtmelTouch.idc \
$(BOWSER_COMMON_FOLDER)/prebuilt/usr/idc/cyttsp4-i2c.idc:system/usr/idc/cyttsp4-i2c.idc \
$(BOWSER_COMMON_FOLDER)/prebuilt/usr/keylayout/gpio-keys.kl:system/usr/keylayout/gpio-keys.kl\
$(BOWSER_COMMON_FOLDER)/prebuilt/vendor/etc/audio_effects.conf:/system/vendor/etc/audio_effects.conf
# Prebuilts /system/etc/bluetooth
PRODUCT_COPY_FILES += \
$(BOWSER_COMMON_FOLDER)/bluetooth/bt_vendor.conf:system/etc/bluetooth/bt_vendor.conf
$(call inherit-product-if-exists, vendor/amazon/bowser-common/bowser-common-vendor.mk)