diff options
Diffstat (limited to '')
-rw-r--r-- | gpt/Android.mk | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gpt/Android.mk b/gpt/Android.mk new file mode 100644 index 000000000..3c2ec3b7a --- /dev/null +++ b/gpt/Android.mk @@ -0,0 +1,17 @@ +LOCAL_PATH := $(call my-dir) + +# Build libgpt_twrp library + +include $(CLEAR_VARS) +ifeq ($(shell test $(PLATFORM_SDK_VERSION) -lt 26; echo $$?),0) +LOCAL_CLANG := false +endif +LOCAL_MODULE := libgpt_twrp +LOCAL_MODULE_TAGS := optional + +LOCAL_SRC_FILES = \ + gpt.c \ + gptcrc32.c + +LOCAL_SHARED_LIBRARIES := libc +include $(BUILD_SHARED_LIBRARY) |