Commit 3b332113 authored by Mike Hommey's avatar Mike Hommey
Browse files

Bug 1802675 - Don't build winheap.cpp when mozglue is a static library....

Bug 1802675 - Don't build winheap.cpp when mozglue is a static library. r=firefox-build-system-reviewers,andi

Differential Revision: https://phabricator.services.mozilla.com/D163383
parent 1ff5f4f2
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -22,6 +22,8 @@ if CONFIG["WRAP_STL_INCLUDES"]:
        ]

if CONFIG["OS_TARGET"] == "WINNT":
    # Don't build winheap.cpp when mozglue is a static library.
    if CONFIG["MOZ_MEMORY"] or not CONFIG["JS_STANDALONE"]:
        # Keep this file separate to avoid #include'ing windows.h everywhere.
        SOURCES += [
            "winheap.cpp",