Ethan Yonker | 66a1949 | 2015-12-10 10:19:45 -0600 | [diff] [blame] | 1 | LOCAL_PATH := $(call my-dir) |
| 2 | |
| 3 | # Build libgpt_twrp library |
| 4 | |
| 5 | include $(CLEAR_VARS) |
Ethan Yonker | 95e8007 | 2017-08-24 21:45:50 -0500 | [diff] [blame] | 6 | ifeq ($(shell test $(PLATFORM_SDK_VERSION) -lt 26; echo $$?),0) |
Ethan Yonker | 66a1949 | 2015-12-10 10:19:45 -0600 | [diff] [blame] | 7 | LOCAL_CLANG := false |
Ethan Yonker | 95e8007 | 2017-08-24 21:45:50 -0500 | [diff] [blame] | 8 | endif |
Ethan Yonker | 66a1949 | 2015-12-10 10:19:45 -0600 | [diff] [blame] | 9 | LOCAL_MODULE := libgpt_twrp |
| 10 | LOCAL_MODULE_TAGS := optional |
| 11 | |
| 12 | LOCAL_SRC_FILES = \ |
| 13 | gpt.c \ |
| 14 | gptcrc32.c |
| 15 | |
| 16 | LOCAL_SHARED_LIBRARIES := libc |
| 17 | include $(BUILD_SHARED_LIBRARY) |