blob: 3c2ec3b7a52cc6f311d4c34f6c93c73a2a58774e [file] [log] [blame]
Ethan Yonker66a19492015-12-10 10:19:45 -06001LOCAL_PATH := $(call my-dir)
2
3# Build libgpt_twrp library
4
5include $(CLEAR_VARS)
Ethan Yonker95e80072017-08-24 21:45:50 -05006ifeq ($(shell test $(PLATFORM_SDK_VERSION) -lt 26; echo $$?),0)
Ethan Yonker66a19492015-12-10 10:19:45 -06007LOCAL_CLANG := false
Ethan Yonker95e80072017-08-24 21:45:50 -05008endif
Ethan Yonker66a19492015-12-10 10:19:45 -06009LOCAL_MODULE := libgpt_twrp
10LOCAL_MODULE_TAGS := optional
11
12LOCAL_SRC_FILES = \
13 gpt.c \
14 gptcrc32.c
15
16LOCAL_SHARED_LIBRARIES := libc
17include $(BUILD_SHARED_LIBRARY)