From e5c6693d3d2d46f43d5cff9d6713647716baad9c Mon Sep 17 00:00:00 2001 From: KalimochoAz Date: Fri, 4 Mar 2011 13:31:24 +0100 Subject: [PATCH] Device modifications for click OVELAYs and TEXTURE Patch2 Change-Id: I738087d6c4c505e9578f271fab8a89cafe6eb006 --- BoardConfig.mk | 4 ++++ click.mk | 8 +++++--- setup-makefiles.sh | 3 --- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/BoardConfig.mk b/BoardConfig.mk index a7154cf..f0801e9 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -51,12 +51,16 @@ BOARD_USES_GENERIC_AUDIO := false BOARD_USE_USB_MASS_STORAGE_SWITCH := true +# libsurfaceflinger to avoid Draw Texture Extension +BOARD_AVOID_DRAW_TEXTURE_EXTENSION := true + BOARD_HAVE_BLUETOOTH := true BOARD_VENDOR_USE_AKMD := akm8973 BOARD_VENDOR_QCOM_AMSS_VERSION := 1355 +# Change for Gallery 3D or not BOARD_HAS_LIMITED_EGL := true TARGET_HARDWARE_3D := false diff --git a/click.mk b/click.mk index 9c11666..ecafddb 100644 --- a/click.mk +++ b/click.mk @@ -20,6 +20,7 @@ DEVICE_PACKAGE_OVERLAYS += device/htc/click/overlay PRODUCT_COPY_FILES += \ device/htc/click/vold.fstab:system/etc/vold.fstab +# Libs to be added to this ROM PRODUCT_PACKAGES += \ librs_jni \ sensors.bahamas \ @@ -36,13 +37,14 @@ PRODUCT_PACKAGES += \ librpc \ dhcpcd.conf +# Add Gallery 3D / Normal +PRODUCT_PACKAGES += Gallery + +# Boot kernel files PRODUCT_COPY_FILES += \ device/htc/click/init.bahamas.rc:root/init.bahamas.rc \ device/htc/click/ueventd.bahamas.rc:root/ueventd.bahamas.rc -# Add normal Gallery -PRODUCT_PACKAGES += Gallery - # from device_dream_sapphire.mk PRODUCT_COPY_FILES += \ frameworks/base/data/etc/android.hardware.camera.autofocus.xml:system/etc/permissions/android.hardware.camera.autofocus.xml \ diff --git a/setup-makefiles.sh b/setup-makefiles.sh index 532311c..d732ab2 100755 --- a/setup-makefiles.sh +++ b/setup-makefiles.sh @@ -41,9 +41,6 @@ PRODUCT_PACKAGES := \\ LiveWallpapersPicker \\ librs_jni -# 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) EOF