Skip to content

Latest commit

 

History

History
37 lines (29 loc) · 1.13 KB

Android.mk

File metadata and controls

37 lines (29 loc) · 1.13 KB
 
1
2
3
4
5
6
7
8
9
10
11
12
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_ARM_MODE := arm
LOCAL_SRC_FILES := \
jaricom.c jcapimin.c jcapistd.c jcarith.c jccoefct.c jccolor.c \
jcdctmgr.c jchuff.c jcinit.c jcmainct.c jcmarker.c jcmaster.c \
jcomapi.c jcparam.c jcprepct.c jcsample.c jctrans.c jdapimin.c \
jdapistd.c jdarith.c jdatadst.c jdatasrc.c jdcoefct.c jdcolor.c \
jddctmgr.c jdhuff.c jdinput.c jdmainct.c jdmarker.c jdmaster.c \
jdmerge.c jdpostct.c jdsample.c jdtrans.c jerror.c jfdctflt.c \
Oct 23, 2017
Oct 23, 2017
13
jfdctfst.c jfdctint.c jidctflt.c jquant1.c \
14
15
16
jquant2.c jutils.c jmemmgr.c \
jmem-android.c
Oct 22, 2017
Oct 22, 2017
17
18
19
20
21
22
# the assembler is only for the ARM version, don't break the Linux sim
ifneq ($(TARGET_ARCH),arm)
ANDROID_JPEG_NO_ASSEMBLER := true
endif
# temp fix until we understand why this broke cnn.com
Oct 23, 2017
Oct 23, 2017
23
ANDROID_JPEG_NO_ASSEMBLER := true
Oct 22, 2017
Oct 22, 2017
24
25
26
27
28
29
ifeq ($(strip $(ANDROID_JPEG_NO_ASSEMBLER)),true)
LOCAL_SRC_FILES += jidctint.c jidctfst.c
else
LOCAL_SRC_FILES += jidctint.c jidctfst.S
endif
30
31
32
33
34
35
36
37
LOCAL_CFLAGS += -DAVOID_TABLES
LOCAL_CFLAGS += -O3 -fstrict-aliasing -fprefetch-loop-arrays
#LOCAL_CFLAGS += -march=armv6j
LOCAL_MODULE:= jpeg
include $(BUILD_STATIC_LIBRARY)