tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

sources.mozbuild (1648B)


      1 # -*- Mode: python; 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 # This should contain all of the _SOURCES from files.mk, except *_machine.cpp
      8 graphite_sources = [
      9     '../geckoextra/src/GraphiteExtra.cpp',
     10     'CmapCache.cpp',
     11     'Code.cpp',
     12     'Collider.cpp',
     13     'Decompressor.cpp',
     14     'Face.cpp',
     15     'FeatureMap.cpp',
     16     # 'FileFace.cpp', # Unused file.
     17     'Font.cpp',
     18     'GlyphCache.cpp',
     19     'GlyphFace.cpp',
     20     'gr_char_info.cpp',
     21     'gr_face.cpp',
     22     'gr_features.cpp',
     23     'gr_font.cpp',
     24     # 'gr_logging.cpp', # Unused file.
     25     'gr_segment.cpp',
     26     'gr_slot.cpp',
     27     'Intervals.cpp',
     28     # 'json.cpp', # Unused file.
     29     'Justifier.cpp',
     30     'NameTable.cpp',
     31     'Pass.cpp',
     32     'Position.cpp',
     33     'Segment.cpp',
     34     'Silf.cpp',
     35     'Slot.cpp',
     36     'Sparse.cpp',
     37     'TtfUtil.cpp',
     38     'UtfCodec.cpp',
     39 ]
     40 
     41 graphite_defines = [
     42     ('PACKAGE_VERSION', '"moz"'),
     43     ('PACKAGE_BUGREPORT', '"http://bugzilla.mozilla.org/"'),
     44     # tell graphite2 not to export symbols, we'll be linking it directly with
     45     # thebes
     46     ('GRAPHITE2_STATIC', True),
     47     # provide a custom header that overrides malloc() and friends,
     48     # to ensure safe OOM handling.
     49     ('GRAPHITE2_CUSTOM_HEADER', '"MozGrMalloc.h"'),
     50 ]
     51 
     52 # disable features we don't need in the graphite2 code, to reduce code size
     53 for var in ('GRAPHITE2_NFILEFACE', 'GRAPHITE2_NTRACING', 'GRAPHITE2_NSEGCACHE'):
     54     graphite_defines.append((var, True))