2011-10-28 16:01:00 +02:00
|
|
|
LOCAL_PATH := $(call my-dir)
|
2012-05-01 00:30:31 +02:00
|
|
|
|
2012-03-23 08:00:12 +01:00
|
|
|
include $(CLEAR_VARS)
|
2012-05-01 00:30:31 +02:00
|
|
|
include $(LOCAL_PATH)/Common.mk
|
2012-03-23 08:00:12 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2012-03-23 08:00:12 +01:00
|
|
|
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
|
2012-03-23 08:00:12 +01:00
|
|
|
include $(PREBUILT_STATIC_LIBRARY)
|
2012-04-30 01:51:51 +02:00
|
|
|
endif
|