gecko-dev/toolkit/components/viaduct/moz.build
Nika Layzell e8e1f6902e Bug 1800295 - Delete the Viaduct XPCOM interface, r=chutten,markh
This XPCOM interface was being initialized and used, and was unnecessary.
This patch removes it completely to simplify things, initializing
viaduct during xpcom startup instead. This is done rather than keeping
it lazy and tied to FOG startup, as the implementation just sets a
static atomic to a function pointer.

This makes no changes to anything which actually uses viaduct, which is
done through the previously mentioned static atomic.

Differential Revision: https://phabricator.services.mozilla.com/D162010
2022-11-15 17:25:46 +00:00

22 lines
563 B
Text

# 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/.
UNIFIED_SOURCES += [
"fetch_msg_types.pb.cc",
"Viaduct.cpp",
"ViaductRequest.cpp",
]
EXPORTS.mozilla += [
"fetch_msg_types.pb.h",
"Viaduct.h",
"ViaductRequest.h",
]
include("/ipc/chromium/chromium-config.mozbuild")
DEFINES["GOOGLE_PROTOBUF_NO_RTTI"] = True
DEFINES["GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER"] = True
FINAL_LIBRARY = "xul"