tor-browser

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

moz.build (1655B)


      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 if CONFIG["OS_ARCH"] == "WINNT":
      8     LOCAL_INCLUDES += [
      9         "/accessible/windows/ia2",
     10         "/accessible/windows/msaa",
     11     ]
     12 else:
     13     if CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk":
     14         LOCAL_INCLUDES += [
     15             "/accessible/atk",
     16         ]
     17     elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "cocoa":
     18         LOCAL_INCLUDES += [
     19             "/accessible/mac",
     20         ]
     21     elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "uikit":
     22         LOCAL_INCLUDES += [
     23             "/accessible/ios",
     24         ]
     25     else:
     26         LOCAL_INCLUDES += [
     27             "/accessible/other",
     28         ]
     29 
     30 if CONFIG["ACCESSIBILITY"]:
     31     PREPROCESSED_IPDL_SOURCES += [
     32         "PDocAccessible.ipdl",
     33     ]
     34     IPDL_SOURCES += [
     35         "DocAccessibleTypes.ipdlh",
     36     ]
     37 
     38 EXPORTS.mozilla.a11y += [
     39     "IPCTypes.h",
     40 ]
     41 
     42 if CONFIG["ACCESSIBILITY"]:
     43     EXPORTS.mozilla.a11y += [
     44         "DocAccessibleChild.h",
     45         "DocAccessibleParent.h",
     46         "RemoteAccessible.h",
     47     ]
     48 
     49     UNIFIED_SOURCES += [
     50         "DocAccessibleChild.cpp",
     51         "DocAccessibleParent.cpp",
     52         "RemoteAccessible.cpp",
     53     ]
     54 
     55     LOCAL_INCLUDES += [
     56         "/accessible/base",
     57         "/accessible/generic",
     58         "/accessible/xpcom",
     59     ]
     60 
     61 include("/ipc/chromium/chromium-config.mozbuild")
     62 
     63 FINAL_LIBRARY = "xul"
     64 
     65 # Add libFuzzer configuration directives
     66 include("/tools/fuzzing/libfuzzer-config.mozbuild")