mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-03 09:48:38 +02:00
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
22 lines
563 B
Text
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"
|