device.mk revision d3e8cb7fdabb2fc9c62e2aaa873c19eebf62d9aa
1#
2# Copyright (C) 2013 The Android Open Source 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
17# This is a build configuration for the product aspects that
18# are specific to the emulator.
19
20PRODUCT_PROPERTY_OVERRIDES := \
21    ro.ril.hsxpa=1 \
22    ro.ril.gprsclass=10 \
23    ro.adb.qemud=1
24
25PRODUCT_COPY_FILES := \
26    device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml \
27    device/generic/goldfish/camera/media_profiles.xml:system/etc/media_profiles.xml \
28    device/generic/goldfish/camera/media_codecs.xml:system/etc/media_codecs.xml
29
30# The ranchu configuration files are needed to run under qemu-android
31PRODUCT_COPY_FILES += $(call add-to-product-copy-files-if-exists,\
32    device/generic/goldfish/init.ranchu.rc:root/init.ranchu.rc \
33    device/generic/goldfish/fstab.ranchu:root/fstab.ranchu \
34    device/generic/goldfish/ueventd.ranchu.rc:root/ueventd.ranchu.rc)
35
36PRODUCT_PACKAGES := \
37    audio.primary.goldfish \
38    vibrator.goldfish
39
40# Adjust the Dalvik heap to be appropriate for a tablet.
41$(call inherit-product-if-exists, frameworks/base/build/tablet-dalvik-heap.mk)
42$(call inherit-product-if-exists, frameworks/native/build/tablet-dalvik-heap.mk)
43