Move the android sources to android/... to avoid polluting the APK when it is being built through eclipse

This commit is contained in:
Reece H. Dunn
2012-12-13 14:05:26 +00:00
parent 7afbbf57d5
commit df0f166fb4
82 changed files with 9 additions and 6 deletions
+49
View File
@@ -0,0 +1,49 @@
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
# eSpeak (minus command line apps and espeakedit)
BLACKLIST_SRC_FILES := \
%/compiledata.cpp \
%/espeak.cpp \
%/espeakedit.cpp \
%/extras.cpp \
%/formantdlg.cpp \
%/menus.cpp \
%/options.cpp \
%/prosodydisplay.cpp \
%/speak.cpp \
%/spect.cpp \
%/spectdisplay.cpp \
%/spectseq.cpp \
%/transldlg.cpp \
%/voicedlg.cpp \
%/vowelchart.cpp
ESPEAK_SRC_PATH := ../../src
ESPEAK_SRC_FILES := \
$(subst $(LOCAL_PATH)/$(ESPEAK_SRC_PATH),$(ESPEAK_SRC_PATH),$(wildcard $(LOCAL_PATH)/$(ESPEAK_SRC_PATH)/*.c*))
LOCAL_SRC_FILES += \
$(filter-out $(BLACKLIST_SRC_FILES),$(ESPEAK_SRC_FILES))
# JNI
LOCAL_SRC_FILES += \
$(subst $(LOCAL_PATH)/jni,jni,$(wildcard $(LOCAL_PATH)/jni/*.c*))
LOCAL_C_INCLUDES += \
$(LOCAL_PATH)/include \
$(LOCAL_PATH)/$(ESPEAK_SRC_PATH)
LOCAL_LDLIBS := \
-llog
# Common
LOCAL_MODULE := libttsespeak
LOCAL_MODULE_TAGS := optional
LOCAL_PRELINK_MODULE := false
include $(BUILD_SHARED_LIBRARY)