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 += [ michael@0: '../include/opentype-sanitiser.h', michael@0: '../include/ots-memory-stream.h', michael@0: ] michael@0: michael@0: SOURCES += [ michael@0: # don't unify sources that use a (file-specific) DROP_THIS_TABLE macro michael@0: 'gasp.cc', michael@0: 'gdef.cc', michael@0: 'gpos.cc', michael@0: 'gsub.cc', michael@0: 'hdmx.cc', michael@0: 'kern.cc', michael@0: 'ltsh.cc', michael@0: 'math.cc', michael@0: 'vdmx.cc', michael@0: 'vorg.cc', michael@0: ] michael@0: michael@0: UNIFIED_SOURCES += [ michael@0: 'cff.cc', michael@0: 'cff_type2_charstring.cc', michael@0: 'cmap.cc', michael@0: 'cvt.cc', michael@0: 'fpgm.cc', michael@0: 'glyf.cc', michael@0: 'head.cc', michael@0: 'hhea.cc', michael@0: 'hmtx.cc', michael@0: 'layout.cc', michael@0: 'loca.cc', michael@0: 'maxp.cc', michael@0: 'metrics.cc', michael@0: 'name.cc', michael@0: 'os2.cc', michael@0: 'ots.cc', michael@0: 'post.cc', michael@0: 'prep.cc', michael@0: 'vhea.cc', michael@0: 'vmtx.cc', michael@0: ] michael@0: michael@0: MSVC_ENABLE_PGO = True michael@0: michael@0: if CONFIG['GKMEDIAS_SHARED_LIBRARY']: michael@0: NO_VISIBILITY_FLAGS = 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['NOMINMAX'] = True michael@0: michael@0: if CONFIG['OS_TARGET'] == 'WINNT': michael@0: DEFINES['OTS_DLL'] = True michael@0: DEFINES['OTS_DLL_EXPORTS'] = True