forked from CyanogenMod/android_device_bn_hummingbird
-
Notifications
You must be signed in to change notification settings - Fork 1
/
device.mk
55 lines (46 loc) · 1.89 KB
/
device.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
#
# Copyright (C) 2011 The Android Open-Source Project
# Copyright (C) 2011 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.
#
# This file includes all definitions that apply to ALL tuna devices, and
# are also specific to tuna devices
#
# Everything in this directory will become public
DEVICE_FOLDER := device/bn/hummingbird
TARGET_BOOTLOADER_BOARD_NAME := hummingbird
COMMON_FOLDER := device/bn/common
$(call inherit-product, $(COMMON_FOLDER)/common.mk)
# Device overlay
DEVICE_PACKAGE_OVERLAYS += $(DEVICE_FOLDER)/overlay/aosp
PRODUCT_COPY_FILES += \
$(COMMON_FOLDER)/root/fstab.hd-common:root/fstab.hummingbird \
$(DEVICE_FOLDER)/root/init.ro.hardware.rc:root/init.hummingbird.rc \
$(COMMON_FOLDER)/root/init.ro.hardware.usb.rc:root/init.hummingbird.usb.rc \
$(COMMON_FOLDER)/recovery/init.recovery.hd-common.rc:/root/init.recovery.hummingbird.rc \
$(COMMON_FOLDER)/root/ueventd.hd-common.rc:root/ueventd.hummingbird.rc \
PRODUCT_COPY_FILES += $(COMMON_FOLDER)/root/initlogo.rle:root/initlogo.rle \
# Device settings
PRODUCT_PROPERTY_OVERRIDES += \
usb.vendor=2080 \
usb.product.adb=0006 \
usb.product.mtpadb=0006 \
PRODUCT_AAPT_CONFIG := large hdpi
PRODUCT_PROPERTY_OVERRIDES += \
dalvik.vm.heapstartsize=8m \
dalvik.vm.heapgrowthlimit=128m \
dalvik.vm.heapsize=256m \
dalvik.vm.heaptargetutilization=0.75 \
dalvik.vm.heapminfree=512k \
dalvik.vm.heapmaxfree=8m