Wei Hua | 6b4eebc | 2012-03-09 10:24:16 -0800 | [diff] [blame] | 1 | # Copyright (C) 2011 The Android Open Source Project |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | # |
| 15 | |
| 16 | LEARNING_LOCAL_PATH:= $(call my-dir) |
| 17 | include $(call all-subdir-makefiles) |
| 18 | |
| 19 | include $(CLEAR_VARS) |
| 20 | |
| 21 | LOCAL_MODULE_TAGS := samples tests |
| 22 | |
| 23 | LOCAL_MODULE := libbordeaux |
| 24 | |
| 25 | LOCAL_WHOLE_STATIC_LIBRARIES := libmulticlass_pa libstochastic_linear |
Ying Wang | 5072d50 | 2013-04-09 21:55:18 -0700 | [diff] [blame^] | 26 | LOCAL_SHARED_LIBRARIES := libstlport libcutils liblog |
Wei Hua | 6b4eebc | 2012-03-09 10:24:16 -0800 | [diff] [blame] | 27 | |
| 28 | LOCAL_PRELINK_MODULE := false |
| 29 | |
| 30 | LOCAL_CFLAGS := -DANDROID |
| 31 | |
| 32 | LOCAL_C_INCLUDES += $(LOCAL_PATH)/../native |
| 33 | |
| 34 | include external/stlport/libstlport.mk |
| 35 | |
| 36 | include $(BUILD_SHARED_LIBRARY) |
| 37 | |
| 38 | ## |
| 39 | # Build java lib |
| 40 | ## |
| 41 | LOCAL_PATH:= $(LEARNING_LOCAL_PATH) |
| 42 | include $(CLEAR_VARS) |
| 43 | |
| 44 | LOCAL_MODULE_TAGS := samples tests |
| 45 | |
saberian | 984e52f | 2012-06-05 18:23:53 -0700 | [diff] [blame] | 46 | LOCAL_SRC_FILES := $(call all-java-files-under, multiclass_pa stochastic_linear_ranker ) \ |
| 47 | $(call all-java-files-under, predictor_histogram) |
Wei Hua | 6b4eebc | 2012-03-09 10:24:16 -0800 | [diff] [blame] | 48 | |
| 49 | LOCAL_MODULE := bordeaux_learners |
| 50 | |
| 51 | LOCAL_PROGUARD_ENABLED := disabled |
| 52 | |
| 53 | LOCAL_JNI_SHARED_LIBRARIES := libbordeaux |
| 54 | |
| 55 | include $(BUILD_STATIC_JAVA_LIBRARY) |