1 # 2 # Copyright 2012 Google Inc. All Rights Reserved. 3 # Author: idh (at] google.com (Ian Hodson) 4 # 5 # Android makefile for the re2 regexp library. 6 # 7 8 LOCAL_PATH := $(call my-dir) 9 include $(CLEAR_VARS) 10 11 regexp_re2_files := \ 12 util/arena.cc \ 13 util/hash.cc \ 14 util/rune.cc \ 15 util/stringpiece.cc \ 16 util/stringprintf.cc \ 17 util/strutil.cc \ 18 util/valgrind.cc \ 19 re2/bitstate.cc \ 20 re2/compile.cc \ 21 re2/dfa.cc \ 22 re2/filtered_re2.cc \ 23 re2/mimics_pcre.cc \ 24 re2/nfa.cc \ 25 re2/onepass.cc \ 26 re2/parse.cc \ 27 re2/perl_groups.cc \ 28 re2/prefilter.cc \ 29 re2/prefilter_tree.cc \ 30 re2/prog.cc \ 31 re2/re2.cc \ 32 re2/regexp.cc \ 33 re2/set.cc \ 34 re2/simplify.cc \ 35 re2/tostring.cc \ 36 re2/unicode_casefold.cc \ 37 re2/unicode_groups.cc 38 39 LOCAL_MODULE := libregex-re2 40 LOCAL_MODULE_TAGS := optional 41 LOCAL_CPP_EXTENSION := .cc 42 LOCAL_C_INCLUDES += $(LOCAL_PATH)/re2 \ 43 external/stlport 44 LOCAL_SRC_FILES := $(regexp_re2_files) 45 include external/stlport/libstlport.mk 46 include $(BUILD_STATIC_LIBRARY) 47