moz.build (6036B)
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-unused-parameter", 88 # "-Wnon-virtual-dtor", 89 # "-Wparentheses", 90 # "-Wrange-loop-analysis", 91 # "-Wredundant-parens", 92 # "-Wreturn-std-move", 93 # "-Wshadow", 94 # "-Wshadow-field", 95 # "-Wshorten-64-to-32", 96 # "-Wstrict-prototypes", 97 # "-Wstring-conversion", 98 # "-Wsuggest-destructor-override", 99 # "-Wsuggest-override", 100 # "-Wtautological-overlap-compare", 101 # "-Wtautological-type-limit-compare", 102 # "-Wthread-safety", 103 # "-Wundefined-reinterpret-cast", 104 # "-Wunneeded-internal-declaration", 105 # "-Wunreachable-code-aggressive", 106 # "-Wunused-but-set-variable", 107 # "-Xclang", 108 # "/bigobj", 109 # "/Brepro", 110 # "/clang:-ffp-contract=off", 111 # "/D__WRL_ENABLE_FUNCTION_STATICS__", 112 # "/FS", 113 # "/GR-", 114 # "/guard:cf", 115 # "/Gw", 116 # "/Gy", 117 # "/MT", 118 # "/O1", 119 # "/Ob2", 120 # "/Oi", 121 # "/Oy-", 122 # "/std:c++17", 123 # "/TP", 124 # "/utf-8", 125 # "/W4", 126 # "/we4244", 127 # "/we4312", 128 # "/we4456", 129 # "/we4458", 130 # "/we4715", 131 # "/we4800", 132 # "/we4838", 133 # "/WX", 134 # "/Z7", 135 # "/Zc:inline", 136 # "/Zc:sizedDealloc-", 137 # "/Zc:twoPhase", 138 # ] 139 140 SOURCES += [ 141 "../../checkout/src/common/aligned_memory.cpp", 142 "../../checkout/src/common/android_util.cpp", 143 "../../checkout/src/common/angleutils.cpp", 144 "../../checkout/src/common/debug.cpp", 145 "../../checkout/src/common/entry_points_enum_autogen.cpp", 146 "../../checkout/src/common/event_tracer.cpp", 147 "../../checkout/src/common/Float16ToFloat32.cpp", 148 "../../checkout/src/common/mathutil.cpp", 149 "../../checkout/src/common/matrix_utils.cpp", 150 "../../checkout/src/common/MemoryBuffer.cpp", 151 "../../checkout/src/common/PackedEGLEnums_autogen.cpp", 152 "../../checkout/src/common/PackedEnums.cpp", 153 "../../checkout/src/common/PackedGLEnums_autogen.cpp", 154 "../../checkout/src/common/PoolAlloc.cpp", 155 "../../checkout/src/common/string_utils.cpp", 156 "../../checkout/src/common/system_utils.cpp", 157 "../../checkout/src/common/third_party/base/anglebase/sha1.cc", 158 "../../checkout/src/common/third_party/smhasher/src/PMurHash.cpp", 159 "../../checkout/src/common/third_party/xxhash/xxhash.c", 160 "../../checkout/src/common/tls.cpp", 161 "../../checkout/src/common/uniform_type_info_autogen.cpp", 162 "../../checkout/src/common/utilities.cpp", 163 ] 164 165 if CONFIG["OS_ARCH"] != "WINNT": 166 SOURCES += [ 167 "../../checkout/src/common/system_utils_posix.cpp", 168 ] 169 170 if CONFIG["OS_ARCH"] == "Darwin": 171 SOURCES += [ 172 "../../checkout/src/common/system_utils_apple.cpp", 173 "../../checkout/src/common/system_utils_mac.cpp", 174 ] 175 176 if CONFIG["OS_ARCH"] == "WINNT": 177 SOURCES += [ 178 "../../checkout/src/common/system_utils_win.cpp", 179 "../../checkout/src/common/system_utils_win32.cpp", 180 ] 181 182 if CONFIG["OS_ARCH"] not in ("Darwin", "WINNT"): 183 SOURCES += [ 184 "../../checkout/src/common/system_utils_linux.cpp", 185 ] 186 187 # LDFLAGS += [ 188 # "--color-diagnostics", 189 # "/call-graph-profile-sort:no", 190 # "/CETCOMPAT", 191 # "/DEBUG:GHASH", 192 # "/FIXED:NO", 193 # "/INCREMENTAL:NO", 194 # "/lldignoreenv", 195 # "/OPT:ICF", 196 # "/OPT:NOLLDTAILMERGE", 197 # "/OPT:REF", 198 # "/PROFILE", 199 # "/TIMESTAMP:1664686800", 200 # "/WX", 201 # ] 202 203 Library("angle_common")