layout/svg/moz.build

Tue, 06 Jan 2015 21:39:09 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 06 Jan 2015 21:39:09 +0100
branch
TOR_BUG_9701
changeset 8
97036ab72558
permissions
-rw-r--r--

Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

     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     'nsFilterInstance.h',
     9     'nsSVGEffects.h',
    10     'nsSVGFilterInstance.h',
    11     'nsSVGForeignObjectFrame.h',
    12     'nsSVGIntegrationUtils.h',
    13     'nsSVGUtils.h',
    14     'SVGImageContext.h',
    15 ]
    17 UNIFIED_SOURCES += [
    18     'nsFilterInstance.cpp',
    19     'nsSVGAFrame.cpp',
    20     'nsSVGClipPathFrame.cpp',
    21     'nsSVGContainerFrame.cpp',
    22     'nsSVGEffects.cpp',
    23     'nsSVGFilterFrame.cpp',
    24     'nsSVGFilterInstance.cpp',
    25     'nsSVGForeignObjectFrame.cpp',
    26     'nsSVGGenericContainerFrame.cpp',
    27     'nsSVGGFrame.cpp',
    28     'nsSVGGradientFrame.cpp',
    29     'nsSVGImageFrame.cpp',
    30     'nsSVGInnerSVGFrame.cpp',
    31     'nsSVGIntegrationUtils.cpp',
    32     'nsSVGMarkerFrame.cpp',
    33     'nsSVGMaskFrame.cpp',
    34     'nsSVGOuterSVGFrame.cpp',
    35     'nsSVGPaintServerFrame.cpp',
    36     'nsSVGPathGeometryFrame.cpp',
    37     'nsSVGPatternFrame.cpp',
    38     'nsSVGStopFrame.cpp',
    39     'nsSVGSwitchFrame.cpp',
    40     'nsSVGUseFrame.cpp',
    41     'nsSVGUtils.cpp',
    42     'SVGFEContainerFrame.cpp',
    43     'SVGFEImageFrame.cpp',
    44     'SVGFELeafFrame.cpp',
    45     'SVGFEUnstyledLeafFrame.cpp',
    46     'SVGTextFrame.cpp',
    47     'SVGViewFrame.cpp',
    48 ]
    50 FAIL_ON_WARNINGS = True
    52 FINAL_LIBRARY = 'gklayout'
    53 LOCAL_INCLUDES += [
    54     '../../content/base/src',
    55     '../../content/svg/content/src',
    56     '../../widget',
    57     '../base',
    58     '../generic',
    59     '../style',
    60     '../xul',
    61 ]
    63 RESOURCE_FILES += [
    64     'svg.css',
    65 ]

mercurial