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