mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
c0d13a09b6
Gpsd is the GPS daemon on Linux. It implements support for a wide range of GPS receivers. This patch adds support for gpsd to the Geolocation module. The build system can now test for libgps, which provides the public interface to gpsd's functionality. If found, |GpsdLocationProvider| is added to the build. MozReview-Commit-ID: 1kBgFdEZePI
21 lines
553 B
Python
21 lines
553 B
Python
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
|
# 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/.
|
|
|
|
if CONFIG['MOZ_GPSD']:
|
|
SOURCES += [
|
|
'GpsdLocationProvider.cpp'
|
|
]
|
|
|
|
CXXFLAGS += CONFIG['MOZ_GPSD_CFLAGS']
|
|
|
|
OS_LIBS += CONFIG['MOZ_GPSD_LIBS']
|
|
|
|
LOCAL_INCLUDES += [
|
|
'/dom/geolocation'
|
|
]
|
|
|
|
FINAL_LIBRARY = 'xul'
|