[subset] Remove HB_SUBSET_BUILTIN
Just include hb-static.cc in libharfbuzz-subset.so source list as well. Those building it built-in will include hb-static.cc once already. No need for any gymnastics.
This commit is contained in:
parent
ba0ea56efa
commit
cc0b04f48f
|
@ -203,6 +203,7 @@ HB_ICU_headers = hb-icu.h
|
||||||
|
|
||||||
# Sources for libharfbuzz-subset
|
# Sources for libharfbuzz-subset
|
||||||
HB_SUBSET_sources = \
|
HB_SUBSET_sources = \
|
||||||
|
hb-static.cc \
|
||||||
hb-subset.cc \
|
hb-subset.cc \
|
||||||
hb-subset-glyf.cc \
|
hb-subset-glyf.cc \
|
||||||
hb-subset-input.cc \
|
hb-subset-input.cc \
|
||||||
|
|
|
@ -44,11 +44,6 @@
|
||||||
#include "hb-ot-post-table.hh"
|
#include "hb-ot-post-table.hh"
|
||||||
|
|
||||||
|
|
||||||
#if !defined(HB_SUBSET_BUILTIN)
|
|
||||||
#include "hb-static.cc"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
struct hb_subset_profile_t {
|
struct hb_subset_profile_t {
|
||||||
hb_object_header_t header;
|
hb_object_header_t header;
|
||||||
ASSERT_POD ();
|
ASSERT_POD ();
|
||||||
|
|
Loading…
Reference in New Issue