diff options
Diffstat (limited to 'target/product')
-rw-r--r-- | target/product/AndroidProducts.mk | 1 | ||||
-rw-r--r-- | target/product/core.mk | 37 | ||||
-rw-r--r-- | target/product/full.mk | 3 | ||||
-rw-r--r-- | target/product/full_base.mk | 10 | ||||
-rw-r--r-- | target/product/full_base_telephony.mk | 2 | ||||
-rw-r--r-- | target/product/full_x86.mk | 3 | ||||
-rw-r--r-- | target/product/generic_armv5.mk | 25 | ||||
-rw-r--r-- | target/product/generic_no_telephony.mk | 20 | ||||
-rw-r--r-- | target/product/large_emu_hw.mk | 1 | ||||
-rw-r--r-- | target/product/mini.mk | 207 | ||||
-rw-r--r-- | target/product/sdk.mk | 29 | ||||
-rw-r--r-- | target/product/telephony.mk | 3 |
12 files changed, 287 insertions, 54 deletions
diff --git a/target/product/AndroidProducts.mk b/target/product/AndroidProducts.mk index 220e39a..9279633 100644 --- a/target/product/AndroidProducts.mk +++ b/target/product/AndroidProducts.mk @@ -35,7 +35,6 @@ else PRODUCT_MAKEFILES := \ $(LOCAL_DIR)/core.mk \ $(LOCAL_DIR)/generic.mk \ - $(LOCAL_DIR)/generic_armv5.mk \ $(LOCAL_DIR)/generic_x86.mk \ $(LOCAL_DIR)/generic_mips.mk \ $(LOCAL_DIR)/full.mk \ diff --git a/target/product/core.mk b/target/product/core.mk index 34bad8e..58002a7 100644 --- a/target/product/core.mk +++ b/target/product/core.mk @@ -56,9 +56,9 @@ PRODUCT_PACKAGES := \ dexlist \ dexopt \ dmtracedump \ + drmserver \ dx \ ext \ - filterfw \ framework-res \ hprof-conv \ icu.dat \ @@ -67,40 +67,60 @@ PRODUCT_PACKAGES := \ ip-up-vpn \ ip6tables \ iptables \ + keystore \ + keystore.default \ + libandroidfw \ libOpenMAXAL \ libOpenSLES \ libaudiopreprocessing \ + libaudioutils \ libcrypto \ + libdownmix \ libdvm \ + libdrmframework \ + libdrmframework_jni \ libexpat \ libfilterfw \ libfilterpack_imageproc \ libgabi++ \ libicui18n \ libicuuc \ + libjavacore \ + libkeystore \ + libmdnssd \ libnativehelper \ libnfc_ndef \ libpowermanager \ libspeexresampler \ libsqlite_jni \ libssl \ - libstagefright_soft_h264dec \ libstagefright_soft_aacdec \ + libstagefright_soft_aacenc \ libstagefright_soft_amrdec \ + libstagefright_soft_amrnbenc \ + libstagefright_soft_amrwbenc \ + libstagefright_soft_flacenc \ libstagefright_soft_g711dec \ + libstagefright_soft_h264dec \ + libstagefright_soft_h264enc \ libstagefright_soft_mp3dec \ libstagefright_soft_mpeg4dec \ + libstagefright_soft_mpeg4enc \ libstagefright_soft_vorbisdec \ libstagefright_soft_vpxdec \ + libstagefright_soft_rawdec \ libvariablespeed \ libwebrtc_audio_preprocessing \ libwilhelm \ libz \ + mdnsd \ + requestsync \ screencap \ sensorservice \ - drmserver \ - libdrmframework \ - libdrmframework_jni + lint + +PRODUCT_COPY_FILES += \ + system/core/rootdir/init.usb.rc:root/init.usb.rc \ # host-only dependencies ifeq ($(WITH_HOST_DALVIK),true) @@ -108,5 +128,12 @@ ifeq ($(WITH_HOST_DALVIK),true) apache-xml-hostdex \ bouncycastle-hostdex \ core-hostdex \ + libcrypto \ + libexpat \ + libicui18n \ + libicuuc \ + libjavacore \ + libssl \ + libz-host \ dalvik endif diff --git a/target/product/full.mk b/target/product/full.mk index 0f1956b..8231e99 100644 --- a/target/product/full.mk +++ b/target/product/full.mk @@ -19,9 +19,6 @@ # build quite specifically for the emulator, and might not be # entirely appropriate to inherit from for on-device configurations. -PRODUCT_PACKAGES := \ - Camera - $(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk) $(call inherit-product, $(SRC_TARGET_DIR)/board/generic/device.mk) diff --git a/target/product/full_base.mk b/target/product/full_base.mk index e220778..2c24b1a 100644 --- a/target/product/full_base.mk +++ b/target/product/full_base.mk @@ -29,6 +29,16 @@ PRODUCT_PACKAGES := \ VideoEditor \ WAPPushManager +PRODUCT_PACKAGES += \ + Galaxy4 \ + HoloSpiralWallpaper \ + LiveWallpapers \ + LiveWallpapersPicker \ + MagicSmokeWallpapers \ + NoiseField \ + PhaseBeam \ + VisualizationWallpapers + # Additional settings used in all AOSP builds PRODUCT_PROPERTY_OVERRIDES := \ ro.com.android.dateformat=MM-dd-yyyy \ diff --git a/target/product/full_base_telephony.mk b/target/product/full_base_telephony.mk index c376314..5899c8c 100644 --- a/target/product/full_base_telephony.mk +++ b/target/product/full_base_telephony.mk @@ -27,7 +27,7 @@ PRODUCT_PROPERTY_OVERRIDES := \ ro.com.android.dataroaming=true PRODUCT_COPY_FILES := \ - development/data/etc/apns-conf.xml:system/etc/apns-conf.xml + device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml $(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk) $(call inherit-product, $(SRC_TARGET_DIR)/product/telephony.mk) diff --git a/target/product/full_x86.mk b/target/product/full_x86.mk index c7a4cfb..d6a169a 100644 --- a/target/product/full_x86.mk +++ b/target/product/full_x86.mk @@ -26,9 +26,6 @@ ifdef NET_ETH0_STARTONBOOT PRODUCT_PROPERTY_OVERRIDES += net.eth0.startonboot=1 endif -PRODUCT_PACKAGES := \ - Camera - $(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk) $(call inherit-product, $(SRC_TARGET_DIR)/board/generic_x86/device.mk) diff --git a/target/product/generic_armv5.mk b/target/product/generic_armv5.mk deleted file mode 100644 index daa321a..0000000 --- a/target/product/generic_armv5.mk +++ /dev/null @@ -1,25 +0,0 @@ -# -# Copyright (C) 2011 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. -# - -# This is a generic product that isn't specialized for a specific device. -# It includes the base Android platform. - -$(call inherit-product, $(SRC_TARGET_DIR)/product/generic.mk) - -# Overrides -PRODUCT_BRAND := generic_armv5 -PRODUCT_DEVICE := generic_armv5 -PRODUCT_NAME := generic_armv5 diff --git a/target/product/generic_no_telephony.mk b/target/product/generic_no_telephony.mk index dbdc500..71a86ea 100644 --- a/target/product/generic_no_telephony.mk +++ b/target/product/generic_no_telephony.mk @@ -27,8 +27,9 @@ PRODUCT_PACKAGES := \ CertInstaller \ DrmProvider \ Email \ - Exchange \ + Exchange2 \ Gallery2 \ + InputDevices \ LatinIME \ Launcher2 \ Music \ @@ -52,12 +53,19 @@ PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \ librs_jni \ libvideoeditor_jni \ + libvideoeditor_core \ + libvideoeditor_osal \ + libvideoeditor_videofilters \ libvideoeditorplayer \ - libvideoeditor_core PRODUCT_PACKAGES += \ audio.primary.default \ - audio_policy.default + audio_policy.default \ + local_time.default \ + power.default + +PRODUCT_PACKAGES += \ + local_time.default PRODUCT_COPY_FILES := \ system/bluetooth/data/audio.conf:system/etc/bluetooth/audio.conf \ @@ -65,9 +73,13 @@ PRODUCT_COPY_FILES := \ system/bluetooth/data/blacklist.conf:system/etc/bluetooth/blacklist.conf \ system/bluetooth/data/input.conf:system/etc/bluetooth/input.conf \ system/bluetooth/data/network.conf:system/etc/bluetooth/network.conf \ - frameworks/base/media/libeffects/data/audio_effects.conf:system/etc/audio_effects.conf + frameworks/av/media/libeffects/data/audio_effects.conf:system/etc/audio_effects.conf + +PRODUCT_PROPERTY_OVERRIDES += \ + ro.carrier=unknown $(call inherit-product-if-exists, frameworks/base/data/fonts/fonts.mk) +$(call inherit-product-if-exists, external/cibu-fonts/fonts.mk) $(call inherit-product-if-exists, external/lohit-fonts/fonts.mk) $(call inherit-product-if-exists, frameworks/base/data/keyboards/keyboards.mk) $(call inherit-product, $(SRC_TARGET_DIR)/product/core.mk) diff --git a/target/product/large_emu_hw.mk b/target/product/large_emu_hw.mk index 847e10a..91a9e08 100644 --- a/target/product/large_emu_hw.mk +++ b/target/product/large_emu_hw.mk @@ -25,7 +25,6 @@ PRODUCT_PACKAGES := \ Bluetooth \ Calculator \ Calendar \ - Camera \ CertInstaller \ DrmProvider \ Email \ diff --git a/target/product/mini.mk b/target/product/mini.mk new file mode 100644 index 0000000..8a74428 --- /dev/null +++ b/target/product/mini.mk @@ -0,0 +1,207 @@ +# Copyright (C) 2012 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. + +# Common configurations for mini_XXX lunch targets +# This is mainly for creating small system image during early development stage. + +PRODUCT_BRAND := mini +PRODUCT_DEVICE := mini +PRODUCT_NAME := mini + +# add all configurations +PRODUCT_AAPT_CONFIG := normal ldpi mdpi hdpi xhdpi xxhdpi +PRODUCT_AAPT_PREF_CONFIG := hdpi + +# en_US only +PRODUCT_LOCALES := en_US + +# dummy definitions to use += in later parts +PRODUCT_PROPERTY_OVERRIDES := +PRODUCT_COPY_FILES := + + +# for CtsVerifier +PRODUCT_PACKAGES += \ + com.android.future.usb.accessory + +# It does not mean that all features are supproted, but only for meeting +# configuration requirements for some CTS +PRODUCT_COPY_FILES += \ + frameworks/native/data/etc/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.xml \ + frameworks/native/data/etc/android.hardware.location.gps.xml:system/etc/permissions/android.hardware.location.gps.xml \ + frameworks/native/data/etc/android.hardware.sensor.light.xml:system/etc/permissions/android.hardware.sensor.light.xml \ + frameworks/native/data/etc/android.hardware.sensor.barometer.xml:system/etc/permissions/android.hardware.sensor.barometer.xml \ + frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:system/etc/permissions/android.hardware.sensor.gyroscope.xml \ + frameworks/native/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml + +#----------------- originally from core.mk ---------------- + +PRODUCT_PROPERTY_OVERRIDES += \ + ro.config.notification_sound=OnTheHunt.ogg \ + ro.config.alarm_alert=Alarm_Classic.ogg + +PRODUCT_PACKAGES += \ + ApplicationsProvider \ + ContactsProvider \ + DefaultContainerService \ + DownloadProvider \ + DownloadProviderUi \ + MediaProvider \ + PackageInstaller \ + SettingsProvider \ + TelephonyProvider \ + UserDictionaryProvider \ + apache-xml \ + bouncycastle \ + bu \ + cacerts \ + com.android.location.provider \ + com.android.location.provider.xml \ + core \ + core-junit \ + dalvikvm \ + dexdeps \ + dexdump \ + dexlist \ + dexopt \ + dmtracedump \ + drmserver \ + dx \ + ext \ + framework-res \ + hprof-conv \ + icu.dat \ + installd \ + ip \ + ip-up-vpn \ + ip6tables \ + iptables \ + keystore \ + keystore.default \ + libandroidfw \ + libOpenMAXAL \ + libOpenSLES \ + libaudiopreprocessing \ + libaudioutils \ + libcrypto \ + libdownmix \ + libdvm \ + libdrmframework \ + libdrmframework_jni \ + libexpat \ + libfilterfw \ + libfilterpack_imageproc \ + libgabi++ \ + libicui18n \ + libicuuc \ + libjavacore \ + libkeystore \ + libmdnssd \ + libnativehelper \ + libnfc_ndef \ + libpowermanager \ + libspeexresampler \ + libsqlite_jni \ + libssl \ + libstagefright_soft_aacdec \ + libstagefright_soft_aacenc \ + libstagefright_soft_amrdec \ + libstagefright_soft_amrnbenc \ + libstagefright_soft_amrwbenc \ + libstagefright_soft_flacenc \ + libstagefright_soft_g711dec \ + libstagefright_soft_h264dec \ + libstagefright_soft_h264enc \ + libstagefright_soft_mp3dec \ + libstagefright_soft_mpeg4dec \ + libstagefright_soft_mpeg4enc \ + libstagefright_soft_vorbisdec \ + libstagefright_soft_vpxdec \ + libstagefright_soft_rawdec \ + libvariablespeed \ + libwebrtc_audio_preprocessing \ + libwilhelm \ + libz \ + mdnsd \ + requestsync \ + screencap \ + sensorservice \ + lint + +PRODUCT_COPY_FILES += \ + system/core/rootdir/init.usb.rc:root/init.usb.rc \ + +#----------------- originally from generic_no_telephony.mk ---------------- + +PRODUCT_PACKAGES += \ + Bluetooth \ + InputDevices \ + LatinIME \ + Launcher2 \ + Phone \ + Provision \ + Settings \ + SystemUI \ + hostapd \ + wpa_supplicant.conf + + +PRODUCT_PACKAGES += \ + icu.dat + +PRODUCT_PACKAGES += \ + librs_jni \ + libvideoeditor_jni \ + libvideoeditor_core \ + libvideoeditor_osal \ + libvideoeditor_videofilters \ + libvideoeditorplayer \ + +PRODUCT_PACKAGES += \ + audio.primary.default \ + audio_policy.default \ + local_time.default \ + power.default + +PRODUCT_PACKAGES += \ + local_time.default + +PRODUCT_COPY_FILES += \ + system/bluetooth/data/audio.conf:system/etc/bluetooth/audio.conf \ + system/bluetooth/data/auto_pairing.conf:system/etc/bluetooth/auto_pairing.conf \ + system/bluetooth/data/blacklist.conf:system/etc/bluetooth/blacklist.conf \ + system/bluetooth/data/input.conf:system/etc/bluetooth/input.conf \ + system/bluetooth/data/network.conf:system/etc/bluetooth/network.conf \ + frameworks/av/media/libeffects/data/audio_effects.conf:system/etc/audio_effects.conf + +PRODUCT_PROPERTY_OVERRIDES += \ + ro.carrier=unknown + +#----------------- originally from full_base.mk ---------------- + +PRODUCT_PACKAGES += \ + drmserver \ + libdrmframework \ + libdrmframework_jni + + +# Additional settings used in all AOSP builds +PRODUCT_PROPERTY_OVERRIDES += \ + ro.com.android.dateformat=MM-dd-yyyy \ + ro.config.ringtone=Ring_Synth_04.ogg \ + ro.config.notification_sound=pixiedust.ogg + +$(call inherit-product-if-exists, frameworks/base/data/keyboards/keyboards.mk) +$(call inherit-product-if-exists, frameworks/base/data/fonts/fonts.mk) +$(call inherit-product-if-exists, frameworks/base/data/sounds/AudioPackage5.mk) diff --git a/target/product/sdk.mk b/target/product/sdk.mk index 99a197c..fceb2e5 100644 --- a/target/product/sdk.mk +++ b/target/product/sdk.mk @@ -19,10 +19,9 @@ PRODUCT_PROPERTY_OVERRIDES := PRODUCT_PACKAGES := \ Calculator \ - Camera \ DeskClock \ Email \ - Exchange \ + Exchange2 \ Gallery \ Music \ Mms \ @@ -43,6 +42,7 @@ PRODUCT_PACKAGES := \ SdkSetup \ CustomLocale \ sqlite3 \ + InputDevices \ LatinIME \ CertInstaller \ LiveWallpapersPicker \ @@ -60,27 +60,36 @@ PRODUCT_PACKAGES := \ ConnectivityTest \ GpsLocationTest \ CalendarProvider \ - Calendar + Calendar \ + SmokeTest \ + SmokeTestApp \ + rild + # Define the host tools and libs that are parts of the SDK. -include sdk/build/product_sdk.mk -include development/build/product_sdk.mk +-include sdk/build/product_sdk.mk +-include development/build/product_sdk.mk # audio libraries. PRODUCT_PACKAGES += \ audio.primary.goldfish \ - audio_policy.default + audio_policy.default \ + local_time.default PRODUCT_PACKAGE_OVERLAYS := development/sdk_overlay PRODUCT_COPY_FILES := \ + device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml \ system/core/rootdir/etc/vold.fstab:system/etc/vold.fstab \ frameworks/base/data/sounds/effects/camera_click.ogg:system/media/audio/ui/camera_click.ogg \ frameworks/base/data/sounds/effects/VideoRecord.ogg:system/media/audio/ui/VideoRecord.ogg \ - frameworks/base/data/etc/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.xml \ - frameworks/base/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:system/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \ - frameworks/base/data/etc/android.hardware.camera.autofocus.xml:system/etc/permissions/android.hardware.camera.autofocus.xml \ - frameworks/base/media/libeffects/data/audio_effects.conf:system/etc/audio_effects.conf + frameworks/native/data/etc/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.xml \ + development/tools/emulator/system/camera/media_profiles.xml:system/etc/media_profiles.xml \ + development/tools/emulator/system/camera/media_codecs.xml:system/etc/media_codecs.xml \ + frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:system/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \ + frameworks/native/data/etc/android.hardware.camera.autofocus.xml:system/etc/permissions/android.hardware.camera.autofocus.xml \ + frameworks/av/media/libeffects/data/audio_effects.conf:system/etc/audio_effects.conf \ + hardware/libhardware_legacy/audio/audio_policy.conf:system/etc/audio_policy.conf $(call inherit-product-if-exists, frameworks/base/data/fonts/fonts.mk) $(call inherit-product-if-exists, frameworks/base/data/keyboards/keyboards.mk) diff --git a/target/product/telephony.mk b/target/product/telephony.mk index a0220de..89ed20a 100644 --- a/target/product/telephony.mk +++ b/target/product/telephony.mk @@ -18,6 +18,7 @@ # to products that have telephony hardware. PRODUCT_PACKAGES := \ - Mms + Mms \ + rild PRODUCT_COPY_FILES := \ |