tor-browser

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

moz.build (2931B)


      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 GeneratedFile(
      8     "RelationType.h",
      9     script="/accessible/base/RelationTypeGen.py",
     10     entry_point="generate",
     11     inputs=["/accessible/interfaces/nsIAccessibleRelation.idl"],
     12 )
     13 GeneratedFile(
     14     "Role.h",
     15     script="/accessible/base/RoleHGen.py",
     16     entry_point="generate",
     17     inputs=["/accessible/interfaces/nsIAccessibleRole.idl"],
     18 )
     19 
     20 EXPORTS += ["AccEvent.h", "nsAccessibilityService.h"]
     21 
     22 EXPORTS.mozilla.a11y += [
     23     "!RelationType.h",
     24     "!Role.h",
     25     "AccAttributes.h",
     26     "AccGroupInfo.h",
     27     "AccTypes.h",
     28     "CacheConstants.h",
     29     "DocManager.h",
     30     "FocusManager.h",
     31     "IDSet.h",
     32     "Platform.h",
     33     "SelectionManager.h",
     34     "States.h",
     35 ]
     36 
     37 if CONFIG["MOZ_DEBUG"]:
     38     EXPORTS.mozilla.a11y += [
     39         "Logging.h",
     40     ]
     41 
     42 UNIFIED_SOURCES += [
     43     "AccAttributes.cpp",
     44     "AccEvent.cpp",
     45     "AccGroupInfo.cpp",
     46     "AccIterator.cpp",
     47     "ARIAMap.cpp",
     48     "ARIAStateMap.cpp",
     49     "Asserts.cpp",
     50     "CacheConstants.cpp",
     51     "CachedTableAccessible.cpp",
     52     "CssAltContent.cpp",
     53     "DocManager.cpp",
     54     "EmbeddedObjCollector.cpp",
     55     "EventQueue.cpp",
     56     "EventTree.cpp",
     57     "Filters.cpp",
     58     "FocusManager.cpp",
     59     "NotificationController.cpp",
     60     "nsAccessibilityService.cpp",
     61     "nsAccUtils.cpp",
     62     "nsCoreUtils.cpp",
     63     "nsEventShell.cpp",
     64     "nsTextEquivUtils.cpp",
     65     "Pivot.cpp",
     66     "SelectionManager.cpp",
     67     "StyleInfo.cpp",
     68     "TextAttrs.cpp",
     69     "TextLeafRange.cpp",
     70     "TextRange.cpp",
     71     "TextUpdater.cpp",
     72     "TreeWalker.cpp",
     73 ]
     74 
     75 if CONFIG["A11Y_LOG"]:
     76     UNIFIED_SOURCES += [
     77         "Logging.cpp",
     78     ]
     79 
     80 LOCAL_INCLUDES += [
     81     "/accessible/generic",
     82     "/accessible/html",
     83     "/accessible/ipc",
     84     "/dom/base",
     85     "/dom/xul",
     86 ]
     87 
     88 LOCAL_INCLUDES += [
     89     "/accessible/xpcom",
     90     "/accessible/xul",
     91     "/dom/base",
     92     "/ipc/chromium/src",
     93     "/layout/generic",
     94     "/layout/style",
     95     "/layout/xul",
     96     "/layout/xul/tree/",
     97 ]
     98 
     99 if CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk":
    100     LOCAL_INCLUDES += [
    101         "/accessible/atk",
    102         "/gfx/cairo/cairo/src",
    103     ]
    104 elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "windows":
    105     LOCAL_INCLUDES += [
    106         "/accessible/windows/ia2",
    107         "/accessible/windows/msaa",
    108     ]
    109 elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "cocoa":
    110     LOCAL_INCLUDES += [
    111         "/accessible/mac",
    112     ]
    113 elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "android":
    114     LOCAL_INCLUDES += [
    115         "/accessible/android",
    116     ]
    117 elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "uikit":
    118     LOCAL_INCLUDES += [
    119         "/accessible/ios",
    120     ]
    121 else:
    122     LOCAL_INCLUDES += [
    123         "/accessible/other",
    124     ]
    125 
    126 FINAL_LIBRARY = "xul"
    127 
    128 include("/ipc/chromium/chromium-config.mozbuild")