Properly integrate F-Droid as prebuilt and presigned app

also enable the Privileged Extension

Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
This commit is contained in:
Wolfgang Wiedmeyer 2016-12-15 23:52:09 +01:00
parent 70d33c2827
commit 7bef0e267d
No known key found for this signature in database
GPG Key ID: 5816A24C10757FC4
3 changed files with 11 additions and 6 deletions

View File

@ -108,10 +108,6 @@ PRODUCT_COPY_FILES += \
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \
vendor/replicant/prebuilt/common/lib/content-types.properties:system/lib/content-types.properties vendor/replicant/prebuilt/common/lib/content-types.properties:system/lib/content-types.properties
# Prebuilt apps
PRODUCT_COPY_FILES += \
vendor/replicant/prebuilt/common/apps/FDroid.apk:system/app/FDroid.apk
# Enable SIP+VoIP on all targets # Enable SIP+VoIP on all targets
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml frameworks/native/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml
@ -168,7 +164,9 @@ PRODUCT_PACKAGES += \
DataUsageProvider \ DataUsageProvider \
WallpaperPicker \ WallpaperPicker \
SoundRecorder \ SoundRecorder \
Screencast Screencast \
F-Droid \
FDroidPrivilegedExtension
# Exchange support # Exchange support
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \

View File

@ -8,3 +8,11 @@ LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := EXECUTABLES LOCAL_MODULE_CLASS := EXECUTABLES
LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES) LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES)
include $(BUILD_PREBUILT) include $(BUILD_PREBUILT)
include $(CLEAR_VARS)
LOCAL_MODULE := F-Droid
LOCAL_MODULE_CLASS := APPS
LOCAL_CERTIFICATE := PRESIGNED
LOCAL_SRC_FILES := apps/FDroid.apk
include $(BUILD_PREBUILT)

View File

@ -81,7 +81,6 @@ mkdir -p $OUT_DIR
# -o option replaces the test keys with the created ones # -o option replaces the test keys with the created ones
python $BASEDIR/build/tools/releasetools/sign_target_files_apks \ python $BASEDIR/build/tools/releasetools/sign_target_files_apks \
-e FDroid.apk=$KEY_DIR/platform \
-o \ -o \
-d $KEY_DIR $TARGET_FILES \ -d $KEY_DIR $TARGET_FILES \
$OUT_DIR/signed-target_files.zip $OUT_DIR/signed-target_files.zip