1 LOCAL_PATH := $(call my-dir) 2 3 ifeq ($(strip $(filter-out $(NDK_KNOWN_ARCHS),$(TARGET_ARCH))),) 4 include $(CLEAR_VARS) 5 LOCAL_MODULE := test-build-assembly 6 ifeq ($(TARGET_ARCH),arm) 7 LOCAL_SRC_FILES := assembly1.s assembly2.S 8 else 9 ifeq ($(TARGET_ARCH),x86) 10 LOCAL_SRC_FILES := assembly-x86.S 11 else 12 ifeq ($(TARGET_ARCH),mips) 13 LOCAL_SRC_FILES := assembly-mips.S 14 endif 15 endif 16 endif 17 include $(BUILD_SHARED_LIBRARY) 18 endif 19