mail/app.mozbuild
author Alessandro Castellani <alessandro@thunderbird.net>
Wed, 03 Mar 2021 09:57:55 -0800
changeset 99126 736df403d4717cfe23156cdeef05f9eb612d8536
parent 96432 9552c8a426820925feb8c3a2590357812957cc72
permissions -rw-r--r--
try: -b o -p all -u all --artifact

# vim: set filetype=python:
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

# Note that paths in this file are relative to the top directory (m-c)

GENERATED_FILES[
    "source-repo.h"
].script = "comm/build/source_repos.py:source_repo_header"

include("/%s/toolkit/toolkit.mozbuild" % CONFIG["mozreltopsrcdir"])

include("/%s/mailnews/mailnews.mozbuild" % CONFIG["commreltopsrcdir"])

DIRS += ["/%s/mail/components" % CONFIG["commreltopsrcdir"]]

if CONFIG["MOZ_EXTENSIONS"]:
    DIRS += ["/%s/extensions" % CONFIG["mozreltopsrcdir"]]

# Never add dirs after /comm/mail because they apparently won't get
# packaged properly on Mac.
DIRS += [
    "/%s" % CONFIG["MOZ_BRANDING_DIRECTORY"],
    "/%s/calendar" % CONFIG["commreltopsrcdir"],
    "/%s/chat" % CONFIG["commreltopsrcdir"],
    "/%s/mail" % CONFIG["commreltopsrcdir"],
]