Bug 1945507 - Use FINAL_LIBRARY to link mfbt to mozglue. r=firefox-build-system-reviewers,sergesanspaille
The difference it makes is that it makes m mfbt inherit the LIBRARY_DEFINES from mozglue, which were intended to propagate there. Differential Revision: https://phabricator.services.mozilla.com/D238539
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
* 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/. */
|
||||
|
||||
#define MOZ_PRETEND_NO_JSRUST 1
|
||||
|
||||
#include "mozilla/Maybe.h"
|
||||
#include "mozilla/TextUtils.h"
|
||||
#include "mozilla/Types.h"
|
||||
|
||||
@@ -203,3 +203,5 @@ DEFINES["MOZ_SUPPORT_LEAKCHECKING"] = True
|
||||
# but pure_virtual requires mfbt to build and some projects
|
||||
# don't use mfbt.
|
||||
DIRS += ["../build/pure_virtual"]
|
||||
|
||||
FINAL_LIBRARY = "mozglue"
|
||||
|
||||
@@ -84,10 +84,6 @@ if CONFIG["MOZ_WIDGET_TOOLKIT"]:
|
||||
"zlib",
|
||||
]
|
||||
|
||||
USE_LIBS += [
|
||||
"mfbt",
|
||||
]
|
||||
|
||||
LIBRARY_DEFINES["IMPL_MFBT"] = True
|
||||
LIBRARY_DEFINES["MOZ_HAS_MOZGLUE"] = True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user