gfx/ots/src/moz.build

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
michael@0 2 # vim: set filetype=python:
michael@0 3 # This Source Code Form is subject to the terms of the Mozilla Public
michael@0 4 # License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
michael@0 6
michael@0 7 EXPORTS += [
michael@0 8 '../include/opentype-sanitiser.h',
michael@0 9 '../include/ots-memory-stream.h',
michael@0 10 ]
michael@0 11
michael@0 12 SOURCES += [
michael@0 13 # don't unify sources that use a (file-specific) DROP_THIS_TABLE macro
michael@0 14 'gasp.cc',
michael@0 15 'gdef.cc',
michael@0 16 'gpos.cc',
michael@0 17 'gsub.cc',
michael@0 18 'hdmx.cc',
michael@0 19 'kern.cc',
michael@0 20 'ltsh.cc',
michael@0 21 'math.cc',
michael@0 22 'vdmx.cc',
michael@0 23 'vorg.cc',
michael@0 24 ]
michael@0 25
michael@0 26 UNIFIED_SOURCES += [
michael@0 27 'cff.cc',
michael@0 28 'cff_type2_charstring.cc',
michael@0 29 'cmap.cc',
michael@0 30 'cvt.cc',
michael@0 31 'fpgm.cc',
michael@0 32 'glyf.cc',
michael@0 33 'head.cc',
michael@0 34 'hhea.cc',
michael@0 35 'hmtx.cc',
michael@0 36 'layout.cc',
michael@0 37 'loca.cc',
michael@0 38 'maxp.cc',
michael@0 39 'metrics.cc',
michael@0 40 'name.cc',
michael@0 41 'os2.cc',
michael@0 42 'ots.cc',
michael@0 43 'post.cc',
michael@0 44 'prep.cc',
michael@0 45 'vhea.cc',
michael@0 46 'vmtx.cc',
michael@0 47 ]
michael@0 48
michael@0 49 MSVC_ENABLE_PGO = True
michael@0 50
michael@0 51 if CONFIG['GKMEDIAS_SHARED_LIBRARY']:
michael@0 52 NO_VISIBILITY_FLAGS = True
michael@0 53
michael@0 54 FINAL_LIBRARY = 'gkmedias'
michael@0 55
michael@0 56 DEFINES['PACKAGE_VERSION'] = '"moz"'
michael@0 57 DEFINES['PACKAGE_BUGREPORT'] = '"http://bugzilla.mozilla.org/"'
michael@0 58 DEFINES['NOMINMAX'] = True
michael@0 59
michael@0 60 if CONFIG['OS_TARGET'] == 'WINNT':
michael@0 61 DEFINES['OTS_DLL'] = True
michael@0 62 DEFINES['OTS_DLL_EXPORTS'] = True

mercurial