blob: e2e3bae5f46ae893d5fb4e22d8aec62e34cca485 [file] [log] [blame]
Wei Hua6b4eebc2012-03-09 10:24:16 -08001# 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
16LEARNING_LOCAL_PATH:= $(call my-dir)
17include $(call all-subdir-makefiles)
18
19include $(CLEAR_VARS)
20
21LOCAL_MODULE_TAGS := samples tests
22
23LOCAL_MODULE := libbordeaux
24
25LOCAL_WHOLE_STATIC_LIBRARIES := libmulticlass_pa libstochastic_linear
Dan Albertcfe8f652014-09-11 18:59:57 -070026LOCAL_SHARED_LIBRARIES := libcutils liblog
Wei Hua6b4eebc2012-03-09 10:24:16 -080027
28LOCAL_PRELINK_MODULE := false
29
Wei Hua6b4eebc2012-03-09 10:24:16 -080030LOCAL_C_INCLUDES += $(LOCAL_PATH)/../native
31
Wei Hua6b4eebc2012-03-09 10:24:16 -080032include $(BUILD_SHARED_LIBRARY)
33
34##
35# Build java lib
36##
37LOCAL_PATH:= $(LEARNING_LOCAL_PATH)
38include $(CLEAR_VARS)
39
40LOCAL_MODULE_TAGS := samples tests
41
saberian984e52f2012-06-05 18:23:53 -070042LOCAL_SRC_FILES := $(call all-java-files-under, multiclass_pa stochastic_linear_ranker ) \
43 $(call all-java-files-under, predictor_histogram)
Wei Hua6b4eebc2012-03-09 10:24:16 -080044
45LOCAL_MODULE := bordeaux_learners
46
47LOCAL_PROGUARD_ENABLED := disabled
48
49LOCAL_JNI_SHARED_LIBRARIES := libbordeaux
50
51include $(BUILD_STATIC_JAVA_LIBRARY)