diff options
Diffstat (limited to 'gfx/angle/targets/libEGL/moz.build')
-rw-r--r-- | gfx/angle/targets/libEGL/moz.build | 222 |
1 files changed, 222 insertions, 0 deletions
diff --git a/gfx/angle/targets/libEGL/moz.build b/gfx/angle/targets/libEGL/moz.build new file mode 100644 index 0000000000..cdfb7d4b65 --- /dev/null +++ b/gfx/angle/targets/libEGL/moz.build @@ -0,0 +1,222 @@ +# Generated by update-angle.py + +include("../../moz.build.common") + +# DEFINES["ANGLE_EGL_LIBRARY_NAME"] = '"libEGL"' +DEFINES["ANGLE_GLESV2_LIBRARY_NAME"] = '"libGLESv2"' +# DEFINES["ANGLE_IS_64_BIT_CPU"] = True +DEFINES["ANGLE_USE_EGL_LOADER"] = True +# DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True +# DEFINES["CHROMIUM_BUILD"] = True +DEFINES["CR_CLANG_REVISION"] = '"357692-1"' +DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0" +DEFINES["EGLAPI"] = "" +DEFINES["EGL_EGLEXT_PROTOTYPES"] = True +DEFINES["EGL_EGL_PROTOTYPES"] = "1" +# DEFINES["FULL_SAFE_BROWSING"] = True +DEFINES["GL_GLES_PROTOTYPES"] = "1" +DEFINES["GL_GLEXT_PROTOTYPES"] = True +DEFINES["LIBEGL_IMPLEMENTATION"] = True +# DEFINES["NDEBUG"] = True +DEFINES["NOMINMAX"] = True +# DEFINES["NO_TCMALLOC"] = True +DEFINES["NTDDI_VERSION"] = "NTDDI_WIN10_RS2" +# DEFINES["NVALGRIND"] = True +# DEFINES["PSAPI_VERSION"] = "2" +# DEFINES["SAFE_BROWSING_CSD"] = True +# DEFINES["SAFE_BROWSING_DB_LOCAL"] = True +DEFINES["UNICODE"] = True +# DEFINES["USE_AURA"] = "1" +# DEFINES["WIN32"] = True +# DEFINES["WIN32_LEAN_AND_MEAN"] = True +# DEFINES["WINAPI_FAMILY"] = "WINAPI_FAMILY_DESKTOP_APP" +DEFINES["WINVER"] = "0x0A00" +DEFINES["_ATL_NO_OPENGL"] = True +DEFINES["_CRT_RAND_S"] = True +DEFINES["_CRT_SECURE_NO_DEPRECATE"] = True +DEFINES["_HAS_EXCEPTIONS"] = "0" +# DEFINES["_HAS_NODISCARD"] = True +DEFINES["_SCL_SECURE_NO_DEPRECATE"] = True +DEFINES["_SECURE_ATL"] = True +DEFINES["_UNICODE"] = True +# DEFINES["_USING_V110_SDK71_"] = True +# DEFINES["_WIN32_WINNT"] = "0x0A00" +# DEFINES["_WINDOWS"] = True +# DEFINES["__STD_C"] = True + +LOCAL_INCLUDES += [ + "../../checkout/include/", + "../../checkout/out/gen/angle/", + "../../checkout/src/", +] + +# CXXFLAGS += [ +# "-D__DATE__=", +# "-D__TIME__=", +# "-D__TIMESTAMP__=", +# "-fcolor-diagnostics", +# "-fcomplete-member-pointers", +# "-fcrash-diagnostics-dir=../tools/clang/crashreports", +# "-fdebug-compilation-dir", +# "-fmerge-all-constants", +# "-fmsc-version=1911", +# "-fno-standalone-debug", +# "-gcodeview-ghash", +# "-instcombine-lower-dbg-declare=0", +# "-m64", +# "-mllvm", +# "-no-canonical-prefixes", +# "-Wextra-semi", +# "-Wheader-hygiene", +# "-Wimplicit-fallthrough", +# "-Wno-builtin-macro-redefined", +# "-Wno-c++11-narrowing", +# "-Wno-ignored-pragma-optimize", +# "-Wno-missing-field-initializers", +# "-Wno-nonportable-include-path", +# "-Wno-undefined-var-template", +# "-Wno-unneeded-internal-declaration", +# "-Wno-unused-parameter", +# "-Wnon-virtual-dtor", +# "-Wstring-conversion", +# "-Wtautological-overlap-compare", +# "-Wthread-safety", +# "-Wunneeded-internal-declaration", +# "-Xclang", +# ".", +# "/bigobj", +# "/Brepro", +# "/FS", +# "/GR-", +# "/guard:cf,nochecks", +# "/Gw", +# "/Gy", +# "/MT", +# "/O1", +# "/Ob2", +# "/Oi", +# "/Oy-", +# "/TP", +# "/utf-8", +# "/W4", +# "/wd4091", +# "/wd4100", +# "/wd4121", +# "/wd4127", +# "/wd4200", +# "/wd4201", +# "/wd4204", +# "/wd4221", +# "/wd4244", +# "/wd4245", +# "/wd4251", +# "/wd4267", +# "/wd4275", +# "/wd4305", +# "/wd4312", +# "/wd4324", +# "/wd4351", +# "/wd4355", +# "/wd4389", +# "/wd4456", +# "/wd4457", +# "/wd4458", +# "/wd4459", +# "/wd4503", +# "/wd4505", +# "/wd4510", +# "/wd4512", +# "/wd4577", +# "/wd4589", +# "/wd4610", +# "/wd4611", +# "/wd4661", +# "/wd4701", +# "/wd4702", +# "/wd4703", +# "/wd4706", +# "/wd4715", +# "/wd4838", +# "/wd4995", +# "/wd4996", +# "/we4244", +# "/we4456", +# "/we4458", +# "/we4715", +# "/we4800", +# "/we4838", +# "/WX", +# "/X", +# "/Z7", +# "/Zc:inline", +# "/Zc:sizedDealloc-", +# ] + +SOURCES += [ + "../../checkout/src/common/system_utils.cpp", + "../../checkout/src/libEGL/egl_loader_autogen.cpp", + "../../checkout/src/libEGL/libEGL.cpp", +] + +if CONFIG["OS_ARCH"] == "WINNT": + SOURCES += [ + "../../checkout/src/common/system_utils_win.cpp", + ] + +USE_LIBS += [ + "libGLESv2", +] + +DIRS += [ + "../libGLESv2", +] + +OS_LIBS += [ + "advapi32", + "comdlg32", + "dbghelp", + "delayimp", + "dnsapi", + "gdi32", + "kernel32", + "msimg32", + "odbc32", + "odbccp32", + "ole32", + "oleaut32", + "shell32", + "shlwapi", + "user32", + "usp10", + "uuid", + "version", + "wininet", + "winmm", + "winspool", + "ws2_32", +] + +# LDFLAGS += [ +# "--color-diagnostics", +# "/DEBUG:GHASH", +# "/DYNAMICBASE", +# "/FIXED:NO", +# "/ignore:4199", +# "/ignore:4221", +# "/INCREMENTAL:NO", +# "/MACHINE:X64", +# "/NXCOMPAT", +# "/OPT:ICF", +# "/OPT:NOLLDTAILMERGE", +# "/OPT:REF", +# "/pdbaltpath:%_PDB%", +# "/PDBSourcePath:C:/dev/angle/out", +# "/PROFILE", +# "/SUBSYSTEM:CONSOLE,5.02", +# "/TIMESTAMP:1554613200", +# "/WX", +# ] + +DEFFILE = "../../checkout/src/libEGL/libEGL.def" +RCFILE = "../../checkout/src/libEGL/libEGL.rc" +GeckoSharedLibrary("libEGL", linkage=None) |