LOCAL_PATH:= $(call my-dir)
-ifndef SWIFTSHADER_OPTIM
-SWIFTSHADER_OPTIM := release
-endif
-
-ifneq ($(filter x86, $(TARGET_ARCH)),)
-ifneq ($(filter gce_x86 gce calypso, $(TARGET_DEVICE))$(filter sdk_google_%, $(TARGET_PRODUCT)),)
+ifeq ($(TARGET_ARCH),$(filter $(TARGET_ARCH),x86 x86_64 arm))
include $(call all-makefiles-under,$(LOCAL_PATH))
endif
-endif
\ No newline at end of file