From 70a18cd874a22452aca9e39e22275ed4538ed20b Mon Sep 17 00:00:00 2001 From: Vladimir Chtchetkine Date: Tue, 31 Jan 2012 16:21:06 -0800 Subject: Include JPEG compression / decompression library into emulator build We are going to need JPEG compression for transferring emulator's framebuffers to the multi-touch supporting application running on an android device. The source for JPEG compressor has been copied over from external/jpeg To that I've added distrib/jpeg-6b/sources.make containing build instruction for JPEG compressor. That file gets included into Makefile.common to compile JPEG compressor sources along with the emulator sources. Change-Id: I7bfccb7a10f873f90edabab5d3b1b2ca4dd57449 --- Makefile.common | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'Makefile.common') diff --git a/Makefile.common b/Makefile.common index 4a711c6..8b98df8 100644 --- a/Makefile.common +++ b/Makefile.common @@ -280,6 +280,18 @@ EMULATOR_LIBQEMU_CFLAGS := LOCAL_CFLAGS += $(EMULATOR_COMMON_CFLAGS) +########################################################### +# Jpeg configuration +# +LIBJPEG_DIR := distrib/jpeg-6b +include $(LOCAL_PATH)/$(LIBJPEG_DIR)/sources.make + +EMULATOR_LIBQEMU_CFLAGS += \ + $(LIBJPEG_CFLAGS) \ + -I$(LOCAL_PATH)/$(LIBJPEG_DIR) + +LOCAL_SRC_FILES += $(LIBJPEG_SOURCES) + AUDIO_SOURCES := noaudio.c wavaudio.c wavcapture.c mixeng.c AUDIO_CFLAGS := -I$(LOCAL_PATH)/audio -DHAS_AUDIO AUDIO_LDLIBS := -- cgit v1.1