1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gfx/ots/src/moz.build Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,62 @@ 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 += [ 1.11 + '../include/opentype-sanitiser.h', 1.12 + '../include/ots-memory-stream.h', 1.13 +] 1.14 + 1.15 +SOURCES += [ 1.16 + # don't unify sources that use a (file-specific) DROP_THIS_TABLE macro 1.17 + 'gasp.cc', 1.18 + 'gdef.cc', 1.19 + 'gpos.cc', 1.20 + 'gsub.cc', 1.21 + 'hdmx.cc', 1.22 + 'kern.cc', 1.23 + 'ltsh.cc', 1.24 + 'math.cc', 1.25 + 'vdmx.cc', 1.26 + 'vorg.cc', 1.27 +] 1.28 + 1.29 +UNIFIED_SOURCES += [ 1.30 + 'cff.cc', 1.31 + 'cff_type2_charstring.cc', 1.32 + 'cmap.cc', 1.33 + 'cvt.cc', 1.34 + 'fpgm.cc', 1.35 + 'glyf.cc', 1.36 + 'head.cc', 1.37 + 'hhea.cc', 1.38 + 'hmtx.cc', 1.39 + 'layout.cc', 1.40 + 'loca.cc', 1.41 + 'maxp.cc', 1.42 + 'metrics.cc', 1.43 + 'name.cc', 1.44 + 'os2.cc', 1.45 + 'ots.cc', 1.46 + 'post.cc', 1.47 + 'prep.cc', 1.48 + 'vhea.cc', 1.49 + 'vmtx.cc', 1.50 +] 1.51 + 1.52 +MSVC_ENABLE_PGO = True 1.53 + 1.54 +if CONFIG['GKMEDIAS_SHARED_LIBRARY']: 1.55 + NO_VISIBILITY_FLAGS = True 1.56 + 1.57 +FINAL_LIBRARY = 'gkmedias' 1.58 + 1.59 +DEFINES['PACKAGE_VERSION'] = '"moz"' 1.60 +DEFINES['PACKAGE_BUGREPORT'] = '"http://bugzilla.mozilla.org/"' 1.61 +DEFINES['NOMINMAX'] = True 1.62 + 1.63 +if CONFIG['OS_TARGET'] == 'WINNT': 1.64 + DEFINES['OTS_DLL'] = True 1.65 + DEFINES['OTS_DLL_EXPORTS'] = True