From f6e012d2eef8693ef12570a3a91a8c8c3925ae8c Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Queru Date: Fri, 24 Sep 2010 09:44:46 -0700 Subject: Improve configuration when proprietary binaries are present -Enable 3D Launcher -Turn on live wallpapers (mostly copied from passion) Change-Id: Iadbc07ff7ab4c582454dd1547f8d169191e113f9 --- setup-makefiles.sh | 44 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 43 insertions(+), 1 deletion(-) diff --git a/setup-makefiles.sh b/setup-makefiles.sh index 45b38ec..fea7f99 100755 --- a/setup-makefiles.sh +++ b/setup-makefiles.sh @@ -14,8 +14,8 @@ # See the License for the specific language governing permissions and # limitations under the License. -MANUFACTURER=samsung DEVICE=crespo +MANUFACTURER=samsung mkdir -p ../../../vendor/$MANUFACTURER/$DEVICE @@ -36,6 +36,19 @@ mkdir -p ../../../vendor/$MANUFACTURER/$DEVICE # This file is generated by device/__MANUFACTURER__/__DEVICE__/setup-makefiles.sh +# 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/__MANUFACTURER__/__DEVICE__/overlay \$(call inherit-product, vendor/__MANUFACTURER__/__DEVICE__/device-vendor-blobs.mk) @@ -58,4 +71,33 @@ EOF # This file is generated by device/__MANUFACTURER__/__DEVICE__/setup-makefiles.sh +BOARD_GPS_LIBRARIES := libgps + +USE_CAMERA_STUB := false +EOF + +mkdir -p ../../../vendor/$MANUFACTURER/$DEVICE/overlay/packages/apps/Launcher2/res/layout +(cat << EOF) | sed s/__DEVICE__/$DEVICE/g | sed s/__MANUFACTURER__/$MANUFACTURER/g > ../../../vendor/$MANUFACTURER/$DEVICE/overlay/packages/apps/Launcher2/res/layout/all_apps.xml + + + + + + + + + EOF -- cgit v1.1