@@ -3,73 +3,22 @@ include $(CLEAR_VARS)
33
44cmd-strip = $(PRIVATE_STRIP ) --strip-all $(call host-path,$1)
55
6- src_root = ../../../../externals/skia/third_party/externals/harfbuzz/src
6+ src_root = $(abspath ../../../externals/skia/third_party/externals/harfbuzz/src)
7+ ext_root = $(abspath ../../../externals/skia/third_party/harfbuzz)
78
89LOCAL_MODULE := HarfBuzzSharp
910
10- LOCAL_C_INCLUDES := . $(src_root )
11+ LOCAL_C_INCLUDES := . $(src_root ) $( ext_root )
1112
1213LOCAL_LDFLAGS := -s -Wl,--gc-sections
1314
14- LOCAL_CFLAGS := -DHAVE_CONFIG_H -DNDEBUG \
15+ LOCAL_CFLAGS := -DNDEBUG \
16+ -DHAVE_CONFIG_OVERRIDE_H -DHAVE_OT -DHB_NO_FALLBACK_SHAPE \
1517 -fno-rtti -fno-exceptions -fno-threadsafe-statics -fPIC \
1618 -g -Os -ffunction-sections -fdata-sections
1719
1820LOCAL_CPPFLAGS := -std=c++11
1921
20- LOCAL_SRC_FILES := $(src_root ) /hb-aat-layout.cc \
21- $(src_root ) /hb-aat-map.cc \
22- $(src_root ) /hb-blob.cc \
23- $(src_root ) /hb-buffer-serialize.cc \
24- $(src_root ) /hb-buffer.cc \
25- $(src_root ) /hb-common.cc \
26- $(src_root ) /hb-draw.cc \
27- $(src_root ) /hb-face.cc \
28- $(src_root ) /hb-fallback-shape.cc \
29- $(src_root ) /hb-font.cc \
30- $(src_root ) /hb-map.cc \
31- $(src_root ) /hb-number.cc \
32- $(src_root ) /hb-ot-cff1-table.cc \
33- $(src_root ) /hb-ot-cff2-table.cc \
34- $(src_root ) /hb-ot-color.cc \
35- $(src_root ) /hb-ot-face.cc \
36- $(src_root ) /hb-ot-font.cc \
37- $(src_root ) /hb-ot-layout.cc \
38- $(src_root ) /hb-ot-map.cc \
39- $(src_root ) /hb-ot-math.cc \
40- $(src_root ) /hb-ot-meta.cc \
41- $(src_root ) /hb-ot-metrics.cc \
42- $(src_root ) /hb-ot-name.cc \
43- $(src_root ) /hb-ot-shape-complex-arabic.cc \
44- $(src_root ) /hb-ot-shape-complex-default.cc \
45- $(src_root ) /hb-ot-shape-complex-hangul.cc \
46- $(src_root ) /hb-ot-shape-complex-hebrew.cc \
47- $(src_root ) /hb-ot-shape-complex-indic-table.cc \
48- $(src_root ) /hb-ot-shape-complex-indic.cc \
49- $(src_root ) /hb-ot-shape-complex-khmer.cc \
50- $(src_root ) /hb-ot-shape-complex-myanmar.cc \
51- $(src_root ) /hb-ot-shape-complex-syllabic.cc \
52- $(src_root ) /hb-ot-shape-complex-thai.cc \
53- $(src_root ) /hb-ot-shape-complex-use.cc \
54- $(src_root ) /hb-ot-shape-complex-vowel-constraints.cc \
55- $(src_root ) /hb-ot-shape-fallback.cc \
56- $(src_root ) /hb-ot-shape-normalize.cc \
57- $(src_root ) /hb-ot-shape.cc \
58- $(src_root ) /hb-ot-tag.cc \
59- $(src_root ) /hb-ot-var.cc \
60- $(src_root ) /hb-set.cc \
61- $(src_root ) /hb-shape-plan.cc \
62- $(src_root ) /hb-shape.cc \
63- $(src_root ) /hb-shaper.cc \
64- $(src_root ) /hb-static.cc \
65- $(src_root ) /hb-style.cc \
66- $(src_root ) /hb-subset-cff-common.cc \
67- $(src_root ) /hb-subset-cff1.cc \
68- $(src_root ) /hb-subset-cff2.cc \
69- $(src_root ) /hb-subset-input.cc \
70- $(src_root ) /hb-subset-plan.cc \
71- $(src_root ) /hb-subset.cc \
72- $(src_root ) /hb-ucd.cc \
73- $(src_root ) /hb-unicode.cc
22+ LOCAL_SRC_FILES := $(src_root ) /harfbuzz-subset.cc
7423
7524include $(BUILD_SHARED_LIBRARY )
0 commit comments