From 089d970795bb1c82f8d7919fcac31fa5f05ec246 Mon Sep 17 00:00:00 2001 From: Quarx2k Date: Wed, 20 Aug 2014 16:51:21 +0700 Subject: [PATCH] trying add qualcomm location service --- BoardConfig.mk | 4 +-- setup-makefiles.sh | 86 +++++++++++++++++++++++++++++++++++++--------- 2 files changed, 71 insertions(+), 19 deletions(-) diff --git a/BoardConfig.mk b/BoardConfig.mk index 4737c2b..a81d235 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -142,8 +142,8 @@ BOARD_VOLD_EMMC_SHARES_DEV_MAJOR := true BOARD_VOLD_DISC_HAS_MULTIPLE_MAJORS := true BOARD_VOLD_MAX_PARTITIONS := 40 TARGET_USE_CUSTOM_LUN_FILE_PATH := /sys/devices/platform/msm_hsusb/gadget/lun%d/file -BOARD_BOOTIMAGE_PARTITION_SIZE := 0x00D00000 -BOARD_RECOVERYIMAGE_PARTITION_SIZE := 0x00D00000 +BOARD_BOOTIMAGE_PARTITION_SIZE := 0x00E00000 +BOARD_RECOVERYIMAGE_PARTITION_SIZE := 0x00E00000 BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1560281088 BOARD_FLASH_BLOCK_SIZE := 131072 BOARD_HAS_LARGE_FILESYSTEM := true diff --git a/setup-makefiles.sh b/setup-makefiles.sh index 0b0c52a..b747f13 100755 --- a/setup-makefiles.sh +++ b/setup-makefiles.sh @@ -57,30 +57,17 @@ done # This file is generated by device/$VENDOR/$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/$VENDOR/$DEVICE/overlay # Apps PRODUCT_PACKAGES += \\ - OmaDmclient \\ - qcrilmsgtunnel \\ - SprintHiddenMenu \\ - shutdownlistener \\ TimeService \\ - UpdateSetting + qcrilmsgtunnel + +#com.qualcomm.location +#com.qualcomm.services.location \$(call inherit-product, vendor/$VENDOR/$DEVICE/$DEVICE-vendor-blobs.mk) EOF @@ -104,3 +91,68 @@ EOF USE_CAMERA_STUB := false EOF +(cat << EOF) > ../../../$OUTDIR/Android.mk +# Copyright (C) 2014 The CyanogenMod 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 file is generated by device/$VENDOR/$DEVICE/setup-makefiles.sh + +ifneq (\$(filter w7,\$(TARGET_DEVICE)),) + +LOCAL_PATH := \$(call my-dir) + +#include \$(CLEAR_VARS) +#LOCAL_MODULE := com.qualcomm.location +#LOCAL_MODULE_OWNER := $VENDOR +#LOCAL_SRC_FILES := proprietary/app/com.qualcomm.location.apk +#LOCAL_MODULE_TAGS := optional +#LOCAL_MODULE_SUFFIX := \$(COMMON_ANDROID_PACKAGE_SUFFIX) +#LOCAL_MODULE_CLASS := APPS +#LOCAL_CERTIFICATE := platform +#include \$(BUILD_PREBUILT) + +#include \$(CLEAR_VARS) +#LOCAL_MODULE := com.qualcomm.services.location +#LOCAL_MODULE_OWNER := $VENDOR +#LOCAL_SRC_FILES := proprietary/app/com.qualcomm.services.location.apk +#LOCAL_MODULE_TAGS := optional +#LOCAL_MODULE_SUFFIX := \$(COMMON_ANDROID_PACKAGE_SUFFIX) +#LOCAL_MODULE_CLASS := APPS +#LOCAL_CERTIFICATE := platform +#include \$(BUILD_PREBUILT) + +include \$(CLEAR_VARS) +LOCAL_MODULE := TimeService +LOCAL_MODULE_OWNER := $VENDOR +LOCAL_SRC_FILES := proprietary/app/TimeService.apk +LOCAL_MODULE_TAGS := optional +LOCAL_MODULE_SUFFIX := \$(COMMON_ANDROID_PACKAGE_SUFFIX) +LOCAL_MODULE_CLASS := APPS +LOCAL_CERTIFICATE := platform +include \$(BUILD_PREBUILT) + +include \$(CLEAR_VARS) +LOCAL_MODULE := qcrilmsgtunnel +LOCAL_MODULE_OWNER := $VENDOR +LOCAL_SRC_FILES := proprietary/app/qcrilmsgtunnel.apk +LOCAL_MODULE_TAGS := optional +LOCAL_MODULE_SUFFIX := \$(COMMON_ANDROID_PACKAGE_SUFFIX) +LOCAL_MODULE_CLASS := APPS +LOCAL_CERTIFICATE := platform +include \$(BUILD_PREBUILT) + +endif + +EOF +