Narayan Kamath | 0172f3c | 2012-09-14 16:05:45 +0100 | [diff] [blame] | 1 | # Copyright (C) 2008 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 | LOCAL_PATH := $(call my-dir) |
| 16 | |
| 17 | include $(CLEAR_VARS) |
| 18 | |
Przemyslaw Szczepaniak | efeb342 | 2012-11-06 14:45:48 +0000 | [diff] [blame] | 19 | LOCAL_C_INCLUDES += $(LOCAL_PATH)/lib/marisa |
Narayan Kamath | 0172f3c | 2012-09-14 16:05:45 +0100 | [diff] [blame] | 20 | |
Alexander Gutkin | 132a22e | 2012-10-17 15:20:00 +0100 | [diff] [blame] | 21 | LOCAL_CPP_EXTENSION := .cc |
Narayan Kamath | 0172f3c | 2012-09-14 16:05:45 +0100 | [diff] [blame] | 22 | |
| 23 | LOCAL_SRC_FILES := lib/marisa/base.cc \ |
| 24 | lib/marisa/intvector.cc \ |
| 25 | lib/marisa/progress.cc \ |
| 26 | lib/marisa/tail.cc \ |
| 27 | lib/marisa/trie.cc \ |
| 28 | lib/marisa/trie-search.cc \ |
| 29 | lib/marisa/bitvector.cc \ |
| 30 | lib/marisa/mapper.cc \ |
| 31 | lib/marisa/reader.cc \ |
| 32 | lib/marisa/trie-build.cc \ |
| 33 | lib/marisa/trie-c.cc \ |
| 34 | lib/marisa/writer.cc |
| 35 | |
Przemyslaw Szczepaniak | efeb342 | 2012-11-06 14:45:48 +0000 | [diff] [blame] | 36 | LOCAL_MODULE := libmarisa-trie-gnustl-rtti |
Alexander Gutkin | 132a22e | 2012-10-17 15:20:00 +0100 | [diff] [blame] | 37 | LOCAL_MODULE_TAGS := optional |
Narayan Kamath | 0172f3c | 2012-09-14 16:05:45 +0100 | [diff] [blame] | 38 | |
Przemyslaw Szczepaniak | efeb342 | 2012-11-06 14:45:48 +0000 | [diff] [blame] | 39 | LOCAL_NDK_STL_VARIANT := gnustl_static |
| 40 | LOCAL_SDK_VERSION := 14 |
| 41 | |
Narayan Kamath | 0172f3c | 2012-09-14 16:05:45 +0100 | [diff] [blame] | 42 | include $(BUILD_STATIC_LIBRARY) |
Przemyslaw Szczepaniak | b4acd09 | 2013-01-03 10:53:06 +0000 | [diff] [blame] | 43 | |
| 44 | include $(CLEAR_VARS) |
| 45 | |
| 46 | LOCAL_C_INCLUDES += $(LOCAL_PATH)/v0_1_5/lib/marisa_alpha |
| 47 | |
| 48 | LOCAL_CPP_EXTENSION := .cc |
| 49 | |
| 50 | LOCAL_SRC_FILES := v0_1_5/lib/marisa_alpha/base.cc \ |
| 51 | v0_1_5/lib/marisa_alpha/bitvector.cc \ |
| 52 | v0_1_5/lib/marisa_alpha/intvector.cc \ |
| 53 | v0_1_5/lib/marisa_alpha/mapper.cc \ |
| 54 | v0_1_5/lib/marisa_alpha/progress.cc \ |
| 55 | v0_1_5/lib/marisa_alpha/reader.cc \ |
| 56 | v0_1_5/lib/marisa_alpha/tail.cc \ |
| 57 | v0_1_5/lib/marisa_alpha/trie-build.cc \ |
| 58 | v0_1_5/lib/marisa_alpha/trie.cc \ |
| 59 | v0_1_5/lib/marisa_alpha/trie-c.cc \ |
| 60 | v0_1_5/lib/marisa_alpha/trie-search.cc \ |
| 61 | v0_1_5/lib/marisa_alpha/writer.cc |
| 62 | |
| 63 | LOCAL_MODULE := libmarisa_alpha-trie-gnustl-rtti |
| 64 | LOCAL_MODULE_TAGS := optional |
| 65 | |
| 66 | LOCAL_CFLAGS := -frtti -fexceptions |
| 67 | LOCAL_NDK_STL_VARIANT := gnustl_static |
| 68 | LOCAL_SDK_VERSION := 14 |
| 69 | |
| 70 | include $(BUILD_STATIC_LIBRARY) |