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

LIBSOUP_TOP := $(LOCAL_PATH)

LIBSOUP_BUILT_SOURCES :=	\
	libsoup/Android.mk

LIBSOUP_BUILT_SOURCES := $(patsubst %, $(abspath $(LIBSOUP_TOP))/%, $(LIBSOUP_BUILT_SOURCES))

.PHONY: libsoup-configure
libsoup-configure:
	cd $(LIBSOUP_TOP) ; \
	NOCONFIGURE=1 \
	$(abspath $(LIBSOUP_TOP))/autogen.sh && \
	cp ../config.sub . && \
	autoreconf && \
	CC="$(CONFIGURE_CC)" \
	CFLAGS="$(CONFIGURE_CFLAGS)" \
	LD=$(TARGET_LD) \
	LDFLAGS="$(CONFIGURE_LDFLAGS)" \
	CPP=$(CONFIGURE_CPP) \
	CPPFLAGS="$(CONFIGURE_CPPFLAGS)" \
	PKG_CONFIG_LIBDIR="$(CONFIGURE_PKG_CONFIG_LIBDIR)" \
	PKG_CONFIG_TOP_BUILD_DIR=/ \
	XML_CFLAGS="-I$(abspath $(TOP)/external/libxml2/include/) -I$(abspath $(TOP)/external/icu4c/common)" \
	XML_LIBS="-lxml2" \
	$(abspath $(LIBSOUP_TOP))/configure --host=arm-linux-androideabi \
	--prefix=/system --without-gnome --disable-gtk-doc PACKAGE=libsoup && \
	for file in $(LIBSOUP_BUILT_SOURCES); do \
		rm -f $$file && \
		make -C $$(dirname $$file) $$(basename $$file) ; \
	done

CONFIGURE_TARGETS += libsoup-configure

-include $(LIBSOUP_TOP)/libsoup/Android.mk<commit_msg>Update for ICS.<commit_after>LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)

LIBSOUP_TOP := $(LOCAL_PATH)

LIBSOUP_BUILT_SOURCES :=	\
	libsoup/Android.mk

LIBSOUP_BUILT_SOURCES := $(patsubst %, $(abspath $(LIBSOUP_TOP))/%, $(LIBSOUP_BUILT_SOURCES))

.PHONY: libsoup-configure
libsoup-configure:
	cd $(LIBSOUP_TOP) ; \
	NOCONFIGURE=1 \
	$(abspath $(LIBSOUP_TOP))/autogen.sh && \
	cp ../config.sub . && \
	autoreconf && \
	CC="$(CONFIGURE_CC)" \
	CFLAGS="$(CONFIGURE_CFLAGS)" \
	LD=$(TARGET_LD) \
	LDFLAGS="$(CONFIGURE_LDFLAGS)" \
	CPP=$(CONFIGURE_CPP) \
	CPPFLAGS="$(CONFIGURE_CPPFLAGS)" \
	PKG_CONFIG_PATH="$(CONFIGURE_PKG_CONFIG_PATH)" \
	PKG_CONFIG_TOP_BUILD_DIR=/ \
	XML_CFLAGS="-I$(abspath $(TOP)/external/libxml2/include/) -I$(abspath $(TOP)/external/icu4c/common)" \
	XML_LIBS="-lxml2" \
	$(abspath $(LIBSOUP_TOP))/configure --host=arm-linux-androideabi \
	--prefix=/system --without-gnome --disable-gtk-doc PACKAGE=libsoup && \
	for file in $(LIBSOUP_BUILT_SOURCES); do \
		rm -f $$file && \
		make -C $$(dirname $$file) $$(basename $$file) ; \
	done

CONFIGURE_TARGETS += libsoup-configure

-include $(LIBSOUP_TOP)/libsoup/Android.mk
{'fraction_non_alphanumeric': 0.18979057591623036, 'fraction_numerical': 0.0034904013961605585, 'mean_word_length': 4.790404040404041, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '439377', 'n_tokens_mistral': 986, 'n_tokens_neox': 933, 'n_words': 129}