tor-browser

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

moz.build (1063B)


      1 # This Source Code Form is subject to the terms of the Mozilla Public
      2 # License, v. 2.0. If a copy of the MPL was not distributed with this
      3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
      4 
      5 # Try to sort out our building/branding model into something a C
      6 # preprocessor can understand
      7 if CONFIG["MOZ_BRANDING_DIRECTORY"] == "browser/branding/official":
      8     if CONFIG["MOZ_UPDATE_CHANNEL"] == "beta":
      9         DEFINES["MOZ_BRANDING_IS_BETA"] = 1
     10     else:
     11         DEFINES["MOZ_BRANDING_IS_OFFICIAL"] = 1
     12 elif CONFIG["MOZ_BRANDING_DIRECTORY"] == "browser/branding/nightly":
     13     DEFINES["MOZ_BRANDING_IS_NIGHTLY"] = 1
     14 elif CONFIG["MOZ_BRANDING_DIRECTORY"] == "browser/branding/aurora":
     15     DEFINES["MOZ_BRANDING_IS_DEVEDITION"] = 1
     16 else:
     17     DEFINES["MOZ_BRANDING_IS_UNOFFICIAL"] = 1
     18 
     19 UNIFIED_SOURCES += [
     20     "../../download_firefox.cpp",
     21     "../../file_sink.cpp",
     22     "../../find_firefox.cpp",
     23     "../../main.cpp",
     24     "../../tempfile_name.cpp",
     25 ]
     26 
     27 OS_LIBS += [
     28     "advapi32",
     29     "rpcrt4",
     30     "shell32",
     31     "winhttp",
     32 ]
     33 
     34 FINAL_LIBRARY = "xul-gtest"