dom/src/geolocation/moz.build

branch
TOR_BUG_9701
changeset 15
b8a032363ba2
equal deleted inserted replaced
-1:000000000000 0:fafd4dcc9391
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/.
6
7 EXPORTS += [
8 'nsGeoPosition.h',
9 'nsGeoPositionIPCSerialiser.h',
10 ]
11
12 UNIFIED_SOURCES += [
13 'nsGeolocation.cpp',
14 'nsGeoPosition.cpp',
15 ]
16
17 FAIL_ON_WARNINGS = True
18
19 include('/ipc/chromium/chromium-config.mozbuild')
20
21 FINAL_LIBRARY = 'gklayout'
22 LOCAL_INCLUDES += [
23 '/content/base/src',
24 '/dom/base',
25 '/dom/ipc',
26 ]
27
28 if CONFIG['MOZ_ENABLE_QT5GEOPOSITION']:
29 LOCAL_INCLUDES += [
30 '/dom/system/qt',
31 ]
32
33 if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android':
34 LOCAL_INCLUDES += [
35 '/dom/system/android',
36 ]
37 elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
38 LOCAL_INCLUDES += [
39 '/dom/system/gonk',
40 ]
41 elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
42 LOCAL_INCLUDES += [
43 '/dom/system/mac',
44 ]
45

mercurial