Use arch-specific variables
This fixes x86+arm multilib build. Bug: 27526885 Test: Build system refactoring CL. Existing unit tests still pass. Change-Id: I7290198a3671af3688cf125ffb1e6979344c0a8d
This commit is contained in:
@ -32,9 +32,8 @@ LOCAL_SRC_FILES := \
|
|||||||
sparse_fir_filter.cc \
|
sparse_fir_filter.cc \
|
||||||
window_generator.cc \
|
window_generator.cc \
|
||||||
|
|
||||||
ifeq ($(TARGET_ARCH), $(filter $(TARGET_ARCH),x86 x86_64))
|
LOCAL_SRC_FILES_x86 += fir_filter_sse.cc
|
||||||
LOCAL_SRC_FILES += fir_filter_sse.cc
|
LOCAL_SRC_FILES_x86_64 += fir_filter_sse.cc
|
||||||
endif
|
|
||||||
|
|
||||||
# Flags passed to both C and C++ files.
|
# Flags passed to both C and C++ files.
|
||||||
LOCAL_CFLAGS := \
|
LOCAL_CFLAGS := \
|
||||||
|
@ -22,9 +22,8 @@ LOCAL_SRC_FILES := \
|
|||||||
resampler.cc \
|
resampler.cc \
|
||||||
sinc_resampler.cc \
|
sinc_resampler.cc \
|
||||||
|
|
||||||
ifeq ($(TARGET_ARCH), $(filter $(TARGET_ARCH),x86 x86_64))
|
LOCAL_SRC_FILES_x86 += sinc_resampler_sse.cc
|
||||||
LOCAL_SRC_FILES += sinc_resampler_sse.cc
|
LOCAL_SRC_FILES_x86_64 += sinc_resampler_sse.cc
|
||||||
endif
|
|
||||||
|
|
||||||
# Flags passed to both C and C++ files.
|
# Flags passed to both C and C++ files.
|
||||||
LOCAL_CFLAGS := \
|
LOCAL_CFLAGS := \
|
||||||
|
Reference in New Issue
Block a user