mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-10-01 01:35:54 -04:00
Compile DejaVu
This commit is contained in:
parent
fe6e553cbb
commit
ba66e7477c
@ -0,0 +1,28 @@
|
|||||||
|
#Created from F-Droid's Android.mk
|
||||||
|
|
||||||
|
LOCAL_PATH:= $(call my-dir)
|
||||||
|
|
||||||
|
include $(CLEAR_VARS)
|
||||||
|
|
||||||
|
LOCAL_MODULE := DejaVu
|
||||||
|
LOCAL_MODULE_TAGS := optional
|
||||||
|
LOCAL_PACKAGE_NAME := DejaVu
|
||||||
|
|
||||||
|
dejavu_root := $(LOCAL_PATH)
|
||||||
|
dejavu_out := $(PWD)/$(OUT_DIR)/target/common/obj/APPS/$(LOCAL_MODULE)_intermediates
|
||||||
|
dejavu_build := $(dejavu_root)/build
|
||||||
|
dejavu_apk := build/outputs/apk/app-release-unsigned.apk
|
||||||
|
|
||||||
|
$(dejavu_root)/$(dejavu_apk):
|
||||||
|
rm -Rf $(dejavu_build)
|
||||||
|
mkdir -p $(dejavu_out)
|
||||||
|
ln -sf $(dejavu_out) $(dejavu_build)
|
||||||
|
cd $(dejavu_root) && gradle assembleRelease
|
||||||
|
|
||||||
|
LOCAL_CERTIFICATE := platform
|
||||||
|
LOCAL_DEX_PREOPT := false
|
||||||
|
LOCAL_SRC_FILES := $(dejavu_apk)
|
||||||
|
LOCAL_MODULE_CLASS := APPS
|
||||||
|
LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX)
|
||||||
|
|
||||||
|
include $(BUILD_PREBUILT)
|
@ -99,6 +99,9 @@ sed -i 's|config_showWeatherMenu">true|config_showWeatherMenu">false|' res/value
|
|||||||
patch -p1 < $patches"android_packages_apps_CMParts/0001-Remove_Analytics.patch" #Remove the rest of CMStats
|
patch -p1 < $patches"android_packages_apps_CMParts/0001-Remove_Analytics.patch" #Remove the rest of CMStats
|
||||||
patch -p1 < $patches"android_packages_apps_CMParts/0002-Reduced_Resolution.patch" #Allow reducing resolution to save power
|
patch -p1 < $patches"android_packages_apps_CMParts/0002-Reduced_Resolution.patch" #Allow reducing resolution to save power
|
||||||
|
|
||||||
|
enter "packages/apps/DejaVu"
|
||||||
|
cp $patches"android_packages_apps_DejaVu/Android.mk" Android.mk #Add a build file
|
||||||
|
|
||||||
enter "packages/apps/FakeStore"
|
enter "packages/apps/FakeStore"
|
||||||
sed -i 's|$(OUT_DIR)/target/|$(PWD)/$(OUT_DIR)/target/|' Android.mk;
|
sed -i 's|$(OUT_DIR)/target/|$(PWD)/$(OUT_DIR)/target/|' Android.mk;
|
||||||
sed -i 's/ln -s /ln -sf /' Android.mk;
|
sed -i 's/ln -s /ln -sf /' Android.mk;
|
||||||
|
Loading…
Reference in New Issue
Block a user