Bug 1960869 - Fix builds with --project=memory r=glandium

* set FINAL_LIBRARY in mfbt and third_party_fmt only when not using
   --enable-project=memory
 * include third_party/fmt in memory/app.mozbuild

Differential Revision: https://phabricator.services.mozilla.com/D245716
This commit is contained in:
Paul Bone
2025-04-22 01:58:32 +00:00
parent c86fbbc03a
commit 3332980da8
3 changed files with 5 additions and 2 deletions

View File

@@ -13,6 +13,7 @@ EXPORTS.mozilla += [
DIRS += [ DIRS += [
"/memory", "/memory",
"/mfbt", "/mfbt",
"/third_party/fmt",
] ]
EXPORTS.mozilla += [ EXPORTS.mozilla += [

View File

@@ -199,4 +199,5 @@ DEFINES["MOZ_SUPPORT_LEAKCHECKING"] = True
# don't use mfbt. # don't use mfbt.
DIRS += ["../build/pure_virtual"] DIRS += ["../build/pure_virtual"]
FINAL_LIBRARY = "mozglue" if CONFIG["MOZ_BUILD_APP"] != "memory":
FINAL_LIBRARY = "mozglue"

View File

@@ -4,7 +4,8 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this # 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/. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
FINAL_LIBRARY = "mozglue" if CONFIG["MOZ_BUILD_APP"] != "memory":
FINAL_LIBRARY = "mozglue"
with Files('**'): with Files('**'):
BUG_COMPONENT = ('Core', 'mozglue') BUG_COMPONENT = ('Core', 'mozglue')