gfx/harfbuzz/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.harfbuzz += [
     8     'hb-blob.h',
     9     'hb-buffer.h',
    10     'hb-common.h',
    11     'hb-deprecated.h',
    12     'hb-face.h',
    13     'hb-font.h',
    14     'hb-ot-layout.h',
    15     'hb-ot-shape.h',
    16     'hb-ot-tag.h',
    17     'hb-ot.h',
    18     'hb-set.h',
    19     'hb-shape-plan.h',
    20     'hb-shape.h',
    21     'hb-unicode.h',
    22     'hb-version.h',
    23     'hb.h',
    24 ]
    26 SOURCES += [
    27     'hb-blob.cc', # error: use of undeclared identifier 'snprintf' (FreeBSD)
    28     'hb-common.cc', # error: use of undeclared identifier 'strdup'
    29     'hb-ot-shape-complex-hangul.cc', # error: redefinition of enumerator 'NONE'
    30     'hb-ot-shape-complex-indic.cc', # error: redefinition of enumerator 'INIT'
    31     'hb-ot-shape-complex-sea.cc', # error: redefinition of 'basic_features'
    32     'hb-ot-shape.cc', # error: functions that differ only in their return type cannot be overloaded
    33     'hb-shape-plan.cc', # error: redefinition of 'hb_ot_shaper_face_data_ensure'
    34 ]
    36 UNIFIED_SOURCES += [
    37     'hb-buffer.cc',
    38     'hb-face.cc',
    39     'hb-fallback-shape.cc',
    40     'hb-font.cc',
    41     'hb-ot-layout.cc',
    42     'hb-ot-map.cc',
    43     'hb-ot-shape-complex-arabic.cc',
    44     'hb-ot-shape-complex-default.cc',
    45     'hb-ot-shape-complex-hebrew.cc',
    46     'hb-ot-shape-complex-indic-table.cc',
    47     'hb-ot-shape-complex-myanmar.cc',
    48     'hb-ot-shape-complex-thai.cc',
    49     'hb-ot-shape-complex-tibetan.cc',
    50     'hb-ot-shape-fallback.cc',
    51     'hb-ot-shape-normalize.cc',
    52     'hb-ot-tag.cc',
    53     'hb-set.cc',
    54     'hb-shape.cc',
    55     'hb-shaper.cc',
    56     'hb-unicode.cc',
    57     'hb-warning.cc',
    58 ]
    60 MSVC_ENABLE_PGO = True
    62 FINAL_LIBRARY = 'gkmedias'
    64 DEFINES['PACKAGE_VERSION'] = '"moz"'
    65 DEFINES['PACKAGE_BUGREPORT'] = '"http://bugzilla.mozilla.org/"'
    66 DEFINES['HAVE_OT'] = 1
    67 DEFINES['HB_NO_MT'] = True
    68 DEFINES['HB_NO_UNICODE_FUNCS'] = True

mercurial