<commit_before>LOCAL_PATH := $(call my-dir)

OMX_INCLUDES := \
	frameworks/native/include/media/openmax \

# build libomxil-bellagio_sharedlibrary library which will be placed in the /system/lib folder
include $(CLEAR_VARS)

LOCAL_WHOLE_STATIC_LIBRARIES := libomxil-bellagio_lib

LOCAL_MODULE := libomxil-bellagio_sharedlibrary
LOCAL_MODULE_TAGS := optional
LOCAL_PRELINK_MODULE := false

LOCAL_SHARED_LIBRARIES := \
	libutils \
	libcutils \
	liblog \
	libdl

include $(BUILD_SHARED_LIBRARY)

#Building omxregister-bellagio binary which will be placed in the /system/bin folder
include $(CLEAR_VARS)

LOCAL_SRC_FILES := \
	src/common.c \
	src/omxregister.c \
	src/omxregister.h 

LOCAL_MODULE := omxregister-bellagio
LOCAL_MODULE_TAGS := optional

LOCAL_CFLAGS :=  \
	-DOMXILCOMPONENTSPATH=\"/system/lib\" \

LOCAL_C_INCLUDES := \
	$(OMX_INCLUDES)

LOCAL_ARM_MODE := arm

LOCAL_SHARED_LIBRARIES := \
	libutils \
	libcutils \
	liblog \
	libdl

include $(BUILD_EXECUTABLE)

# Building the libomxil-bellagio static library
include $(CLEAR_VARS)

LOCAL_SRC_FILES := \
	src/common.c \
	src/content_pipe_file.c \
	src/content_pipe_inet.c \
	src/omx_create_loaders_linux.c \
	src/omxcore.c \
 	src/omx_reference_resource_manager.c \
	src/omxregister.c \
	src/queue.c \
	src/st_static_component_loader.c \
	src/tsemaphore.c \
	src/utils.c \
 	src/base/OMXComponentRMExt.c \
	src/base/omx_base_audio_port.c \
	src/base/omx_base_clock_port.c \
	src/base/omx_base_component.c \
	src/base/omx_base_filter.c \
	src/base/omx_base_image_port.c \
	src/base/omx_base_port.c \
	src/base/omx_base_sink.c \
	src/base/omx_base_source.c \
	src/base/omx_base_video_port.c \
 	src/core_extensions/OMXCoreRMExt.c

LOCAL_MODULE := libomxil-bellagio_lib
LOCAL_MODULE_TAGS := optional

LOCAL_CFLAGS :=  \
	-DOMX_LOADERS_DIRNAME=\"/system/lib/\" \
	-DOMXILCOMPONENTSPATH=\"/system/lib/\"

# For debugging
#LOCAL_CFLAGS += -DCONFIG_DEBUG_LEVEL=6<commit_msg>omxil: generalize setup<commit_after>LOCAL_PATH := $(call my-dir)

OMX_INCLUDES := \
	frameworks/native/include/media/openmax \

# build libOMX_Core library which will be placed in the /system/lib folder
include $(CLEAR_VARS)

LOCAL_WHOLE_STATIC_LIBRARIES := libomxil-bellagio_lib

LOCAL_MODULE := libOMX_Core
LOCAL_MODULE_TAGS := optional
LOCAL_PRELINK_MODULE := false

LOCAL_SHARED_LIBRARIES := \
	libutils \
	libcutils \
	liblog \
	libdl

include $(BUILD_SHARED_LIBRARY)

#Building omxregister-bellagio binary which will be placed in the /system/bin folder
include $(CLEAR_VARS)

LOCAL_SRC_FILES := \
	src/common.c \
	src/omxregister.c \
	src/omxregister.h 

LOCAL_MODULE := omxregister-bellagio
LOCAL_MODULE_TAGS := optional

LOCAL_CFLAGS :=  \
	-DOMXILCOMPONENTSPATH=\"/system/lib\" \

LOCAL_C_INCLUDES := \
	$(OMX_INCLUDES)

LOCAL_ARM_MODE := arm

LOCAL_SHARED_LIBRARIES := \
	libutils \
	libcutils \
	liblog \
	libdl

include $(BUILD_EXECUTABLE)

# Building the libomxil-bellagio static library
include $(CLEAR_VARS)

LOCAL_SRC_FILES := \
	src/common.c \
	src/content_pipe_file.c \
	src/content_pipe_inet.c \
	src/omx_create_loaders_linux.c \
	src/omxcore.c \
 	src/omx_reference_resource_manager.c \
	src/omxregister.c \
	src/queue.c \
	src/st_static_component_loader.c \
	src/tsemaphore.c \
	src/utils.c \
 	src/base/OMXComponentRMExt.c \
	src/base/omx_base_audio_port.c \
	src/base/omx_base_clock_port.c \
	src/base/omx_base_component.c \
	src/base/omx_base_filter.c \
	src/base/omx_base_image_port.c \
	src/base/omx_base_port.c \
	src/base/omx_base_sink.c \
	src/base/omx_base_source.c \
	src/base/omx_base_video_port.c \
 	src/core_extensions/OMXCoreRMExt.c

LOCAL_MODULE := libomxil-bellagio_lib
LOCAL_MODULE_TAGS := optional

LOCAL_CFLAGS :=  \
	-DOMX_LOADERS_DIRNAME=\"/system/lib/\" \
	-DOMXILCOMPONENTSPATH=\"/system/lib/\"

# For debugging
#LOCAL_CFLAGS += -DCONFIG_DEBUG_LEVEL=255
{'fraction_non_alphanumeric': 0.11055933089388395, 'fraction_numerical': 0.0010454783063251437, 'mean_word_length': 4.206802721088436, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5744624', 'n_tokens_mistral': 1625, 'n_tokens_neox': 1587, 'n_words': 217}