diff options
author | Martin Storsjo <martin@martin.st> | 2015-05-20 10:00:45 +0300 |
---|---|---|
committer | Marco Nelissen <marcone@google.com> | 2015-06-24 20:37:31 +0000 |
commit | 29fe0e290aad82707cefdd82e4b958c2853beb6a (patch) | |
tree | 270ae542b39bf98288993c884996f223685dc9b4 /encoder.x86.mk | |
parent | 134291ea0b1b9794b4d7feee2c3ffdbd941c5237 (diff) | |
download | android_external_libavc-29fe0e290aad82707cefdd82e4b958c2853beb6a.tar.gz android_external_libavc-29fe0e290aad82707cefdd82e4b958c2853beb6a.tar.bz2 android_external_libavc-29fe0e290aad82707cefdd82e4b958c2853beb6a.zip |
Remove unnecessary defines/undefines in the makefiles
The following defines aren't referenced anywhere in the code base:
_LIB MULTICORE APPLY_CONCEALMENT THREAD_QUAD_CORE DISABLE_NEONINTR
ARMGCC
The DEFAULT_ARCH define isn't used within the encoder at all.
The ANDROID define isn't referenced anywhere either, and if necessary,
the automatically enabled define __ANDROID__ can be used instead.
The defines INSERT_LOGO and LOGO_EN were undefined in the makefiles,
but that is unnecessary since nothing actually defines them. The
decoder x86_64 makefile also undefined LOGO_EN; an architecture
specific makefile shouldn't touch such feature settings, otherwise
there's a risk that different builds for different architectures
behave significantly differently.
Change-Id: I13b86c8bf2feb3a381d904a13f18c3b35f40a575
Diffstat (limited to 'encoder.x86.mk')
-rw-r--r-- | encoder.x86.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/encoder.x86.mk b/encoder.x86.mk index e9b6a5f..c6833f0 100644 --- a/encoder.x86.mk +++ b/encoder.x86.mk @@ -1,4 +1,4 @@ -libavce_cflags_x86 += -DX86 -DDISABLE_AVX2 -m32 -msse4.2 -mno-avx -DDEFAULT_ARCH=D_ARCH_X86_SSE42 +libavce_cflags_x86 += -DX86 -DDISABLE_AVX2 -m32 -msse4.2 -mno-avx libavce_inc_dir_x86 += $(LOCAL_PATH)/encoder/x86 libavce_inc_dir_x86 += $(LOCAL_PATH)/common/x86 |