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