[tbb-commits] [tor-browser/tor-browser-68.0esr-9.0-3] Bug 1572844 - Consistently check for MOZ_BITS_DOWNLOAD
gk at torproject.org
gk at torproject.org
Mon Aug 26 21:52:38 UTC 2019
commit 39af5f2d4da655d6cb7bb5c411272634a4cdf039
Author: Adam Gashlin <agashlin at mozilla.com>
Date: Mon Aug 19 15:44:42 2019 -0700
Bug 1572844 - Consistently check for MOZ_BITS_DOWNLOAD
---
toolkit/components/bitsdownload/components.conf | 2 +-
toolkit/components/bitsdownload/moz.build | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/toolkit/components/bitsdownload/components.conf b/toolkit/components/bitsdownload/components.conf
index d8a7b5721e00..fe7090d366be 100644
--- a/toolkit/components/bitsdownload/components.conf
+++ b/toolkit/components/bitsdownload/components.conf
@@ -5,7 +5,7 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
Classes = []
-if buildconfig.substs['OS_ARCH'] == 'WINNT' and defined('MOZ_BITS_DOWNLOAD'):
+if defined('MOZ_BITS_DOWNLOAD'):
Classes += [
{
'cid': '{495d6f3d-9748-4d30-8ce5-0290c0001edf}',
diff --git a/toolkit/components/bitsdownload/moz.build b/toolkit/components/bitsdownload/moz.build
index 1d3f45937bdb..5f1dc96e9490 100644
--- a/toolkit/components/bitsdownload/moz.build
+++ b/toolkit/components/bitsdownload/moz.build
@@ -14,7 +14,7 @@ XPCOM_MANIFESTS += [
'components.conf',
]
-if CONFIG['OS_ARCH'] == 'WINNT':
+if CONFIG['MOZ_BITS_DOWNLOAD']:
EXPORTS += [
'Bits.h'
]
More information about the tbb-commits
mailing list