michael@0: # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- michael@0: # vim: set filetype=python: michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: EXPORTS.harfbuzz += [ michael@0: 'hb-blob.h', michael@0: 'hb-buffer.h', michael@0: 'hb-common.h', michael@0: 'hb-deprecated.h', michael@0: 'hb-face.h', michael@0: 'hb-font.h', michael@0: 'hb-ot-layout.h', michael@0: 'hb-ot-shape.h', michael@0: 'hb-ot-tag.h', michael@0: 'hb-ot.h', michael@0: 'hb-set.h', michael@0: 'hb-shape-plan.h', michael@0: 'hb-shape.h', michael@0: 'hb-unicode.h', michael@0: 'hb-version.h', michael@0: 'hb.h', michael@0: ] michael@0: michael@0: SOURCES += [ michael@0: 'hb-blob.cc', # error: use of undeclared identifier 'snprintf' (FreeBSD) michael@0: 'hb-common.cc', # error: use of undeclared identifier 'strdup' michael@0: 'hb-ot-shape-complex-hangul.cc', # error: redefinition of enumerator 'NONE' michael@0: 'hb-ot-shape-complex-indic.cc', # error: redefinition of enumerator 'INIT' michael@0: 'hb-ot-shape-complex-sea.cc', # error: redefinition of 'basic_features' michael@0: 'hb-ot-shape.cc', # error: functions that differ only in their return type cannot be overloaded michael@0: 'hb-shape-plan.cc', # error: redefinition of 'hb_ot_shaper_face_data_ensure' michael@0: ] michael@0: michael@0: UNIFIED_SOURCES += [ michael@0: 'hb-buffer.cc', michael@0: 'hb-face.cc', michael@0: 'hb-fallback-shape.cc', michael@0: 'hb-font.cc', michael@0: 'hb-ot-layout.cc', michael@0: 'hb-ot-map.cc', michael@0: 'hb-ot-shape-complex-arabic.cc', michael@0: 'hb-ot-shape-complex-default.cc', michael@0: 'hb-ot-shape-complex-hebrew.cc', michael@0: 'hb-ot-shape-complex-indic-table.cc', michael@0: 'hb-ot-shape-complex-myanmar.cc', michael@0: 'hb-ot-shape-complex-thai.cc', michael@0: 'hb-ot-shape-complex-tibetan.cc', michael@0: 'hb-ot-shape-fallback.cc', michael@0: 'hb-ot-shape-normalize.cc', michael@0: 'hb-ot-tag.cc', michael@0: 'hb-set.cc', michael@0: 'hb-shape.cc', michael@0: 'hb-shaper.cc', michael@0: 'hb-unicode.cc', michael@0: 'hb-warning.cc', michael@0: ] michael@0: michael@0: MSVC_ENABLE_PGO = True michael@0: michael@0: FINAL_LIBRARY = 'gkmedias' michael@0: michael@0: DEFINES['PACKAGE_VERSION'] = '"moz"' michael@0: DEFINES['PACKAGE_BUGREPORT'] = '"http://bugzilla.mozilla.org/"' michael@0: DEFINES['HAVE_OT'] = 1 michael@0: DEFINES['HB_NO_MT'] = True michael@0: DEFINES['HB_NO_UNICODE_FUNCS'] = True