1 ## 2 ## Copyright (C) 2012 The Android Open Source Project 3 ## 4 ## Licensed under the Apache License, Version 2.0 (the "License"); 5 ## you may not use this file except in compliance with the License. 6 ## You may obtain a copy of the License at 7 ## 8 ## http://www.apache.org/licenses/LICENSE-2.0 9 ## 10 ## Unless required by applicable law or agreed to in writing, software 11 ## distributed under the License is distributed on an "AS IS" BASIS, 12 ## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 ## See the License for the specific language governing permissions and 14 ## limitations under the License. 15 ## 16 17 LOCAL_PATH:= $(call my-dir) 18 19 ############################################################# 20 # build the harfbuzz library 21 # 22 23 include $(CLEAR_VARS) 24 25 LOCAL_ARM_MODE := arm 26 27 LOCAL_MODULE_TAGS := optional 28 29 LOCAL_SRC_FILES:= \ 30 src/hb-blob.cc \ 31 src/hb-buffer-serialize.cc \ 32 src/hb-buffer.cc \ 33 src/hb-common.cc \ 34 src/hb-fallback-shape.cc \ 35 src/hb-font.cc \ 36 src/hb-ot-tag.cc \ 37 src/hb-set.cc \ 38 src/hb-shape.cc \ 39 src/hb-shape-plan.cc \ 40 src/hb-shaper.cc \ 41 src/hb-tt-font.cc \ 42 src/hb-unicode.cc \ 43 src/hb-warning.cc \ 44 src/hb-ot-layout.cc \ 45 src/hb-ot-map.cc \ 46 src/hb-ot-shape.cc \ 47 src/hb-ot-shape-complex-arabic.cc \ 48 src/hb-ot-shape-complex-default.cc \ 49 src/hb-ot-shape-complex-indic.cc \ 50 src/hb-ot-shape-complex-indic-table.cc \ 51 src/hb-ot-shape-complex-myanmar.cc \ 52 src/hb-ot-shape-complex-sea.cc \ 53 src/hb-ot-shape-complex-thai.cc \ 54 src/hb-ot-shape-normalize.cc \ 55 src/hb-ot-shape-fallback.cc \ 56 src/hb-icu.cc 57 58 LOCAL_CPP_EXTENSION := .cc 59 60 LOCAL_SHARED_LIBRARIES := \ 61 libcutils \ 62 libicuuc \ 63 libicui18n \ 64 libutils \ 65 liblog 66 67 LOCAL_C_INCLUDES += \ 68 $(LOCAL_PATH)/src \ 69 external/icu4c/common 70 71 LOCAL_CFLAGS += -DHB_NO_MT -DHAVE_OT -DHAVE_ICU 72 73 LOCAL_LDLIBS += -lpthread 74 75 LOCAL_MODULE:= libharfbuzz_ng 76 77 include $(BUILD_SHARED_LIBRARY) 78