1LOCAL_PATH := $(call my-dir) 2 3include $(CLEAR_VARS) 4 5LOCAL_ADDITIONAL_DEPENDENCIES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr 6 7libarbitrarybytes-def := -Werror 8libarbitrarybytes-def += -D_ANDROID_ 9 10libarbitrarybytes-inc := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include 11libarbitrarybytes-inc += $(LOCAL_PATH)/inc 12libarbitrarybytes-inc += $(LOCAL_PATH)/../mm-video-v4l2/vidc/common/inc/ 13libarbitrarybytes-inc += $(LOCAL_PATH)/../mm-core/inc 14 15LOCAL_MODULE := libarbitrarybytes 16 17LOCAL_PRELINK_MODULE := false 18LOCAL_VENDOR_MODULE := true 19 20LOCAL_C_INCLUDES := $(libarbitrarybytes-inc) 21LOCAL_CFLAGS := $(libarbitrarybytes-def) 22 23LOCAL_HEADER_LIBRARIES := libutils_headers 24 25LOCAL_SHARED_LIBRARIES := liblog libcutils 26 27LOCAL_SRC_FILES := src/frameparser.cpp 28LOCAL_SRC_FILES += src/h264_utils.cpp 29LOCAL_SRC_FILES += src/hevc_utils.cpp 30 31include $(BUILD_SHARED_LIBRARY) 32