1# Copyright (C) 2013 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#      http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15PRODUCT_BRAND := mini
16PRODUCT_DEVICE := mini
17PRODUCT_NAME := mini
18
19PRODUCT_SOONG_NAMESPACES += device/generic/goldfish
20PRODUCT_SOONG_NAMESPACES += device/generic/goldfish-opengl
21
22# add all configurations
23PRODUCT_AAPT_CONFIG := normal ldpi mdpi hdpi xhdpi xxhdpi
24PRODUCT_AAPT_PREF_CONFIG := hdpi
25
26# en_US only
27PRODUCT_LOCALES := en_US
28
29PRODUCT_PACKAGES += \
30    Bluetooth \
31    FusedLocation \
32    Home \
33    InputDevices \
34    Keyguard \
35    LatinIME \
36    Phone \
37    PrintSpooler \
38    Provision \
39    Settings \
40    SystemUI \
41    TelephonyProvider \
42    TeleService \
43    TestingCamera \
44    UserDictionaryProvider \
45    WAPPushManager \
46    audio \
47    audio.primary.default \
48    cameraserver \
49    com.android.future.usb.accessory \
50    hostapd \
51    wificond \
52    librs_jni \
53    libvideoeditor_core \
54    libvideoeditor_jni \
55    libvideoeditor_osal \
56    libvideoeditorplayer \
57    libvideoeditor_videofilters \
58    lint \
59    local_time.default \
60    network \
61    pand \
62    power.default \
63    sdptool \
64    vibrator.default \
65    wpa_supplicant.conf \
66
67# This is not necessary for mini, but is for mini-emulator as it should
68# be included in platform.zip
69PRODUCT_PACKAGES += camera.goldfish.jpeg
70
71PRODUCT_COPY_FILES += \
72    frameworks/av/media/libeffects/data/audio_effects.conf:system/etc/audio_effects.conf \
73    frameworks/native/data/etc/android.hardware.location.gps.xml:system/etc/permissions/android.hardware.location.gps.xml \
74    frameworks/native/data/etc/android.hardware.sensor.barometer.xml:system/etc/permissions/android.hardware.sensor.barometer.xml \
75    frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:system/etc/permissions/android.hardware.sensor.gyroscope.xml \
76    frameworks/native/data/etc/android.hardware.sensor.light.xml:system/etc/permissions/android.hardware.sensor.light.xml \
77    frameworks/native/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml \
78    frameworks/native/data/etc/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.xml \
79
80PRODUCT_PROPERTY_OVERRIDES += \
81    ro.carrier=unknown \
82    ro.config.alarm_alert=Alarm_Classic.ogg \
83    ro.config.ringtone=Ring_Synth_04.ogg \
84    ro.config.notification_sound=pixiedust.ogg \
85
86$(call inherit-product, build/target/product/core_minimal.mk)
87$(call inherit-product-if-exists, frameworks/webview/chromium/chromium.mk)
88$(call inherit-product-if-exists, frameworks/base/data/keyboards/keyboards.mk)
89$(call inherit-product-if-exists, frameworks/base/data/fonts/fonts.mk)
90$(call inherit-product-if-exists, external/roboto-fonts/fonts.mk)
91$(call inherit-product-if-exists, frameworks/base/data/sounds/AudioPackage5.mk)
92