moz.build (5063B)
1 # Generated by update-angle.py 2 3 include("../../moz.build.common") 4 5 DEFINES["ANGLE_DISABLE_POOL_ALLOC"] = True 6 DEFINES["ANGLE_ENABLE_SHARE_CONTEXT_LOCK"] = "1" 7 # DEFINES["ANGLE_IS_WIN"] = True 8 DEFINES["ANGLE_VMA_VERSION"] = "2003000" 9 # DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True 10 DEFINES["CR_CLANG_REVISION"] = '"llvmorg-16-init-6578-g0d30e92f-2"' 11 DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0" 12 # DEFINES["NDEBUG"] = True 13 DEFINES["NOMINMAX"] = True 14 # DEFINES["NTDDI_VERSION"] = "NTDDI_WIN10_FE" 15 # DEFINES["NVALGRIND"] = True 16 # DEFINES["PSAPI_VERSION"] = "2" 17 DEFINES["UNICODE"] = True 18 # DEFINES["USE_AURA"] = "1" 19 # DEFINES["WIN32"] = True 20 # DEFINES["WIN32_LEAN_AND_MEAN"] = True 21 # DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP" 22 DEFINES["WINVER"] = "0x0A00" 23 DEFINES["_ATL_NO_OPENGL"] = True 24 DEFINES["_CRT_NONSTDC_NO_WARNINGS"] = True 25 DEFINES["_CRT_RAND_S"] = True 26 DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True 27 DEFINES["_HAS_EXCEPTIONS"] = "0" 28 # DEFINES["_HAS_NODISCARD"] = True 29 DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True 30 DEFINES["_SECURE_ATL"] = True 31 DEFINES["_UNICODE"] = True 32 # DEFINES["_WIN32_WINNT"] = "0x0A00" 33 # DEFINES["_WINDOWS"] = True 34 DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True 35 # DEFINES["__STD_C"] = True 36 37 LOCAL_INCLUDES += [ 38 "../../checkout/include/", 39 "../../checkout/src/", 40 "../../checkout/src/common/third_party/base/", 41 ] 42 43 # CXXFLAGS += [ 44 # "-D__DATE__=", 45 # "-D__TIME__=", 46 # "-D__TIMESTAMP__=", 47 # "-fcolor-diagnostics", 48 # "-fcomplete-member-pointers", 49 # "-fcrash-diagnostics-dir=../tools/clang/crashreports", 50 # "-ffile-compilation-dir=.", 51 # "-ffile-reproducible", 52 # "-fmerge-all-constants", 53 # "-fmsc-version=1916", 54 # "-fno-delete-null-pointer-checks", 55 # "-fno-ident", 56 # "-ftrivial-auto-var-init=pattern", 57 # "-fuse-ctor-homing", 58 # "-gcodeview-ghash", 59 # "-instcombine-lower-dbg-declare=0", 60 # "-m64", 61 # "-mllvm", 62 # "-msse3", 63 # "-no-canonical-prefixes", 64 # "-Wbad-function-cast", 65 # "-Wconditional-uninitialized", 66 # "-Wenum-compare-conditional", 67 # "-Wexit-time-destructors", 68 # "-Wextra-semi", 69 # "-Wextra-semi-stmt", 70 # "-Wfloat-conversion", 71 # "-Wglobal-constructors", 72 # "-Wheader-hygiene", 73 # "-Wimplicit-fallthrough", 74 # "-Winconsistent-missing-destructor-override", 75 # "-Wloop-analysis", 76 # "-Wmissing-field-initializers", 77 # "-Wnewline-eof", 78 # "-Wno-bitfield-constant-conversion", 79 # "-Wno-builtin-macro-redefined", 80 # "-Wno-deprecated-builtins", 81 # "-Wno-ignored-pragma-optimize", 82 # "-Wno-missing-field-initializers", 83 # "-Wno-nonportable-include-path", 84 # "-Wno-psabi", 85 # "-Wno-trigraphs", 86 # "-Wno-unneeded-internal-declaration", 87 # "-Wno-unreachable-code-break", 88 # "-Wno-unused-parameter", 89 # "-Wnon-virtual-dtor", 90 # "-Wparentheses", 91 # "-Wrange-loop-analysis", 92 # "-Wredundant-parens", 93 # "-Wreturn-std-move", 94 # "-Wshadow", 95 # "-Wshadow-field", 96 # "-Wshorten-64-to-32", 97 # "-Wstrict-prototypes", 98 # "-Wstring-conversion", 99 # "-Wsuggest-destructor-override", 100 # "-Wsuggest-override", 101 # "-Wtautological-overlap-compare", 102 # "-Wtautological-type-limit-compare", 103 # "-Wthread-safety", 104 # "-Wundefined-reinterpret-cast", 105 # "-Wunneeded-internal-declaration", 106 # "-Wunreachable-code-aggressive", 107 # "-Wunused-but-set-variable", 108 # "-Xclang", 109 # "/bigobj", 110 # "/Brepro", 111 # "/clang:-ffp-contract=off", 112 # "/D__WRL_ENABLE_FUNCTION_STATICS__", 113 # "/FS", 114 # "/GR-", 115 # "/guard:cf", 116 # "/Gw", 117 # "/Gy", 118 # "/MT", 119 # "/O1", 120 # "/Ob2", 121 # "/Oi", 122 # "/Oy-", 123 # "/std:c++17", 124 # "/TP", 125 # "/utf-8", 126 # "/W4", 127 # "/we4244", 128 # "/we4312", 129 # "/we4456", 130 # "/we4458", 131 # "/we4715", 132 # "/we4800", 133 # "/we4838", 134 # "/WX", 135 # "/Z7", 136 # "/Zc:inline", 137 # "/Zc:sizedDealloc-", 138 # "/Zc:twoPhase", 139 # ] 140 141 SOURCES += [ 142 "../../checkout/src/compiler/preprocessor/DiagnosticsBase.cpp", 143 "../../checkout/src/compiler/preprocessor/DirectiveHandlerBase.cpp", 144 "../../checkout/src/compiler/preprocessor/DirectiveParser.cpp", 145 "../../checkout/src/compiler/preprocessor/Input.cpp", 146 "../../checkout/src/compiler/preprocessor/Lexer.cpp", 147 "../../checkout/src/compiler/preprocessor/Macro.cpp", 148 "../../checkout/src/compiler/preprocessor/MacroExpander.cpp", 149 "../../checkout/src/compiler/preprocessor/Preprocessor.cpp", 150 "../../checkout/src/compiler/preprocessor/preprocessor_lex_autogen.cpp", 151 "../../checkout/src/compiler/preprocessor/preprocessor_tab_autogen.cpp", 152 "../../checkout/src/compiler/preprocessor/Token.cpp", 153 ] 154 155 USE_LIBS += [ 156 "angle_common", 157 ] 158 159 # LDFLAGS += [ 160 # "--color-diagnostics", 161 # "/call-graph-profile-sort:no", 162 # "/CETCOMPAT", 163 # "/DEBUG:GHASH", 164 # "/FIXED:NO", 165 # "/INCREMENTAL:NO", 166 # "/lldignoreenv", 167 # "/OPT:ICF", 168 # "/OPT:NOLLDTAILMERGE", 169 # "/OPT:REF", 170 # "/PROFILE", 171 # "/TIMESTAMP:1664686800", 172 # "/WX", 173 # ] 174 175 Library("preprocessor")