blob: 668bf89f523875fdba425777cd6e957e597f0f42 [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 \
Keun young Park81821822012-08-15 11:32:23 -0700156 FusedLocation \
Keun young Parkfd9f8bc2012-06-04 10:47:31 -0700157 InputDevices \
158 LatinIME \
159 Launcher2 \
160 Phone \
161 Provision \
162 Settings \
163 SystemUI \
164 hostapd \
165 wpa_supplicant.conf
166
167
168PRODUCT_PACKAGES += \
169 icu.dat
170
171PRODUCT_PACKAGES += \
172 librs_jni \
173 libvideoeditor_jni \
174 libvideoeditor_core \
175 libvideoeditor_osal \
176 libvideoeditor_videofilters \
177 libvideoeditorplayer \
178
179PRODUCT_PACKAGES += \
180 audio.primary.default \
181 audio_policy.default \
182 local_time.default \
183 power.default
184
185PRODUCT_PACKAGES += \
186 local_time.default
187
188PRODUCT_COPY_FILES += \
189 system/bluetooth/data/audio.conf:system/etc/bluetooth/audio.conf \
190 system/bluetooth/data/auto_pairing.conf:system/etc/bluetooth/auto_pairing.conf \
191 system/bluetooth/data/blacklist.conf:system/etc/bluetooth/blacklist.conf \
192 system/bluetooth/data/input.conf:system/etc/bluetooth/input.conf \
193 system/bluetooth/data/network.conf:system/etc/bluetooth/network.conf \
194 frameworks/av/media/libeffects/data/audio_effects.conf:system/etc/audio_effects.conf
195
196PRODUCT_PROPERTY_OVERRIDES += \
197 ro.carrier=unknown
198
199#----------------- originally from full_base.mk ----------------
200
201PRODUCT_PACKAGES += \
202 drmserver \
203 libdrmframework \
Keun young Park81821822012-08-15 11:32:23 -0700204 libdrmframework_jni \
205 WAPPushManager
Keun young Parkfd9f8bc2012-06-04 10:47:31 -0700206
207
208# Additional settings used in all AOSP builds
209PRODUCT_PROPERTY_OVERRIDES += \
210 ro.com.android.dateformat=MM-dd-yyyy \
211 ro.config.ringtone=Ring_Synth_04.ogg \
212 ro.config.notification_sound=pixiedust.ogg
213
214$(call inherit-product-if-exists, frameworks/base/data/keyboards/keyboards.mk)
215$(call inherit-product-if-exists, frameworks/base/data/fonts/fonts.mk)
216$(call inherit-product-if-exists, frameworks/base/data/sounds/AudioPackage5.mk)
Keun young Parkfb1951e2012-07-16 12:15:54 -0700217
218#----------------- For PDK ------------------------------
219PRODUCT_PACKAGES += \
220 TestingCamera