tor-browser

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

moz.build (2320B)


      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 with Files("**"):
      8     BUG_COMPONENT = ("Core", "SVG")
      9 
     10 if CONFIG["ENABLE_TESTS"]:
     11     MOCHITEST_MANIFESTS += [
     12         "tests/mochitest.toml",
     13     ]
     14     MOCHITEST_CHROME_MANIFESTS += [
     15         "tests/chrome.toml",
     16     ]
     17 
     18 EXPORTS.mozilla += [
     19     "CSSClipPathInstance.h",
     20     "DisplaySVGItem.h",
     21     "FilterInstance.h",
     22     "ISVGDisplayableFrame.h",
     23     "ISVGSVGFrame.h",
     24     "SVGClipPathFrame.h",
     25     "SVGContainerFrame.h",
     26     "SVGContextPaint.h",
     27     "SVGFilterInstance.h",
     28     "SVGForeignObjectFrame.h",
     29     "SVGGeometryFrame.h",
     30     "SVGGradientFrame.h",
     31     "SVGImageContext.h",
     32     "SVGImageFrame.h",
     33     "SVGIntegrationUtils.h",
     34     "SVGMaskFrame.h",
     35     "SVGObserverUtils.h",
     36     "SVGOuterSVGFrame.h",
     37     "SVGPaintServerFrame.h",
     38     "SVGTextFrame.h",
     39     "SVGUseFrame.h",
     40     "SVGUtils.h",
     41 ]
     42 
     43 UNIFIED_SOURCES += [
     44     "CSSClipPathInstance.cpp",
     45     "CSSFilterInstance.cpp",
     46     "DisplaySVGItem.cpp",
     47     "FilterInstance.cpp",
     48     "SVGAFrame.cpp",
     49     "SVGClipPathFrame.cpp",
     50     "SVGContainerFrame.cpp",
     51     "SVGContextPaint.cpp",
     52     "SVGFEContainerFrame.cpp",
     53     "SVGFEImageFrame.cpp",
     54     "SVGFELeafFrame.cpp",
     55     "SVGFEUnstyledLeafFrame.cpp",
     56     "SVGFilterFrame.cpp",
     57     "SVGFilterInstance.cpp",
     58     "SVGForeignObjectFrame.cpp",
     59     "SVGGeometryFrame.cpp",
     60     "SVGGFrame.cpp",
     61     "SVGGradientFrame.cpp",
     62     "SVGImageContext.cpp",
     63     "SVGImageFrame.cpp",
     64     "SVGInnerSVGFrame.cpp",
     65     "SVGIntegrationUtils.cpp",
     66     "SVGMarkerFrame.cpp",
     67     "SVGMaskFrame.cpp",
     68     "SVGObserverUtils.cpp",
     69     "SVGOuterSVGFrame.cpp",
     70     "SVGPaintServerFrame.cpp",
     71     "SVGPatternFrame.cpp",
     72     "SVGStopFrame.cpp",
     73     "SVGSwitchFrame.cpp",
     74     "SVGSymbolFrame.cpp",
     75     "SVGTextFrame.cpp",
     76     "SVGUseFrame.cpp",
     77     "SVGUtils.cpp",
     78     "SVGViewFrame.cpp",
     79     "SVGViewportFrame.cpp",
     80 ]
     81 
     82 include("/ipc/chromium/chromium-config.mozbuild")
     83 
     84 FINAL_LIBRARY = "xul"
     85 LOCAL_INCLUDES += [
     86     "../base",
     87     "../generic",
     88     "../painting",
     89     "../style",
     90     "/dom/base",
     91     "/dom/svg",
     92 ]
     93 
     94 RESOURCE_FILES += [
     95     "svg.css",
     96 ]