tor-browser

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

moz.build (798B)


      1 SPHINX_TREES["private-browsing-proxy"] = "docs"
      2 
      3 SOURCES += ["pbproxy.cpp"]
      4 
      5 # For nsNativeAppSupportWin.h icon definitions
      6 LOCAL_INCLUDES += ["/toolkit/xre"]
      7 
      8 if CONFIG["OS_TARGET"] == "WINNT" and CONFIG["CC_TYPE"] in ("gcc", "clang"):
      9     # This allows us to use wmain as the entry point on mingw
     10     LDFLAGS += [
     11         "-municode",
     12     ]
     13 
     14 RCINCLUDE = "pbproxy.rc"
     15 DEFINES["UNICODE"] = 1
     16 DEFINES["MOZ_APP_NAME"] = 'L"{}"'.format(CONFIG["MOZ_APP_NAME"])
     17 Program("private_browsing")
     18 
     19 OS_LIBS += ["shlwapi", "user32"]
     20 
     21 DEFINES["PBMODE_ICO"] = '"{}/{}/pbmode.ico"'.format(
     22     TOPSRCDIR,
     23     CONFIG["MOZ_BRANDING_DIRECTORY"],
     24 )
     25 
     26 # To make sure this process doesn't show a taskbar icon
     27 WINCONSOLE = False
     28 
     29 DisableStlWrapping()
     30 
     31 with Files("**"):
     32     BUG_COMPONENT = ("Firefox", "Shell Integration")