2013-04-01 22:36:59 +04:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; 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/.
|
|
|
|
|
2013-04-16 23:24:43 +04:00
|
|
|
EXPORTS += [
|
2014-10-30 23:39:00 +03:00
|
|
|
'nsGeolocationSettings.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
'nsGeoPosition.h',
|
|
|
|
'nsGeoPositionIPCSerialiser.h',
|
|
|
|
]
|
|
|
|
|
2015-01-23 12:43:46 +03:00
|
|
|
SOURCES += [
|
|
|
|
'nsGeolocation.cpp',
|
|
|
|
]
|
|
|
|
|
2013-11-26 20:38:52 +04:00
|
|
|
UNIFIED_SOURCES += [
|
2015-02-28 03:15:32 +03:00
|
|
|
'MLSFallback.cpp',
|
2014-10-30 23:39:00 +03:00
|
|
|
'nsGeoGridFuzzer.cpp',
|
|
|
|
'nsGeolocationSettings.cpp',
|
2013-10-24 03:05:43 +04:00
|
|
|
'nsGeoPosition.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
]
|
|
|
|
|
2013-08-22 10:55:59 +04:00
|
|
|
FAIL_ON_WARNINGS = True
|
|
|
|
|
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',
|
|
|
|
]
|
|
|
|
|
2014-02-21 06:08:58 +04:00
|
|
|
if CONFIG['MOZ_ENABLE_QT5GEOPOSITION']:
|
2013-11-11 12:04:11 +04:00
|
|
|
LOCAL_INCLUDES += [
|
2014-03-22 16:38:40 +04:00
|
|
|
'/dom/system/qt',
|
2013-11-11 12:04:11 +04:00
|
|
|
]
|
2014-07-24 19:55:33 +04:00
|
|
|
CXXFLAGS += CONFIG['MOZ_QT_CFLAGS']
|
2013-11-11 12:04:11 +04:00
|
|
|
|
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android':
|
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/dom/system/android',
|
|
|
|
]
|
|
|
|
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
|
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/dom/system/gonk',
|
|
|
|
]
|
|
|
|
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',
|
|
|
|
]
|