mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-12-22 06:04:57 -05:00
29 lines
758 B
Makefile
29 lines
758 B
Makefile
#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 := app/build/outputs/apk/release/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)
|