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 15LOCAL_PATH := $(call my-dir) 16 17include $(CLEAR_VARS) 18 19LOCAL_C_INCLUDES += $(LOCAL_PATH)/lib/marisa 20 21LOCAL_CPP_EXTENSION := .cc 22 23LOCAL_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 36LOCAL_MODULE := libmarisa-trie-gnustl-rtti 37LOCAL_MODULE_TAGS := optional 38 39LOCAL_NDK_STL_VARIANT := gnustl_static 40LOCAL_SDK_VERSION := 14 41 42include $(BUILD_STATIC_LIBRARY) 43 44include $(CLEAR_VARS) 45 46LOCAL_C_INCLUDES += $(LOCAL_PATH)/v0_1_5/lib/marisa_alpha 47 48LOCAL_CPP_EXTENSION := .cc 49 50LOCAL_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 63LOCAL_MODULE := libmarisa_alpha-trie-gnustl-rtti 64LOCAL_MODULE_TAGS := optional 65 66LOCAL_CFLAGS := -frtti -fexceptions 67LOCAL_NDK_STL_VARIANT := gnustl_static 68LOCAL_SDK_VERSION := 14 69 70include $(BUILD_STATIC_LIBRARY) 71