Bug 1869043 remove declaration of missing CreateOrDestroyAudioTracks r=padenot
[gecko.git] / tools / update-programs / app.mozbuild
blobf14be4af89f597dd36bfb99ffaccde5723cab491
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 (
6     CONFIG["MOZ_MAINTENANCE_SERVICE"]
7     or CONFIG["MOZ_UPDATE_AGENT"]
8     or CONFIG["MOZ_UPDATER"]
9 ):
10     DIRS += [
11         "/toolkit/mozapps/update/common",
12     ]
14 if CONFIG["MOZ_DEFAULT_BROWSER_AGENT"]:
15     DIRS += [
16         "/toolkit/components/jsoncpp/src/lib_json",
17         "/toolkit/mozapps/defaultagent",
18     ]
20 if CONFIG["MOZ_MAINTENANCE_SERVICE"]:
21     DIRS += ["/toolkit/components/maintenanceservice"]
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",