зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1532281 [Linux] Don't build with dbus-glib r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D187208
This commit is contained in:
Родитель
245ddeebd9
Коммит
60dc5e2272
|
@ -85,8 +85,5 @@ for var in (
|
|||
if CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk":
|
||||
CXXFLAGS += CONFIG["MOZ_GTK3_CFLAGS"]
|
||||
|
||||
if CONFIG["MOZ_ENABLE_DBUS"]:
|
||||
CXXFLAGS += CONFIG["MOZ_DBUS_GLIB_CFLAGS"]
|
||||
|
||||
with Files("**"):
|
||||
BUG_COMPONENT = ("Firefox", "Shell Integration")
|
||||
|
|
|
@ -160,8 +160,6 @@ system_headers = [
|
|||
'curses.h',
|
||||
'cxxabi.h',
|
||||
'DateTimeUtils.h',
|
||||
'dbus/dbus-glib.h',
|
||||
'dbus/dbus-glib-lowlevel.h',
|
||||
'dbus/dbus.h',
|
||||
'ddeml.h',
|
||||
'Debug.h',
|
||||
|
|
|
@ -76,6 +76,4 @@ LOCAL_INCLUDES += [
|
|||
]
|
||||
|
||||
CFLAGS += CONFIG["GLIB_CFLAGS"]
|
||||
CFLAGS += CONFIG["MOZ_DBUS_GLIB_CFLAGS"]
|
||||
CXXFLAGS += CONFIG["GLIB_CFLAGS"]
|
||||
CXXFLAGS += CONFIG["MOZ_DBUS_GLIB_CFLAGS"]
|
||||
|
|
|
@ -57,5 +57,4 @@ elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk":
|
|||
DEFINES["MOZ_GPSD"] = True
|
||||
if CONFIG["MOZ_ENABLE_DBUS"]:
|
||||
LOCAL_INCLUDES += ["/dom/system/linux"]
|
||||
CXXFLAGS += CONFIG["MOZ_DBUS_GLIB_CFLAGS"]
|
||||
CXXFLAGS += CONFIG["MOZ_GTK3_CFLAGS"]
|
||||
|
|
|
@ -18,7 +18,6 @@ if CONFIG["MOZ_ENABLE_DBUS"]:
|
|||
SOURCES += ["GeoclueLocationProvider.cpp"]
|
||||
SOURCES += ["PortalLocationProvider.cpp"]
|
||||
LOCAL_INCLUDES += ["/dom/geolocation"]
|
||||
CXXFLAGS += CONFIG["MOZ_DBUS_GLIB_CFLAGS"]
|
||||
CXXFLAGS += CONFIG["MOZ_GTK3_CFLAGS"]
|
||||
|
||||
FINAL_LIBRARY = "xul"
|
||||
|
|
|
@ -132,7 +132,5 @@ LOCAL_INCLUDES += [
|
|||
|
||||
CFLAGS += CONFIG["GLIB_CFLAGS"]
|
||||
CFLAGS += CONFIG["MOZ_GTK3_CFLAGS"]
|
||||
CFLAGS += CONFIG["MOZ_DBUS_GLIB_CFLAGS"]
|
||||
CXXFLAGS += CONFIG["GLIB_CFLAGS"]
|
||||
CXXFLAGS += CONFIG["MOZ_GTK3_CFLAGS"]
|
||||
CXXFLAGS += CONFIG["MOZ_DBUS_GLIB_CFLAGS"]
|
||||
|
|
|
@ -54,7 +54,6 @@ elif CONFIG["NECKO_WIFI_DBUS"]:
|
|||
LOCAL_INCLUDES += [
|
||||
"dbus",
|
||||
]
|
||||
CXXFLAGS += CONFIG["MOZ_DBUS_GLIB_CFLAGS"]
|
||||
|
||||
TEST_DIRS += ["gtest"]
|
||||
|
||||
|
|
|
@ -11,8 +11,6 @@ if CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk":
|
|||
]
|
||||
CXXFLAGS += CONFIG["MOZ_GTK3_CFLAGS"]
|
||||
OS_LIBS += CONFIG["MOZ_GTK3_LIBS"]
|
||||
if CONFIG["MOZ_ENABLE_DBUS"]:
|
||||
OS_LIBS += CONFIG["MOZ_DBUS_GLIB_LIBS"]
|
||||
|
||||
elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "windows":
|
||||
Program("screenshot")
|
||||
|
|
|
@ -21,7 +21,6 @@ if CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk":
|
|||
"nsDBusRemoteClient.cpp",
|
||||
"nsDBusRemoteServer.cpp",
|
||||
]
|
||||
CXXFLAGS += CONFIG["MOZ_DBUS_GLIB_CFLAGS"]
|
||||
EXPORTS += [
|
||||
"nsUnixRemoteServer.h",
|
||||
"RemoteUtils.h",
|
||||
|
|
|
@ -315,7 +315,7 @@ if CONFIG["OS_ARCH"] == "OpenBSD":
|
|||
]
|
||||
|
||||
if CONFIG["MOZ_ENABLE_DBUS"]:
|
||||
OS_LIBS += CONFIG["MOZ_DBUS_GLIB_LIBS"]
|
||||
OS_LIBS += CONFIG["MOZ_DBUS_LIBS"]
|
||||
|
||||
if CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk" and CONFIG["COMPILE_ENVIRONMENT"]:
|
||||
OS_LIBS += [l for l in CONFIG["MOZ_GTK3_LIBS"] if l not in ("-lgtk-3", "-lgdk-3")]
|
||||
|
|
|
@ -3050,7 +3050,6 @@ with only_when(toolkit_gtk):
|
|||
|
||||
with only_when("--enable-dbus"):
|
||||
pkg_check_modules("MOZ_DBUS", "dbus-1 >= 0.60")
|
||||
pkg_check_modules("MOZ_DBUS_GLIB", "dbus-glib-1 >= 0.60")
|
||||
|
||||
set_config("MOZ_ENABLE_DBUS", True)
|
||||
set_define("MOZ_ENABLE_DBUS", True)
|
||||
|
|
|
@ -28,5 +28,4 @@ LOCAL_INCLUDES += [
|
|||
]
|
||||
|
||||
CXXFLAGS += CONFIG["GLIB_CFLAGS"]
|
||||
CXXFLAGS += CONFIG["MOZ_DBUS_GLIB_CFLAGS"]
|
||||
CXXFLAGS += CONFIG["MOZ_GTK3_CFLAGS"]
|
||||
|
|
|
@ -267,7 +267,6 @@ if CONFIG["MOZ_WIDGET_TOOLKIT"] == "cocoa":
|
|||
]
|
||||
|
||||
CXXFLAGS += CONFIG["MOZ_DBUS_CFLAGS"]
|
||||
CXXFLAGS += CONFIG["MOZ_DBUS_GLIB_CFLAGS"]
|
||||
|
||||
if CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk":
|
||||
CXXFLAGS += CONFIG["MOZ_GTK3_CFLAGS"]
|
||||
|
|
|
@ -141,4 +141,3 @@ if CONFIG["MOZ_ENABLE_DBUS"]:
|
|||
|
||||
if CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk":
|
||||
CXXFLAGS += CONFIG["MOZ_GTK3_CFLAGS"]
|
||||
CXXFLAGS += CONFIG["MOZ_DBUS_GLIB_CFLAGS"]
|
||||
|
|
|
@ -174,6 +174,5 @@ if CONFIG["MOZ_ENABLE_DBUS"]:
|
|||
UNIFIED_SOURCES += [
|
||||
"AsyncDBus.cpp",
|
||||
]
|
||||
CXXFLAGS += CONFIG["MOZ_DBUS_GLIB_CFLAGS"]
|
||||
|
||||
CXXFLAGS += ["-Werror=switch"]
|
||||
|
|
|
@ -75,8 +75,6 @@ LOCAL_INCLUDES += [
|
|||
|
||||
if CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk":
|
||||
CXXFLAGS += CONFIG["MOZ_GTK3_CFLAGS"]
|
||||
if CONFIG["MOZ_ENABLE_DBUS"]:
|
||||
CXXFLAGS += CONFIG["MOZ_DBUS_GLIB_CFLAGS"]
|
||||
|
||||
include("/ipc/chromium/chromium-config.mozbuild")
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче