blob: 3ada5f2e88428a2dd59670eecd336e880247580b [file] [log] [blame]
Behdad Esfahbod94afeb62012-12-21 11:54:50 -05001##
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
17LOCAL_PATH:= $(call my-dir)
18
19#############################################################
20# build the harfbuzz library
21#
22
23include $(CLEAR_VARS)
24
25LOCAL_ARM_MODE := arm
26
27LOCAL_MODULE_TAGS := optional
28
29LOCAL_SRC_FILES:= \
30 src/hb-blob.cc \
Behdad Esfahbodd3e14aa2013-02-27 11:06:36 -050031 src/hb-buffer-serialize.cc \
Behdad Esfahbod94afeb62012-12-21 11:54:50 -050032 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 \
Behdad Esfahbod1edc6b92013-02-26 15:01:45 -050050 src/hb-ot-shape-complex-indic-table.cc \
51 src/hb-ot-shape-complex-myanmar.cc \
52 src/hb-ot-shape-complex-sea.cc \
Behdad Esfahbod94afeb62012-12-21 11:54:50 -050053 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
58LOCAL_CPP_EXTENSION := .cc
59
60LOCAL_SHARED_LIBRARIES := \
61 libcutils \
62 libicuuc \
63 libicui18n \
64 libutils
65
66LOCAL_C_INCLUDES += \
67 $(LOCAL_PATH)/src \
68 external/icu4c/common
69
70LOCAL_CFLAGS += -DHB_NO_MT -DHAVE_OT -DHAVE_ICU
71
72LOCAL_LDLIBS += -lpthread
73
74LOCAL_MODULE:= libharfbuzz_ng
75
76include $(BUILD_SHARED_LIBRARY)
77
78