1# Copyright 2016 The Android Open Source Project 2 3LOCAL_PATH:= $(call my-dir) 4 5APF_CFLAGS := -DAPF_FRAME_HEADER_SIZE=14 \ 6 -Wall \ 7 -Werror 8 9include $(CLEAR_VARS) 10 11LOCAL_INCLUDES += $(LOCAL_PATH) 12 13LOCAL_CFLAGS += $(APF_CFLAGS) 14 15LOCAL_SRC_FILES += apf_interpreter.c 16 17LOCAL_MODULE:= libapf 18 19include $(BUILD_STATIC_LIBRARY) 20 21 22include $(CLEAR_VARS) 23 24LOCAL_CFLAGS += $(APF_CFLAGS) 25LOCAL_SRC_FILES += apf_disassembler.c 26LOCAL_MODULE := apf_disassembler 27LOCAL_MODULE_TAGS := debug 28 29include $(BUILD_HOST_EXECUTABLE) 30 31include $(CLEAR_VARS) 32 33LOCAL_CFLAGS += $(APF_CFLAGS) 34LOCAL_SRC_FILES += apf_run.c apf_interpreter.c 35LOCAL_MODULE := apf_run 36LOCAL_MODULE_TAGS := debug 37 38include $(BUILD_HOST_EXECUTABLE) 39