tor-browser

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

moz.build (3477B)


      1 # Generated by update-angle.py
      2 
      3 include("../../moz.build.common")
      4 
      5 # DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
      6 DEFINES["CR_CLANG_REVISION"] = '"llvmorg-16-init-6578-g0d30e92f-2"'
      7 DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
      8 # DEFINES["NDEBUG"] = True
      9 DEFINES["NOMINMAX"] = True
     10 # DEFINES["NTDDI_VERSION"] = "NTDDI_WIN10_FE"
     11 # DEFINES["NVALGRIND"] = True
     12 # DEFINES["PSAPI_VERSION"] = "2"
     13 DEFINES["UNICODE"] = True
     14 # DEFINES["USE_AURA"] = "1"
     15 # DEFINES["WIN32"] = True
     16 # DEFINES["WIN32_LEAN_AND_MEAN"] = True
     17 # DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP"
     18 DEFINES["WINVER"] = "0x0A00"
     19 DEFINES["_ATL_NO_OPENGL"] = True
     20 DEFINES["_CRT_NONSTDC_NO_WARNINGS"] = True
     21 DEFINES["_CRT_RAND_S"] = True
     22 DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True
     23 DEFINES["_HAS_EXCEPTIONS"] = "0"
     24 # DEFINES["_HAS_NODISCARD"] = True
     25 DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True
     26 DEFINES["_SECURE_ATL"] = True
     27 DEFINES["_UNICODE"] = True
     28 # DEFINES["_WIN32_WINNT"] = "0x0A00"
     29 # DEFINES["_WINDOWS"] = True
     30 DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True
     31 # DEFINES["__STD_C"] = True
     32 
     33 LOCAL_INCLUDES += [
     34     "../../checkout/",
     35     "../../checkout/out/gen/",
     36     "../../checkout/third_party/zlib/",
     37 ]
     38 
     39 # CXXFLAGS += [
     40 #     "-add-plugin",
     41 #     "-D__DATE__=",
     42 #     "-D__TIME__=",
     43 #     "-D__TIMESTAMP__=",
     44 #     "-fcolor-diagnostics",
     45 #     "-fcomplete-member-pointers",
     46 #     "-fcrash-diagnostics-dir=../tools/clang/crashreports",
     47 #     "-ffile-compilation-dir=.",
     48 #     "-ffile-reproducible",
     49 #     "-fmerge-all-constants",
     50 #     "-fmsc-version=1916",
     51 #     "-fno-delete-null-pointer-checks",
     52 #     "-fno-ident",
     53 #     "-ftrivial-auto-var-init=pattern",
     54 #     "-fuse-ctor-homing",
     55 #     "-gcodeview-ghash",
     56 #     "-instcombine-lower-dbg-declare=0",
     57 #     "-m64",
     58 #     "-mllvm",
     59 #     "-msse3",
     60 #     "-no-canonical-prefixes",
     61 #     "-plugin-arg-find-bad-constructs",
     62 #     "-Wenum-compare-conditional",
     63 #     "-Wextra-semi",
     64 #     "-Wheader-hygiene",
     65 #     "-Wimplicit-fallthrough",
     66 #     "-Wloop-analysis",
     67 #     "-Wno-bitfield-constant-conversion",
     68 #     "-Wno-builtin-macro-redefined",
     69 #     "-Wno-deprecated-builtins",
     70 #     "-Wno-ignored-pragma-optimize",
     71 #     "-Wno-missing-field-initializers",
     72 #     "-Wno-nonportable-include-path",
     73 #     "-Wno-psabi",
     74 #     "-Wno-trigraphs",
     75 #     "-Wno-unneeded-internal-declaration",
     76 #     "-Wno-unused-parameter",
     77 #     "-Wshadow",
     78 #     "-Wstring-conversion",
     79 #     "-Wtautological-overlap-compare",
     80 #     "-Wthread-safety",
     81 #     "-Wunreachable-code-aggressive",
     82 #     "-Xclang",
     83 #     "/bigobj",
     84 #     "/Brepro",
     85 #     "/clang:-ffp-contract=off",
     86 #     "/D__WRL_ENABLE_FUNCTION_STATICS__",
     87 #     "/FS",
     88 #     "/GR-",
     89 #     "/guard:cf",
     90 #     "/Gw",
     91 #     "/Gy",
     92 #     "/MT",
     93 #     "/O1",
     94 #     "/Ob2",
     95 #     "/Oi",
     96 #     "/Oy-",
     97 #     "/std:c++17",
     98 #     "/TP",
     99 #     "/utf-8",
    100 #     "/W4",
    101 #     "/WX",
    102 #     "/Z7",
    103 #     "/Zc:inline",
    104 #     "/Zc:sizedDealloc-",
    105 #     "/Zc:twoPhase",
    106 #     "find-bad-constructs",
    107 #     "raw-ref-template-as-trivial-member",
    108 # ]
    109 
    110 SOURCES += [
    111     "../../checkout/third_party/zlib/google/compression_utils_portable.cc",
    112 ]
    113 
    114 USE_LIBS += [
    115     "zlib",
    116 ]
    117 
    118 # LDFLAGS += [
    119 #     "--color-diagnostics",
    120 #     "/call-graph-profile-sort:no",
    121 #     "/CETCOMPAT",
    122 #     "/DEBUG:GHASH",
    123 #     "/FIXED:NO",
    124 #     "/INCREMENTAL:NO",
    125 #     "/lldignoreenv",
    126 #     "/OPT:ICF",
    127 #     "/OPT:NOLLDTAILMERGE",
    128 #     "/OPT:REF",
    129 #     "/PROFILE",
    130 #     "/TIMESTAMP:1664686800",
    131 #     "/WX",
    132 # ]
    133 
    134 Library("compression_utils_portable")