summaryrefslogtreecommitdiffstats
path: root/setup-makefiles.sh
diff options
context:
space:
mode:
authorSteve Kondik <shade@chemlab.org>2010-07-05 18:24:50 -0400
committerSteve Kondik <shade@chemlab.org>2010-07-05 18:24:50 -0400
commiteb7a385c4cb185065b6610ce3e8debb8146f450f (patch)
treedf7a82d74a41060df6a7e1b3e6e87ac0735b62f6 /setup-makefiles.sh
parentc5e2d76bc308ffc26ee370a4f83f6ecb63df8b5b (diff)
downloaddevice_htc_dream_sapphire-eb7a385c4cb185065b6610ce3e8debb8146f450f.tar.gz
device_htc_dream_sapphire-eb7a385c4cb185065b6610ce3e8debb8146f450f.tar.bz2
device_htc_dream_sapphire-eb7a385c4cb185065b6610ce3e8debb8146f450f.zip
Clean up the device config.
Diffstat (limited to 'setup-makefiles.sh')
-rwxr-xr-xsetup-makefiles.sh19
1 files changed, 17 insertions, 2 deletions
diff --git a/setup-makefiles.sh b/setup-makefiles.sh
index ac46bba..e3b8868 100755
--- a/setup-makefiles.sh
+++ b/setup-makefiles.sh
@@ -18,7 +18,7 @@ DEVICE=dream_sapphire
mkdir -p ../../../vendor/htc/$DEVICE
-(cat << EOF) | sed s/__DEVICE__/$DEVICE/g > ../../../vendor/htc/$DEVICE/device_$DEVICE-vendor.mk
+(cat << EOF) | sed s/__DEVICE__/$DEVICE/g > ../../../vendor/htc/$DEVICE/$DEVICE-vendor.mk
# Copyright (C) 2010 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -35,7 +35,22 @@ mkdir -p ../../../vendor/htc/$DEVICE
# This file is generated by device/htc/__DEVICE__/setup-makefiles.sh
-\$(call inherit-product, vendor/htc/__DEVICE__/device___DEVICE__-vendor-blobs.mk)
+# Live wallpaper packages
+PRODUCT_PACKAGES := \\
+ LiveWallpapers \\
+ LiveWallpapersPicker \\
+ MagicSmokeWallpapers \\
+ VisualizationWallpapers \\
+ librs_jni
+
+# Publish that we support the live wallpaper feature.
+PRODUCT_COPY_FILES := \\
+ packages/wallpapers/LivePicker/android.software.live_wallpaper.xml:/system/etc/permissions/android.software.live_wallpaper.xml
+
+# Pick up overlay for features that depend on non-open-source files
+DEVICE_PACKAGE_OVERLAYS := vendor/htc/__DEVICE__/overlay
+
+\$(call inherit-product, vendor/htc/__DEVICE__/__DEVICE__-vendor-blobs.mk)
EOF
(cat << EOF) | sed s/__DEVICE__/$DEVICE/g > ../../../vendor/htc/$DEVICE/BoardConfigVendor.mk