summaryrefslogtreecommitdiffstats
path: root/toolkit
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/moz.build8
-rw-r--r--toolkit/mozapps/update/updater/updater-common.build3
2 files changed, 11 insertions, 0 deletions
diff --git a/toolkit/moz.build b/toolkit/moz.build
index e53a6066d..158e760dc 100644
--- a/toolkit/moz.build
+++ b/toolkit/moz.build
@@ -27,6 +27,14 @@ DIRS += ['mozapps/extensions']
if CONFIG['MOZ_UPDATER'] and CONFIG['MOZ_WIDGET_TOOLKIT'] != 'android':
DIRS += ['mozapps/update']
+if CONFIG['MOZ_UPDATER'] and CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
+# Including mozapps/update/common-standalone allows the maintenance service
+# to be built so the maintenance service can be used for things other than
+# updating applications.
+ DIRS += [
+ 'mozapps/update/common-standalone',
+ ]
+
DIRS += ['xre']
if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('gtk2', 'gtk3'):
diff --git a/toolkit/mozapps/update/updater/updater-common.build b/toolkit/mozapps/update/updater/updater-common.build
index 7b7ee35bb..6444df8d9 100644
--- a/toolkit/mozapps/update/updater/updater-common.build
+++ b/toolkit/mozapps/update/updater/updater-common.build
@@ -33,6 +33,9 @@ if CONFIG['OS_ARCH'] == 'WINNT':
LOCAL_INCLUDES += [
'/toolkit/xre',
]
+ USE_LIBS += [
+ 'updatecommon-standalone',
+ ]
OS_LIBS += [
'comctl32',
'ws2_32',