OsmAnd/Osmand-kernel/protobuf/Android.mk

28 lines
564 B
Makefile
Raw Normal View History

2011-10-28 16:01:00 +02:00
LOCAL_PATH := $(call my-dir)
2012-05-01 00:30:31 +02:00
include $(CLEAR_VARS)
2012-05-01 00:30:31 +02:00
include $(LOCAL_PATH)/Common.mk
ifneq ($(OSMAND_BUILDING_NEON_LIBRARY),true)
LOCAL_MODULE := proto
else
LOCAL_MODULE := proto_neon
LOCAL_ARM_NEON := true
endif
ifneq ($(OSMAND_USE_PREBUILT),true)
2011-10-28 16:01:00 +02:00
LOCAL_MODULE_TAGS := optional
LOCAL_CPP_EXTENSION := .cc
LOCAL_C_INCLUDES := $(LOCAL_PATH)
LOCAL_CFLAGS := -DGOOGLE_PROTOBUF_NO_RTTI
LOCAL_LDLIBS := -llog
include $(BUILD_STATIC_LIBRARY)
else
LOCAL_SRC_FILES := \
2012-04-30 01:51:51 +02:00
../jni-prebuilt/$(TARGET_ARCH_ABI)/lib$(LOCAL_MODULE).a
include $(PREBUILT_STATIC_LIBRARY)
2012-04-30 01:51:51 +02:00
endif