mail/moz.build
author Magnus Melin <mkmelin+mozilla@iki.fi>
Wed, 01 Jul 2020 16:15:43 +0300
changeset 39007 1aa86015cd87b30709412551835bf902025cd7d1
parent 37459 e0e05018f705af08c3b98472483c02c69d25d9ec
child 40347 dd6e7061f3e656f9a0e80fd17f9f05650ae0ff5c
permissions -rw-r--r--
Bug 1648802 - Replace Thunderbird uses of NS_LITERAL_STRING/NS_LITERAL_CSTRING macros by _ns literals.. r=sg compare https://phabricator.services.mozilla.com/D80861#change-Yu2oZ2Beo1MA # NS_LITERAL_CSTRING("foo") -> "foo"_ns find . -type f -not -path "*.hg/*" -not -path "third_party/*" -regex ".*\.\(c\|h\|cpp\|mm\)$" -exec sed -i -E 's/NS_LITERAL_CSTRING\("([^\)]+)"\)/"\1"_ns/g' {} \; # NS_LITERAL_STRING("foo") -> u"foo"_ns find . -type f -not -path "*.hg/*" -not -path "third_party/*" -regex ".*\.\(c\|h\|cpp\|mm\)$" -exec sed -i -E 's/NS_LITERAL_STRING\("([^\)]+)"\)/u"\1"_ns/g' {} \; + manual replacements at least in mailnews/imap/src/nsImapService.cpp mailnews/local/src/nsPop3Sink.cpp mailnews/extensions/fts3/src/nsFts3Tokenizer.cpp mailnews/base/test/TestMsgStripRE.cpp mailnews/base/util/nsMsgIncomingServer.cpp mailnews/base/util/nsMsgDBFolder.cpp mailnews/mime/src/mimemult.cpp mailnews/mime/src/mimethtm.cpp mailnews/compose/src/nsMsgCompose.cpp mailnews/import/text/src/nsTextImport.cpp mailnews/import/outlook/src/nsOutlookMail.cpp mailnews/import/winlivemail/nsWMUtils.cpp mailnews/import/becky/src/nsBeckyUtils.cpp mailnews/extensions/smime/src/nsCertPicker.cpp calendar/base/backend/libical/calUtils.cpp suite/components/shell/nsWindowsShellService.cpp mail/components/search/nsMailWinSearchHelper.cpp + clang-format

# 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/.

CONFIGURE_SUBST_FILES += ['installer/Makefile']

# app is always last as it packages up the built files on mac.
DIRS += [
    'base',
    'locales',
    'extensions',
    'themes',
    'app',
    '../common',
]

if CONFIG['MAKENSISU']:
    DIRS += ['installer/windows']

if CONFIG['MOZ_BUNDLED_FONTS']:
    DIRS += ['/%s/browser/fonts' % CONFIG['mozreltopsrcdir']]

DIRS += ['../third_party']

TEST_DIRS += [
    'test/browser',
    'test/marionette',
    'test/static',
]

FINAL_TARGET_FILES.defaults += ['app/permissions']