1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gfx/harfbuzz/src/moz.build Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,68 @@ 1.4 +# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- 1.5 +# vim: set filetype=python: 1.6 +# This Source Code Form is subject to the terms of the Mozilla Public 1.7 +# License, v. 2.0. If a copy of the MPL was not distributed with this 1.8 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.9 + 1.10 +EXPORTS.harfbuzz += [ 1.11 + 'hb-blob.h', 1.12 + 'hb-buffer.h', 1.13 + 'hb-common.h', 1.14 + 'hb-deprecated.h', 1.15 + 'hb-face.h', 1.16 + 'hb-font.h', 1.17 + 'hb-ot-layout.h', 1.18 + 'hb-ot-shape.h', 1.19 + 'hb-ot-tag.h', 1.20 + 'hb-ot.h', 1.21 + 'hb-set.h', 1.22 + 'hb-shape-plan.h', 1.23 + 'hb-shape.h', 1.24 + 'hb-unicode.h', 1.25 + 'hb-version.h', 1.26 + 'hb.h', 1.27 +] 1.28 + 1.29 +SOURCES += [ 1.30 + 'hb-blob.cc', # error: use of undeclared identifier 'snprintf' (FreeBSD) 1.31 + 'hb-common.cc', # error: use of undeclared identifier 'strdup' 1.32 + 'hb-ot-shape-complex-hangul.cc', # error: redefinition of enumerator 'NONE' 1.33 + 'hb-ot-shape-complex-indic.cc', # error: redefinition of enumerator 'INIT' 1.34 + 'hb-ot-shape-complex-sea.cc', # error: redefinition of 'basic_features' 1.35 + 'hb-ot-shape.cc', # error: functions that differ only in their return type cannot be overloaded 1.36 + 'hb-shape-plan.cc', # error: redefinition of 'hb_ot_shaper_face_data_ensure' 1.37 +] 1.38 + 1.39 +UNIFIED_SOURCES += [ 1.40 + 'hb-buffer.cc', 1.41 + 'hb-face.cc', 1.42 + 'hb-fallback-shape.cc', 1.43 + 'hb-font.cc', 1.44 + 'hb-ot-layout.cc', 1.45 + 'hb-ot-map.cc', 1.46 + 'hb-ot-shape-complex-arabic.cc', 1.47 + 'hb-ot-shape-complex-default.cc', 1.48 + 'hb-ot-shape-complex-hebrew.cc', 1.49 + 'hb-ot-shape-complex-indic-table.cc', 1.50 + 'hb-ot-shape-complex-myanmar.cc', 1.51 + 'hb-ot-shape-complex-thai.cc', 1.52 + 'hb-ot-shape-complex-tibetan.cc', 1.53 + 'hb-ot-shape-fallback.cc', 1.54 + 'hb-ot-shape-normalize.cc', 1.55 + 'hb-ot-tag.cc', 1.56 + 'hb-set.cc', 1.57 + 'hb-shape.cc', 1.58 + 'hb-shaper.cc', 1.59 + 'hb-unicode.cc', 1.60 + 'hb-warning.cc', 1.61 +] 1.62 + 1.63 +MSVC_ENABLE_PGO = True 1.64 + 1.65 +FINAL_LIBRARY = 'gkmedias' 1.66 + 1.67 +DEFINES['PACKAGE_VERSION'] = '"moz"' 1.68 +DEFINES['PACKAGE_BUGREPORT'] = '"http://bugzilla.mozilla.org/"' 1.69 +DEFINES['HAVE_OT'] = 1 1.70 +DEFINES['HB_NO_MT'] = True 1.71 +DEFINES['HB_NO_UNICODE_FUNCS'] = True