1LOCAL_PATH:= $(call my-dir) 2include $(CLEAR_VARS) 3 4LOCAL_MODULE_TAGS := optional 5 6# Only compile source java files in this apk. 7LOCAL_SRC_FILES := $(call all-java-files-under, src) 8LOCAL_SRC_FILES += \ 9 src/android/bordeaux/services/IBordeauxServiceCallback.aidl \ 10 src/android/bordeaux/services/IAggregatorManager.aidl \ 11 src/android/bordeaux/services/ILearning_MulticlassPA.aidl \ 12 src/android/bordeaux/services/IPredictor.aidl \ 13 src/android/bordeaux/services/ILearning_StochasticLinearRanker.aidl \ 14 src/android/bordeaux/services/IBordeauxService.aidl \ 15 16LOCAL_STATIC_JAVA_LIBRARIES := bordeaux_learners 17LOCAL_JNI_SHARED_LIBRARIES := libbordeaux 18 19LOCAL_PACKAGE_NAME := bordeaux 20 21 22include $(BUILD_PACKAGE) 23 24## 25# Build java lib 26## 27include $(CLEAR_VARS) 28 29LOCAL_MODULE_TAGS := optional 30 31LOCAL_SRC_FILES += \ 32 src/android/bordeaux/services/IntFloat.java \ 33 src/android/bordeaux/services/StringFloat.java \ 34 src/android/bordeaux/services/StringString.java \ 35 src/android/bordeaux/services/BordeauxClassifier.java \ 36 src/android/bordeaux/services/BordeauxRanker.java \ 37 src/android/bordeaux/services/BordeauxPredictor.java \ 38 src/android/bordeaux/services/BordeauxAggregatorManager.java \ 39 src/android/bordeaux/services/BordeauxManagerService.java \ 40 src/android/bordeaux/services/IBordeauxServiceCallback.aidl \ 41 src/android/bordeaux/services/IAggregatorManager.aidl \ 42 src/android/bordeaux/services/IPredictor.aidl \ 43 src/android/bordeaux/services/ILearning_MulticlassPA.aidl \ 44 src/android/bordeaux/services/ILearning_StochasticLinearRanker.aidl \ 45 src/android/bordeaux/services/IBordeauxService.aidl \ 46 47LOCAL_MODULE := bordeaux_service 48LOCAL_STATIC_JAVA_LIBRARIES := bordeaux_learners 49 50LOCAL_PROGUARD_ENABLED := disabled 51 52include $(BUILD_STATIC_JAVA_LIBRARY) 53 54## Building the whole Bordeaux service 55include $(CLEAR_VARS) 56 57LOCAL_MODULE_TAGS := optional 58 59# Only compile source java files in this apk. 60LOCAL_SRC_FILES := $(call all-java-files-under, src) 61LOCAL_SRC_FILES += \ 62 src/android/bordeaux/services/IBordeauxServiceCallback.aidl \ 63 src/android/bordeaux/services/IAggregatorManager.aidl \ 64 src/android/bordeaux/services/ILearning_MulticlassPA.aidl \ 65 src/android/bordeaux/services/IPredictor.aidl \ 66 src/android/bordeaux/services/ILearning_StochasticLinearRanker.aidl \ 67 src/android/bordeaux/services/IBordeauxService.aidl \ 68 69LOCAL_STATIC_JAVA_LIBRARIES := bordeaux_learners 70LOCAL_JNI_SHARED_LIBRARIES := libbordeaux 71 72LOCAL_JAVA_RESOURCE_DIRS := res 73LOCAL_MODULE := bordeaux_whole_service 74LOCAL_PROGUARD_ENABLED := disabled 75 76include $(BUILD_STATIC_JAVA_LIBRARY) 77 78# Use the folloing include to make our test apk. 79include $(call all-makefiles-under,$(LOCAL_PATH)) 80