blob: 2317b136d80ac4e49ef93b68cfca460449008af1 [file] [log] [blame]
Keun young Parkfd9f8bc2012-06-04 10:47:31 -07001# Copyright (C) 2012 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
15# Common configurations for mini_XXX lunch targets
16# This is mainly for creating small system image during early development stage.
17
18PRODUCT_BRAND := mini
19PRODUCT_DEVICE := mini
20PRODUCT_NAME := mini
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
29# dummy definitions to use += in later parts
30PRODUCT_PROPERTY_OVERRIDES :=
31PRODUCT_COPY_FILES :=
32
33
34# for CtsVerifier
35PRODUCT_PACKAGES += \
36 com.android.future.usb.accessory
37
38# It does not mean that all features are supproted, but only for meeting
39# configuration requirements for some CTS
40PRODUCT_COPY_FILES += \
41 frameworks/native/data/etc/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.xml \
42 frameworks/native/data/etc/android.hardware.location.gps.xml:system/etc/permissions/android.hardware.location.gps.xml \
43 frameworks/native/data/etc/android.hardware.sensor.light.xml:system/etc/permissions/android.hardware.sensor.light.xml \
44 frameworks/native/data/etc/android.hardware.sensor.barometer.xml:system/etc/permissions/android.hardware.sensor.barometer.xml \
45 frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:system/etc/permissions/android.hardware.sensor.gyroscope.xml \
46 frameworks/native/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml
47
48#----------------- originally from core.mk ----------------
49
50PRODUCT_PROPERTY_OVERRIDES += \
51 ro.config.notification_sound=OnTheHunt.ogg \
52 ro.config.alarm_alert=Alarm_Classic.ogg
53
54PRODUCT_PACKAGES += \
55 ApplicationsProvider \
56 ContactsProvider \
57 DefaultContainerService \
58 DownloadProvider \
59 DownloadProviderUi \
60 MediaProvider \
61 PackageInstaller \
62 SettingsProvider \
63 TelephonyProvider \
64 UserDictionaryProvider \
Shih-wei Liaob09d26a2012-07-27 18:04:07 -070065 abcc \
Keun young Parkfd9f8bc2012-06-04 10:47:31 -070066 apache-xml \
67 bouncycastle \
68 bu \
69 cacerts \
70 com.android.location.provider \
71 com.android.location.provider.xml \
72 core \
73 core-junit \
74 dalvikvm \
75 dexdeps \
76 dexdump \
77 dexlist \
78 dexopt \
79 dmtracedump \
80 drmserver \
81 dx \
82 ext \
83 framework-res \
84 hprof-conv \
85 icu.dat \
86 installd \
87 ip \
88 ip-up-vpn \
89 ip6tables \
90 iptables \
91 keystore \
92 keystore.default \
93 libandroidfw \
94 libOpenMAXAL \
95 libOpenSLES \
96 libaudiopreprocessing \
97 libaudioutils \
Shih-wei Liaob09d26a2012-07-27 18:04:07 -070098 libbcc \
Keun young Parkfd9f8bc2012-06-04 10:47:31 -070099 libcrypto \
100 libdownmix \
101 libdvm \
102 libdrmframework \
103 libdrmframework_jni \
104 libexpat \
105 libfilterfw \
106 libfilterpack_imageproc \
107 libgabi++ \
108 libicui18n \
109 libicuuc \
110 libjavacore \
111 libkeystore \
112 libmdnssd \
113 libnativehelper \
114 libnfc_ndef \
Shih-wei Liaob09d26a2012-07-27 18:04:07 -0700115 libportable \
Keun young Parkfd9f8bc2012-06-04 10:47:31 -0700116 libpowermanager \
117 libspeexresampler \
118 libsqlite_jni \
119 libssl \
Keun young Parkf15a11c2012-08-10 16:59:54 -0700120 libstagefright \
121 libstagefright_chromium_http \
Keun young Parkfd9f8bc2012-06-04 10:47:31 -0700122 libstagefright_soft_aacdec \
123 libstagefright_soft_aacenc \
124 libstagefright_soft_amrdec \
125 libstagefright_soft_amrnbenc \
126 libstagefright_soft_amrwbenc \
127 libstagefright_soft_flacenc \
128 libstagefright_soft_g711dec \
129 libstagefright_soft_h264dec \
130 libstagefright_soft_h264enc \
131 libstagefright_soft_mp3dec \
132 libstagefright_soft_mpeg4dec \
133 libstagefright_soft_mpeg4enc \
134 libstagefright_soft_vorbisdec \
135 libstagefright_soft_vpxdec \
136 libstagefright_soft_rawdec \
137 libvariablespeed \
138 libwebrtc_audio_preprocessing \
139 libwilhelm \
140 libz \
141 mdnsd \
142 requestsync \
143 screencap \
144 sensorservice \
Keun young Parkadd52712012-08-01 15:02:35 -0700145 lint \
146 telephony-common \
147 mms-common
Keun young Parkfd9f8bc2012-06-04 10:47:31 -0700148
149PRODUCT_COPY_FILES += \
150 system/core/rootdir/init.usb.rc:root/init.usb.rc \
151
152#----------------- originally from generic_no_telephony.mk ----------------
153
154PRODUCT_PACKAGES += \
155 Bluetooth \
156 InputDevices \
157 LatinIME \
158 Launcher2 \
159 Phone \
160 Provision \
161 Settings \
162 SystemUI \
163 hostapd \
164 wpa_supplicant.conf
165
166
167PRODUCT_PACKAGES += \
168 icu.dat
169
170PRODUCT_PACKAGES += \
171 librs_jni \
172 libvideoeditor_jni \
173 libvideoeditor_core \
174 libvideoeditor_osal \
175 libvideoeditor_videofilters \
176 libvideoeditorplayer \
177
178PRODUCT_PACKAGES += \
179 audio.primary.default \
180 audio_policy.default \
181 local_time.default \
182 power.default
183
184PRODUCT_PACKAGES += \
185 local_time.default
186
187PRODUCT_COPY_FILES += \
188 system/bluetooth/data/audio.conf:system/etc/bluetooth/audio.conf \
189 system/bluetooth/data/auto_pairing.conf:system/etc/bluetooth/auto_pairing.conf \
190 system/bluetooth/data/blacklist.conf:system/etc/bluetooth/blacklist.conf \
191 system/bluetooth/data/input.conf:system/etc/bluetooth/input.conf \
192 system/bluetooth/data/network.conf:system/etc/bluetooth/network.conf \
193 frameworks/av/media/libeffects/data/audio_effects.conf:system/etc/audio_effects.conf
194
195PRODUCT_PROPERTY_OVERRIDES += \
196 ro.carrier=unknown
197
198#----------------- originally from full_base.mk ----------------
199
200PRODUCT_PACKAGES += \
201 drmserver \
202 libdrmframework \
203 libdrmframework_jni
204
205
206# Additional settings used in all AOSP builds
207PRODUCT_PROPERTY_OVERRIDES += \
208 ro.com.android.dateformat=MM-dd-yyyy \
209 ro.config.ringtone=Ring_Synth_04.ogg \
210 ro.config.notification_sound=pixiedust.ogg
211
212$(call inherit-product-if-exists, frameworks/base/data/keyboards/keyboards.mk)
213$(call inherit-product-if-exists, frameworks/base/data/fonts/fonts.mk)
214$(call inherit-product-if-exists, frameworks/base/data/sounds/AudioPackage5.mk)
Keun young Parkfb1951e2012-07-16 12:15:54 -0700215
216#----------------- For PDK ------------------------------
217PRODUCT_PACKAGES += \
218 TestingCamera