From 5667e3b2a9bfa130d131f0ca3b7effe7909997b0 Mon Sep 17 00:00:00 2001 From: Doug Thayer Date: Tue, 3 Aug 2021 14:40:38 +0000 Subject: [PATCH] Bug 1722515 - Only build ActivationContext.cpp in mozglue if a11y r=Jamie Differential Revision: https://phabricator.services.mozilla.com/D121547 --- mozglue/misc/moz.build | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mozglue/misc/moz.build b/mozglue/misc/moz.build index 14c5eaeb5c8d..76ccc6f8023d 100644 --- a/mozglue/misc/moz.build +++ b/mozglue/misc/moz.build @@ -85,11 +85,15 @@ if CONFIG["OS_ARCH"] == "WINNT": if not CONFIG["JS_STANDALONE"]: SOURCES += [ - "/ipc/mscom/ActivationContext.cpp", "/ipc/mscom/ProcessRuntime.cpp", "PreXULSkeletonUI.cpp", ] + if CONFIG["ACCESSIBILITY"]: + SOURCES += [ + "/ipc/mscom/ActivationContext.cpp", + ] + elif CONFIG["HAVE_CLOCK_MONOTONIC"]: SOURCES += [ "TimeStamp_posix.cpp",