LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) include $(LOCAL_PATH)/../config.mk LOCAL_SRC_FILES = \ $(notdir $(wildcard $(LOCAL_PATH)/*.c)) \ LOCAL_C_INCLUDES:= $(LOCAL_PATH)/include \ $(LOCAL_PATH)/../../ \ $(LOCAL_PATH)/../include/ \ LOCAL_CFLAGS += $(CDX_CFLAGS) LOCAL_MODULE_TAGS := optional LOCAL_PRELINK_MODULE := false LOCAL_MODULE:= libcdc_base LOCAL_SHARED_LIBRARIES:= libcutils ifeq ($(LOLLIPOP_AND_NEWER), no) LOCAL_SHARED_LIBRARIES += libcorkscrew endif ifeq ($(TARGET_ARCH),arm) LOCAL_CFLAGS += -Wno-psabi endif include $(BUILD_SHARED_LIBRARY)