2016-07-14 16:16:42 +00:00
|
|
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 20:47:20 +00: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 14:45:55 +00:00
|
|
|
with Files("**"):
|
|
|
|
BUG_COMPONENT = ("Core", "Geolocation")
|
|
|
|
|
2013-04-16 19:24:43 +00:00
|
|
|
EXPORTS += [
|
|
|
|
'nsGeoPosition.h',
|
|
|
|
'nsGeoPositionIPCSerialiser.h',
|
|
|
|
]
|
|
|
|
|
2015-01-23 09:43:46 +00:00
|
|
|
SOURCES += [
|
|
|
|
'nsGeolocation.cpp',
|
|
|
|
]
|
|
|
|
|
2013-11-26 16:38:52 +00:00
|
|
|
UNIFIED_SOURCES += [
|
2015-02-28 00:15:32 +00:00
|
|
|
'MLSFallback.cpp',
|
2013-10-23 23:05:43 +00:00
|
|
|
'nsGeoPosition.cpp',
|
2013-04-23 21:54:15 +00:00
|
|
|
]
|
|
|
|
|
2013-10-02 17:17:55 +00:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|
2014-07-22 23:37:51 +00:00
|
|
|
FINAL_LIBRARY = 'xul'
|
2013-11-11 08:04:11 +00: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 09:43:46 +00:00
|
|
|
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
|
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/dom/system/windows',
|
|
|
|
]
|
2018-01-10 09:04:59 +00:00
|
|
|
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gtk3':
|
2016-07-22 09:52:09 +00:00
|
|
|
if CONFIG['MOZ_GPSD']:
|
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/dom/system/linux',
|
|
|
|
]
|
|
|
|
DEFINES['MOZ_GPSD'] = True
|