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