Bug 1861516 - Remove Translations fastText LanguageIdEngine r=gregtatum
[gecko.git] / tools / update-programs / app.mozbuild
blob330d9b11ec54859f71b327782011729f2cf05a4c
1 # This Source Code Form is subject to the terms of the Mozilla Public
2 # License, v. 2.0. If a copy of the MPL was not distributed with this
3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
5 if CONFIG['MOZ_MAINTENANCE_SERVICE'] or \
6    CONFIG['MOZ_UPDATE_AGENT'] or \
7    CONFIG['MOZ_UPDATER']:
8     DIRS += [
9         '/toolkit/mozapps/update/common',
10     ]
12 if CONFIG['MOZ_DEFAULT_BROWSER_AGENT']:
13     DIRS += [
14         '/toolkit/components/jsoncpp/src/lib_json',
15         '/toolkit/mozapps/defaultagent',
16     ]
18 if CONFIG['MOZ_MAINTENANCE_SERVICE']:
19     DIRS += [
20         '/toolkit/components/maintenanceservice'
21     ]
23 if CONFIG['MOZ_UPDATER']:
24     # NSS (and NSPR).
25     DIRS += [
26         '/modules/xz-embedded',
27         '/config/external/nspr',
28         '/config/external/sqlite',
29         '/config/external/zlib',
30         '/memory',
31         '/mfbt',
32         '/mozglue',
33         '/security',
34     ]
36     # The signing related bits of libmar depend on NSS.
37     DIRS += [
38         '/modules/libmar',
39         '/other-licenses/bsdiff',
40         '/toolkit/mozapps/update/updater/bspatch',
41         '/toolkit/mozapps/update/updater',
42     ]
44 # Expose specific non-XPCOM headers when building standalone.
45 if not CONFIG['MOZ_UPDATER']:
46     # When building the updater, we build /mozglue, which includes this.
47     EXPORTS.mozilla += [
48         '/mozglue/misc/DynamicallyLinkedFunctionPtr.h',
49     ]
51 EXPORTS.mozilla += [
52     '/toolkit/xre/CmdLineAndEnvUtils.h',
53     '/widget/windows/WinHeaderOnlyUtils.h',
56 EXPORTS += [
57     '/xpcom/base/nsAutoRef.h',
58     '/xpcom/base/nsWindowsHelpers.h',
59     '/xpcom/string/nsCharTraits.h',
60     '/xpcom/string/nsUTF8Utils.h',