|
| 1 | +diff --git a/Android.mk b/Android.mk |
| 2 | +index 97a96c7..2e724c0 100644 |
| 3 | +--- a/Android.mk |
| 4 | ++++ b/Android.mk |
| 5 | +@@ -79,6 +79,7 @@ ifeq ($(SUPPORT_JPG),true) |
| 6 | + $(JPG_LIBRARY_PATH)/jfdctfst.c \ |
| 7 | + $(JPG_LIBRARY_PATH)/jfdctint.c \ |
| 8 | + $(JPG_LIBRARY_PATH)/jidctflt.c \ |
| 9 | ++ $(JPG_LIBRARY_PATH)/jidctfst.c \ |
| 10 | + $(JPG_LIBRARY_PATH)/jidctint.c \ |
| 11 | + $(JPG_LIBRARY_PATH)/jquant1.c \ |
| 12 | + $(JPG_LIBRARY_PATH)/jquant2.c \ |
| 13 | +@@ -86,12 +87,6 @@ ifeq ($(SUPPORT_JPG),true) |
| 14 | + $(JPG_LIBRARY_PATH)/jmemmgr.c \ |
| 15 | + $(JPG_LIBRARY_PATH)/jmem-android.c |
| 16 | + |
| 17 | +- # assembler support is available for arm |
| 18 | +- ifeq ($(TARGET_ARCH),arm) |
| 19 | +- LOCAL_SRC_FILES += $(JPG_LIBRARY_PATH)/jidctfst.S |
| 20 | +- else |
| 21 | +- LOCAL_SRC_FILES += $(JPG_LIBRARY_PATH)/jidctfst.c |
| 22 | +- endif |
| 23 | + endif |
| 24 | + |
| 25 | + ifeq ($(SUPPORT_PNG),true) |
| 26 | +diff --git a/external/jpeg-9/Android.mk b/external/jpeg-9/Android.mk |
| 27 | +index a5edbde..77f139c 100644 |
| 28 | +--- a/external/jpeg-9/Android.mk |
| 29 | ++++ b/external/jpeg-9/Android.mk |
| 30 | +@@ -14,20 +14,6 @@ LOCAL_SRC_FILES := \ |
| 31 | + jquant2.c jutils.c jmemmgr.c \ |
| 32 | + jmem-android.c |
| 33 | + |
| 34 | +-# the assembler is only for the ARM version, don't break the Linux sim |
| 35 | +-ifneq ($(TARGET_ARCH),arm) |
| 36 | +-ANDROID_JPEG_NO_ASSEMBLER := true |
| 37 | +-endif |
| 38 | +- |
| 39 | +-# temp fix until we understand why this broke cnn.com |
| 40 | +-#ANDROID_JPEG_NO_ASSEMBLER := true |
| 41 | +- |
| 42 | +-ifeq ($(strip $(ANDROID_JPEG_NO_ASSEMBLER)),true) |
| 43 | +-LOCAL_SRC_FILES += jidctint.c jidctfst.c |
| 44 | +-else |
| 45 | +-LOCAL_SRC_FILES += jidctint.c jidctfst.S |
| 46 | +-endif |
| 47 | +- |
| 48 | + LOCAL_CFLAGS += -DAVOID_TABLES |
| 49 | + LOCAL_CFLAGS += -O3 -fstrict-aliasing -fprefetch-loop-arrays |
| 50 | + #LOCAL_CFLAGS += -march=armv6j |
0 commit comments