Bumping manifests a=b2g-bump
[gecko.git] / dom / geolocation / moz.build
blobb05857bd0ce66011e53c086f4c4cbf1d5577d6ca
1 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 EXPORTS += [
8     'nsGeolocationSettings.h',
9     'nsGeoPosition.h',
10     'nsGeoPositionIPCSerialiser.h',
13 UNIFIED_SOURCES += [
14     'nsGeoGridFuzzer.cpp',
15     'nsGeolocation.cpp',
16     'nsGeolocationSettings.cpp',
17     'nsGeoPosition.cpp',
20 FAIL_ON_WARNINGS = True
22 include('/ipc/chromium/chromium-config.mozbuild')
24 FINAL_LIBRARY = 'xul'
25 LOCAL_INCLUDES += [
26     '/dom/base',
27     '/dom/ipc',
30 if CONFIG['MOZ_ENABLE_QT5GEOPOSITION']:
31     LOCAL_INCLUDES += [
32         '/dom/system/qt',
33     ]
34     CXXFLAGS += CONFIG['MOZ_QT_CFLAGS']
36 if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android':
37     LOCAL_INCLUDES += [
38         '/dom/system/android',
39     ]
40 elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
41     LOCAL_INCLUDES += [
42         '/dom/system/gonk',
43     ]
44 elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
45     LOCAL_INCLUDES += [
46         '/dom/system/mac',
47     ]