summaryrefslogtreecommitdiffstats
path: root/gfx/angle/targets/angle_gpu_info_util/moz.build
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/angle/targets/angle_gpu_info_util/moz.build')
-rw-r--r--gfx/angle/targets/angle_gpu_info_util/moz.build199
1 files changed, 199 insertions, 0 deletions
diff --git a/gfx/angle/targets/angle_gpu_info_util/moz.build b/gfx/angle/targets/angle_gpu_info_util/moz.build
new file mode 100644
index 0000000000..f2fe1dd3d4
--- /dev/null
+++ b/gfx/angle/targets/angle_gpu_info_util/moz.build
@@ -0,0 +1,199 @@
+# Generated by update-angle.py
+
+include("../../moz.build.common")
+
+DEFINES["ANGLE_DISABLE_POOL_ALLOC"] = True
+DEFINES["ANGLE_ENABLE_D3D11"] = True
+DEFINES["ANGLE_ENABLE_D3D11_COMPOSITOR_NATIVE_WINDOW"] = True
+DEFINES["ANGLE_ENABLE_D3D9"] = True
+DEFINES["ANGLE_ENABLE_SHARE_CONTEXT_LOCK"] = "1"
+# DEFINES["ANGLE_IS_WIN"] = True
+DEFINES["ANGLE_SHARED_LIBVULKAN"] = "1"
+DEFINES["ANGLE_USE_CUSTOM_LIBVULKAN"] = True
+DEFINES["ANGLE_VK_LAYERS_DIR"] = '"angledata"'
+DEFINES["ANGLE_VK_MOCK_ICD_JSON"] = '"angledata/VkICD_mock_icd.json"'
+DEFINES["ANGLE_VMA_VERSION"] = "2003000"
+# DEFINES["CERT_CHAIN_PARA_HAS_EXTRA_FIELDS"] = True
+DEFINES["CR_CLANG_REVISION"] = '"llvmorg-16-init-6578-g0d30e92f-2"'
+DEFINES["DYNAMIC_ANNOTATIONS_ENABLED"] = "0"
+# DEFINES["NDEBUG"] = True
+DEFINES["NOMINMAX"] = True
+# DEFINES["NTDDI_VERSION"] = "NTDDI_WIN10_FE"
+# DEFINES["NVALGRIND"] = True
+# DEFINES["PSAPI_VERSION"] = "2"
+DEFINES["UNICODE"] = True
+# DEFINES["USE_AURA"] = "1"
+# DEFINES["VK_USE_PLATFORM_WIN32_KHR"] = True
+# 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_NONSTDC_NO_WARNINGS"] = 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["_WIN32_WINNT"] = "0x0A00"
+# DEFINES["_WINDOWS"] = True
+DEFINES["_WINSOCK_DEPRECATED_NO_WARNINGS"] = True
+# DEFINES["__STD_C"] = True
+
+LOCAL_INCLUDES += [
+ "../../checkout/",
+ "../../checkout/include/",
+ "../../checkout/out/gen/",
+ "../../checkout/src/",
+ "../../checkout/src/common/third_party/base/",
+ "../../checkout/src/third_party/volk/",
+ "../../checkout/third_party/vulkan-deps/vulkan-headers/src/include/",
+]
+
+# CXXFLAGS += [
+# "-add-plugin",
+# "-D__DATE__=",
+# "-D__TIME__=",
+# "-D__TIMESTAMP__=",
+# "-fcolor-diagnostics",
+# "-fcomplete-member-pointers",
+# "-fcrash-diagnostics-dir=../tools/clang/crashreports",
+# "-ffile-compilation-dir=.",
+# "-ffile-reproducible",
+# "-fmerge-all-constants",
+# "-fmsc-version=1916",
+# "-fno-delete-null-pointer-checks",
+# "-fno-ident",
+# "-ftrivial-auto-var-init=pattern",
+# "-fuse-ctor-homing",
+# "-gcodeview-ghash",
+# "-instcombine-lower-dbg-declare=0",
+# "-m64",
+# "-mllvm",
+# "-msse3",
+# "-no-canonical-prefixes",
+# "-plugin-arg-find-bad-constructs",
+# "-Wbad-function-cast",
+# "-Wconditional-uninitialized",
+# "-Wenum-compare-conditional",
+# "-Wexit-time-destructors",
+# "-Wextra-semi",
+# "-Wextra-semi-stmt",
+# "-Wfloat-conversion",
+# "-Wglobal-constructors",
+# "-Wheader-hygiene",
+# "-Wimplicit-fallthrough",
+# "-Winconsistent-missing-destructor-override",
+# "-Wloop-analysis",
+# "-Wmissing-field-initializers",
+# "-Wnewline-eof",
+# "-Wno-bitfield-constant-conversion",
+# "-Wno-builtin-macro-redefined",
+# "-Wno-deprecated-builtins",
+# "-Wno-ignored-pragma-optimize",
+# "-Wno-missing-field-initializers",
+# "-Wno-nonportable-include-path",
+# "-Wno-psabi",
+# "-Wno-trigraphs",
+# "-Wno-unneeded-internal-declaration",
+# "-Wno-unused-parameter",
+# "-Wnon-virtual-dtor",
+# "-Wparentheses",
+# "-Wrange-loop-analysis",
+# "-Wredundant-parens",
+# "-Wreturn-std-move",
+# "-Wshadow",
+# "-Wshadow-field",
+# "-Wshorten-64-to-32",
+# "-Wstrict-prototypes",
+# "-Wstring-conversion",
+# "-Wsuggest-destructor-override",
+# "-Wsuggest-override",
+# "-Wtautological-overlap-compare",
+# "-Wtautological-type-limit-compare",
+# "-Wthread-safety",
+# "-Wundefined-reinterpret-cast",
+# "-Wunneeded-internal-declaration",
+# "-Wunreachable-code-aggressive",
+# "-Wunused-but-set-variable",
+# "-Xclang",
+# "/bigobj",
+# "/Brepro",
+# "/clang:-ffp-contract=off",
+# "/D__WRL_ENABLE_FUNCTION_STATICS__",
+# "/FS",
+# "/GR-",
+# "/guard:cf",
+# "/Gw",
+# "/Gy",
+# "/MT",
+# "/O1",
+# "/Ob2",
+# "/Oi",
+# "/Oy-",
+# "/std:c++17",
+# "/TP",
+# "/utf-8",
+# "/W4",
+# "/we4244",
+# "/we4312",
+# "/we4456",
+# "/we4458",
+# "/we4715",
+# "/we4800",
+# "/we4838",
+# "/WX",
+# "/Z7",
+# "/Zc:inline",
+# "/Zc:sizedDealloc-",
+# "/Zc:twoPhase",
+# "find-bad-constructs",
+# "raw-ref-template-as-trivial-member",
+# ]
+
+SOURCES += [
+ "../../checkout/src/common/vulkan/libvulkan_loader.cpp",
+ "../../checkout/src/common/vulkan/vulkan_icd.cpp",
+ "../../checkout/src/gpu_info_util/SystemInfo.cpp",
+ "../../checkout/src/gpu_info_util/SystemInfo_vulkan.cpp",
+ "../../checkout/src/third_party/volk/volk.c",
+]
+
+if CONFIG["OS_ARCH"] == "WINNT":
+ SOURCES += [
+ "../../checkout/src/gpu_info_util/SystemInfo_win.cpp",
+ ]
+
+USE_LIBS += [
+ "angle_common",
+]
+
+DIRS += [
+ "../angle_common",
+]
+
+OS_LIBS += [
+ "dxgi",
+ "setupapi",
+]
+
+# LDFLAGS += [
+# "--color-diagnostics",
+# "/call-graph-profile-sort:no",
+# "/CETCOMPAT",
+# "/DEBUG:GHASH",
+# "/DELAYLOAD:d3d9.dll",
+# "/FIXED:NO",
+# "/INCREMENTAL:NO",
+# "/lldignoreenv",
+# "/OPT:ICF",
+# "/OPT:NOLLDTAILMERGE",
+# "/OPT:REF",
+# "/PROFILE",
+# "/TIMESTAMP:1664686800",
+# "/WX",
+# ]
+
+Library("angle_gpu_info_util")