diff options
| author | Julian Veit <claymore1298@gmail.com> | 2019-07-27 11:15:46 +0200 |
|---|---|---|
| committer | Julian Veit <claymore1298@gmail.com> | 2019-07-27 11:15:46 +0200 |
| commit | d57d7153d3c2b308863627de1f3079b84bf46b55 (patch) | |
| tree | 222923cb0b1ec210739b2df4e8a691a6e69db565 | |
| parent | 924fbe862685d96a065a8ed7084049e7f2957eac (diff) | |
JamesDSP: add Android.mk and proguard.flags
| -rw-r--r-- | app/src/main/Android.mk | 28 | ||||
| -rw-r--r-- | app/src/main/proguard.flags | 1 |
2 files changed, 29 insertions, 0 deletions
diff --git a/app/src/main/Android.mk b/app/src/main/Android.mk new file mode 100644 index 0000000..97c8d59 --- /dev/null +++ b/app/src/main/Android.mk @@ -0,0 +1,28 @@ +LOCAL_PATH:= $(call my-dir) +include $(CLEAR_VARS) + +LOCAL_MODULE_TAGS := optional + +LOCAL_PROGUARD_FLAG_FILES := proguard.flags + +appcompat_dir := ./prebuilts/sdk/current/support/v7/appcompat/res + +LOCAL_STATIC_JAVA_LIBRARIES := android-support-v13 +LOCAL_STATIC_JAVA_LIBRARIES += android-support-v7-appcompat + +LOCAL_SRC_FILES := $(call all-java-files-under, java) + +LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res +LOCAL_RESOURCE_DIR += $(appcompat_dir) + +LOCAL_AAPT_FLAGS := --auto-add-overlay +LOCAL_AAPT_FLAGS += --extra-packages android.support.v7.appcompat + +LOCAL_PRIVATE_PLATFORM_APIS := true + +LOCAL_PACKAGE_NAME := JamesDSPManager + +include $(BUILD_PACKAGE) + +# Use the folloing include to make our test apk. +include $(call all-makefiles-under,$(LOCAL_PATH)) diff --git a/app/src/main/proguard.flags b/app/src/main/proguard.flags new file mode 100644 index 0000000..3725966 --- /dev/null +++ b/app/src/main/proguard.flags @@ -0,0 +1 @@ +-dontshrink |
