[android][NDK] Fixed ndk-build clean errors

This commit is contained in:
Alex Zolotarev 2014-05-06 22:00:03 +07:00 committed by Alex Zolotarev
parent 46d22ad78e
commit f2ed609116
2 changed files with 10 additions and 0 deletions

View file

@ -16,6 +16,9 @@ $(info "***** Building $(OMIM_CONFIG) configuration for $(TARGET_ARCH_ABI) *****
# Build static libraries
# Avoid clean errors due to missing external static libs
ifneq ($(MAKECMDGOALS),clean)
BUILD_RESULT := $(shell (bash $(LOCAL_PATH)/../../../tools/autobuild/android.sh $(OMIM_CONFIG) $(TARGET_ARCH_ABI) $(APP_PLATFORM)))
####################################################################################
@ -119,6 +122,8 @@ LOCAL_MODULE := map
LOCAL_SRC_FILES := $(MY_PREBUILT_LIBS_PATH)/libmap.a
include $(PREBUILT_STATIC_LIBRARY)
endif
########################### Main YoPMe module ############################
include $(CLEAR_VARS)

View file

@ -15,6 +15,9 @@ endif
MY_PREBUILT_LIBS_PATH := ../../../omim-android-$(OMIM_CONFIG)-$(TARGET_ARCH_ABI)/out/$(OMIM_CONFIG)
# Avoid clean errors due to missing external static libs
ifneq ($(MAKECMDGOALS),clean)
include $(CLEAR_VARS)
LOCAL_MODULE := protobuf
LOCAL_SRC_FILES := $(MY_PREBUILT_LIBS_PATH)/libprotobuf.a
@ -115,6 +118,8 @@ LOCAL_MODULE := stats_client
LOCAL_SRC_FILES := $(MY_PREBUILT_LIBS_PATH)/libstats_client.a
include $(PREBUILT_STATIC_LIBRARY)
endif
########################### Main MapsWithMe module ############################
include $(CLEAR_VARS)