Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
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 'nsGeoPosition.h',
9 'nsGeoPositionIPCSerialiser.h',
10 ]
12 UNIFIED_SOURCES += [
13 'nsGeolocation.cpp',
14 'nsGeoPosition.cpp',
15 ]
17 FAIL_ON_WARNINGS = True
19 include('/ipc/chromium/chromium-config.mozbuild')
21 FINAL_LIBRARY = 'gklayout'
22 LOCAL_INCLUDES += [
23 '/content/base/src',
24 '/dom/base',
25 '/dom/ipc',
26 ]
28 if CONFIG['MOZ_ENABLE_QT5GEOPOSITION']:
29 LOCAL_INCLUDES += [
30 '/dom/system/qt',
31 ]
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 ]