2016-07-14 19:16:42 +03:00
|
|
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 00:47:20 +04:00
|
|
|
# vim: set filetype=python:
|
|
|
|
# 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/.
|
|
|
|
|
2017-02-06 17:45:55 +03:00
|
|
|
with Files("**"):
|
2019-04-02 19:39:03 +03:00
|
|
|
BUG_COMPONENT = ("Core", "DOM: Geolocation")
|
2017-02-06 17:45:55 +03:00
|
|
|
|
2013-04-16 23:24:43 +04:00
|
|
|
EXPORTS += [
|
|
|
|
"nsGeoPositionIPCSerialiser.h",
|
|
|
|
]
|
|
|
|
|
2018-06-02 05:35:42 +03:00
|
|
|
EXPORTS.mozilla.dom += [
|
2019-11-14 07:18:04 +03:00
|
|
|
"Geolocation.h",
|
|
|
|
"GeolocationCoordinates.h",
|
|
|
|
"GeolocationPosition.h",
|
2019-11-06 15:35:42 +03:00
|
|
|
"GeolocationPositionError.h",
|
2018-06-02 05:35:42 +03:00
|
|
|
]
|
|
|
|
|
2015-01-23 12:43:46 +03:00
|
|
|
SOURCES += [
|
2019-11-14 07:18:04 +03:00
|
|
|
"Geolocation.cpp",
|
|
|
|
"GeolocationCoordinates.cpp",
|
|
|
|
"GeolocationPosition.cpp",
|
2019-11-06 15:35:42 +03:00
|
|
|
"GeolocationPositionError.cpp",
|
2015-01-23 12:43:46 +03:00
|
|
|
]
|
|
|
|
|
2013-11-26 20:38:52 +04:00
|
|
|
UNIFIED_SOURCES += [
|
2015-02-28 03:15:32 +03:00
|
|
|
"MLSFallback.cpp",
|
2013-04-24 01:54:15 +04:00
|
|
|
]
|
|
|
|
|
2013-10-02 21:17:55 +04:00
|
|
|
include("/ipc/chromium/chromium-config.mozbuild")
|
|
|
|
|
2014-07-23 03:37:51 +04:00
|
|
|
FINAL_LIBRARY = "xul"
|
2013-11-11 12:04:11 +04:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
"/dom/base",
|
|
|
|
"/dom/ipc",
|
|
|
|
]
|
|
|
|
|
|
|
|
if CONFIG["MOZ_WIDGET_TOOLKIT"] == "android":
|
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
"/dom/system/android",
|
|
|
|
]
|
|
|
|
elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "cocoa":
|
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
"/dom/system/mac",
|
|
|
|
]
|
2015-01-23 12:43:46 +03:00
|
|
|
elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "windows":
|
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
"/dom/system/windows",
|
|
|
|
]
|
2019-08-21 15:25:42 +03:00
|
|
|
elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk":
|
2016-07-22 12:52:09 +03:00
|
|
|
if CONFIG["MOZ_GPSD"]:
|
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
"/dom/system/linux",
|
|
|
|
]
|
|
|
|
DEFINES["MOZ_GPSD"] = True
|
2022-04-19 14:42:38 +03:00
|
|
|
if CONFIG["MOZ_ENABLE_DBUS"]:
|
|
|
|
LOCAL_INCLUDES += ["/dom/system/linux"]
|
|
|
|
CXXFLAGS += CONFIG["MOZ_DBUS_GLIB_CFLAGS"]
|
|
|
|
CXXFLAGS += CONFIG["MOZ_GTK3_CFLAGS"]
|