2013-04-01 11:36:59 -07:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 12:47:20 -08: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 12:24:43 -07:00
|
|
|
EXPORTS += [
|
|
|
|
'nsGeoPosition.h',
|
|
|
|
'nsGeoPositionIPCSerialiser.h',
|
|
|
|
]
|
|
|
|
|
2013-11-26 08:38:52 -08:00
|
|
|
UNIFIED_SOURCES += [
|
2013-04-23 14:54:15 -07:00
|
|
|
'nsGeolocation.cpp',
|
2013-10-23 16:05:43 -07:00
|
|
|
'nsGeoPosition.cpp',
|
2013-04-23 14:54:15 -07:00
|
|
|
]
|
|
|
|
|
2013-08-21 23:55:59 -07:00
|
|
|
FAIL_ON_WARNINGS = True
|
|
|
|
|
2013-10-02 10:17:55 -07:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|
2014-07-22 16:37:51 -07:00
|
|
|
FINAL_LIBRARY = 'xul'
|
2013-11-11 00:04:11 -08:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/content/base/src',
|
|
|
|
'/dom/base',
|
|
|
|
'/dom/ipc',
|
|
|
|
]
|
|
|
|
|
2014-02-20 18:08:58 -08:00
|
|
|
if CONFIG['MOZ_ENABLE_QT5GEOPOSITION']:
|
2013-11-11 00:04:11 -08:00
|
|
|
LOCAL_INCLUDES += [
|
2014-03-22 05:38:40 -07:00
|
|
|
'/dom/system/qt',
|
2013-11-11 00:04:11 -08:00
|
|
|
]
|
2014-07-24 08:55:33 -07:00
|
|
|
CXXFLAGS += CONFIG['MOZ_QT_CFLAGS']
|
2013-11-11 00:04:11 -08: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',
|
|
|
|
]
|
|
|
|
|