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.

     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/.
     7 EXPORTS += [
     8     '../include/opentype-sanitiser.h',
     9     '../include/ots-memory-stream.h',
    10 ]
    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 ]
    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 ]
    49 MSVC_ENABLE_PGO = True
    51 if CONFIG['GKMEDIAS_SHARED_LIBRARY']:
    52     NO_VISIBILITY_FLAGS = True
    54 FINAL_LIBRARY = 'gkmedias'
    56 DEFINES['PACKAGE_VERSION'] = '"moz"'
    57 DEFINES['PACKAGE_BUGREPORT'] = '"http://bugzilla.mozilla.org/"'
    58 DEFINES['NOMINMAX'] = True
    60 if CONFIG['OS_TARGET'] == 'WINNT':
    61     DEFINES['OTS_DLL'] = True
    62     DEFINES['OTS_DLL_EXPORTS'] = True

mercurial