1 LOCAL_PATH:= $(call my-dir) 2 include $(CLEAR_VARS) 3 4 LOCAL_MODULE_TAGS := samples tests 5 6 # Only compile source java files in this apk. 7 LOCAL_SRC_FILES := $(call all-java-files-under, src) 8 LOCAL_SRC_FILES += \ 9 src/android/bordeaux/services/IBordeauxServiceCallback.aidl \ 10 src/android/bordeaux/services/ILearning_MulticlassPA.aidl \ 11 src/android/bordeaux/services/ILearning_StochasticLinearRanker.aidl \ 12 src/android/bordeaux/services/IBordeauxService.aidl 13 14 LOCAL_STATIC_JAVA_LIBRARIES := bordeaux_learners 15 16 LOCAL_PACKAGE_NAME := bordeaux 17 18 LOCAL_SDK_VERSION := current 19 20 include $(BUILD_PACKAGE) 21 22 ## 23 # Build java lib 24 ## 25 include $(CLEAR_VARS) 26 27 LOCAL_MODULE_TAGS := optional 28 29 LOCAL_SRC_FILES += \ 30 src/android/bordeaux/services/IntFloat.java \ 31 src/android/bordeaux/services/StringFloat.java \ 32 src/android/bordeaux/services/BordeauxClassifier.java \ 33 src/android/bordeaux/services/BordeauxRanker.java \ 34 src/android/bordeaux/services/BordeauxManagerService.java \ 35 src/android/bordeaux/services/IBordeauxLearner.java \ 36 src/android/bordeaux/services/Learning_StochasticLinearRanker.java \ 37 src/android/bordeaux/services/StochasticLinearRankerWithPrior.java \ 38 src/android/bordeaux/services/IBordeauxServiceCallback.aidl \ 39 src/android/bordeaux/services/ILearning_MulticlassPA.aidl \ 40 src/android/bordeaux/services/ILearning_StochasticLinearRanker.aidl \ 41 src/android/bordeaux/services/IBordeauxService.aidl \ 42 43 LOCAL_MODULE := bordeaux_service 44 LOCAL_STATIC_JAVA_LIBRARIES := bordeaux_learners 45 46 LOCAL_PROGUARD_ENABLED := disabled 47 48 include $(BUILD_STATIC_JAVA_LIBRARY) 49 50 # Use the folloing include to make our test apk. 51 include $(call all-makefiles-under,$(LOCAL_PATH)) 52