summaryrefslogtreecommitdiff
path: root/db410c/device.mk
diff options
context:
space:
mode:
Diffstat (limited to 'db410c/device.mk')
-rw-r--r--db410c/device.mk38
1 files changed, 38 insertions, 0 deletions
diff --git a/db410c/device.mk b/db410c/device.mk
new file mode 100644
index 0000000..f0f7098
--- /dev/null
+++ b/db410c/device.mk
@@ -0,0 +1,38 @@
+#
+# Copyright (C) 2014 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.
+#
+
+PRODUCT_COPY_FILES := \
+ $(LOCAL_PATH)/fstab.ramdisk:$(TARGET_COPY_OUT_RAMDISK)/fstab.db410c \
+ $(LOCAL_PATH)/fstab.ramdisk:$(TARGET_COPY_OUT_RAMDISK)/etc/fstab.db410c \
+ $(LOCAL_PATH)/fstab.db410c:$(TARGET_COPY_OUT_VENDOR)/etc/init/fstab.db410c \
+ $(LOCAL_PATH)/init.db410c.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.db410c.rc \
+ device/linaro/dragonboard-kernel/db410c-amt-5.2.gz-dtb:kernel \
+ device/linaro/dragonboard/init.common.usb.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.db410c.usb.rc \
+ device/linaro/dragonboard/common.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/db410c.kl
+
+# Dalvik/ART Heap Configuration
+PRODUCT_PROPERTY_OVERRIDES := \
+ dalvik.vm.heapstartsize=8m \
+ dalvik.vm.heapgrowthlimit=96m \
+ dalvik.vm.heapsize=32m \
+ dalvik.vm.heaptargetutilization=0.75 \
+ dalvik.vm.heapminfree=512k \
+ dalvik.vm.heapmaxfree=8m
+
+# Build generic Audio HAL
+PRODUCT_PACKAGES := audio.primary.db410c
+
+$(call inherit-product, $(LOCAL_PATH)/firmware/device.mk)