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 16LOCAL_LICENSE_KINDS := SPDX-license-identifier-BSD 17LOCAL_LICENSE_CONDITIONS := notice 18LOCAL_NOTICE_FILE := $(LOCAL_PATH)/../LICENSE 19 20LOCAL_PRELINK_MODULE := false 21LOCAL_VENDOR_MODULE := true 22 23LOCAL_C_INCLUDES := $(libarbitrarybytes-inc) 24LOCAL_CFLAGS := $(libarbitrarybytes-def) 25 26LOCAL_HEADER_LIBRARIES := libutils_headers 27 28LOCAL_SHARED_LIBRARIES := liblog libcutils 29 30LOCAL_SRC_FILES := src/frameparser.cpp 31LOCAL_SRC_FILES += src/h264_utils.cpp 32LOCAL_SRC_FILES += src/hevc_utils.cpp 33 34include $(BUILD_SHARED_LIBRARY) 35