OSDN Git Service

generic_x86: add powerbtnd service
[android-x86/build.git] / target / product / generic_x86.mk
index 9713900..f86bf76 100644 (file)
@@ -1,34 +1,60 @@
 # This is a generic product that isn't specialized for a specific device.
-# It includes the base Android platform. If you need Google-specific features,
-# you should derive from generic_with_google.mk
+# It includes the base Android-x86 platform.
 
 PRODUCT_PACKAGES := \
-    AlarmClock \
-    AlarmProvider \
-    Calendar \
-    Camera \
-    DrmProvider \
-    LatinIME \
-    Mms \
-    Music \
-    Settings \
-    Sync \
-    Updater \
-    CalendarProvider \
-    SubscribedFeedsProvider \
-    SyncProvider
-
-$(call inherit-product, $(SRC_TARGET_DIR)/product/core.mk)
+    GlobalTime \
+    JETBoy \
+    LiveWallpapers \
+    LiveWallpapersPicker \
+    LunarLander \
+    MagicSmokeWallpapers \
+    NotePad \
+    Provision \
+    RSSReader \
+    Snake \
+    SoundRecorder \
+    VisualizationWallpapers \
+    VoiceDialer \
+    acoustics.default \
+    alsa_ctl \
+    alsa.default \
+    chat \
+    faketsd \
+    librs_jni \
+    make_ext4fs \
+    powerbtnd \
+    v86d \
+
+THIRD_PARTY_APPS = \
+    ConnectBot \
+    FileManager \
+    LIME \
+
+# Get the long list of APNs
+PRODUCT_COPY_FILES := device/sample/etc/apns-full-conf.xml:system/etc/apns-conf.xml
+
+$(call inherit-product,$(SRC_TARGET_DIR)/product/generic.mk)
+
+# Pick up some sounds
+$(call inherit-product,frameworks/base/data/sounds/OriginalAudio.mk)
+
+# Get the touchscreen calibration tool
+$(call inherit-product-if-exists,external/tslib/tslib.mk)
+
+# Get the language keymaps
+$(call inherit-product-if-exists,device/common/keymaps/keymaps.mk)
+
+# Get the TTS language packs
+$(call inherit-product-if-exists,external/svox/pico/lang/all_pico_languages.mk)
 
 # Overrides
 PRODUCT_BRAND := generic_x86
 PRODUCT_DEVICE := generic_x86
 PRODUCT_NAME := generic_x86
 PRODUCT_POLICY := android.policy_phone
+PRODUCT_PROPERTY_OVERRIDES += ro.com.android.dataroaming=true
+
+PRODUCT_LOCALES += hdpi mdpi
 
-# If running on an emulator or some other device that has a LAN connection
-# that isn't a wifi connection. This will instruct init.rc to enable the
-# network connection so that you can use it with ADB
-ifdef NET_ETH0_STARTONBOOT
-  PRODUCT_PROPERTY_OVERRIDES += net.eth0.startonboot=1
-endif
+GENERIC_X86_CONFIG_MK := $(SRC_TARGET_DIR)/board/generic_x86/BoardConfig.mk
+GENERIC_X86_ANDROID_MK := $(SRC_TARGET_DIR)/board/generic_x86/AndroidBoard.mk