Home | History | Annotate | Download | only in marisa-trie
      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 
     19 LOCAL_C_INCLUDES += $(LOCAL_PATH)/lib/marisa
     20 
     21 LOCAL_CPP_EXTENSION := .cc
     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 
     36 LOCAL_MODULE := libmarisa-trie-gnustl-rtti
     37 LOCAL_MODULE_TAGS := optional
     38 
     39 LOCAL_NDK_STL_VARIANT := gnustl_static
     40 LOCAL_SDK_VERSION := 14
     41 
     42 include $(BUILD_STATIC_LIBRARY)
     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)
     71