• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2006 The Android Open Source Project
2
3LOCAL_PATH:= $(call my-dir)
4include $(CLEAR_VARS)
5
6# common settings for all ASR builds, exports some variables for sub-makes
7include $(ASR_MAKE_DIR)/Makefile.defs
8
9LOCAL_SRC_FILES := \
10  android_speech_srec_MicrophoneInputStream.cpp \
11  android_speech_srec_Recognizer.cpp \
12
13
14LOCAL_C_INCLUDES := \
15  $(LOCAL_PATH)/src \
16  $(LOCAL_PATH)/include \
17  $(LOCAL_PATH)/../include \
18  $(ASR_ROOT_DIR)/shared/include \
19  $(ASR_ROOT_DIR)/portable/include \
20  $(ASR_ROOT_DIR)/srec/include \
21  $(ASR_ROOT_DIR)/srec/cr \
22  $(ASR_ROOT_DIR)/srec/EventLog/include \
23  $(ASR_ROOT_DIR)/srec/Session/include \
24  $(ASR_ROOT_DIR)/srec/Semproc/include \
25  $(ASR_ROOT_DIR)/srec/Recognizer/include \
26  $(ASR_ROOT_DIR)/srec/Grammar/include \
27  $(ASR_ROOT_DIR)/srec/Nametag/include \
28  $(ASR_ROOT_DIR)/srec/Vocabulary/include \
29  $(ASR_ROOT_DIR)/srec/AcousticModels/include \
30  $(ASR_ROOT_DIR)/srec/AcousticState/include \
31  $(ASR_ROOT_DIR)/audio/AudioIn/UNIX/include \
32
33LOCAL_C_INCLUDES += \
34  $(JNI_H_INCLUDE) \
35
36#  include/javavm  \
37
38LOCAL_CFLAGS += \
39  $(ASR_GLOBAL_DEFINES) \
40  $(ASR_GLOBAL_CPPFLAGS) \
41
42LOCAL_SHARED_LIBRARIES := \
43  libutils \
44  libhardware_legacy \
45  libcutils \
46  libmedia \
47
48
49LOCAL_STATIC_LIBRARIES := \
50  libzipfile \
51  libunz \
52
53LOCAL_WHOLE_STATIC_LIBRARIES := \
54  libESR_Shared \
55  libESR_Portable \
56  libSR_AcousticModels \
57  libSR_AcousticState \
58  libSR_Core \
59  libSR_EventLog \
60  libSR_Grammar \
61  libSR_G2P \
62  libSR_Nametag \
63  libSR_Recognizer \
64  libSR_Semproc \
65  libSR_Session \
66  libSR_Vocabulary \
67
68
69LOCAL_LDLIBS += -lpthread
70
71LOCAL_MODULE := libsrec_jni
72
73include $(BUILD_SHARED_LIBRARY)
74
75