gfx/ots/src/moz.build

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

mercurial