1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dom/src/geolocation/moz.build Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,45 @@ 1.4 +# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- 1.5 +# vim: set filetype=python: 1.6 +# This Source Code Form is subject to the terms of the Mozilla Public 1.7 +# License, v. 2.0. If a copy of the MPL was not distributed with this 1.8 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.9 + 1.10 +EXPORTS += [ 1.11 + 'nsGeoPosition.h', 1.12 + 'nsGeoPositionIPCSerialiser.h', 1.13 +] 1.14 + 1.15 +UNIFIED_SOURCES += [ 1.16 + 'nsGeolocation.cpp', 1.17 + 'nsGeoPosition.cpp', 1.18 +] 1.19 + 1.20 +FAIL_ON_WARNINGS = True 1.21 + 1.22 +include('/ipc/chromium/chromium-config.mozbuild') 1.23 + 1.24 +FINAL_LIBRARY = 'gklayout' 1.25 +LOCAL_INCLUDES += [ 1.26 + '/content/base/src', 1.27 + '/dom/base', 1.28 + '/dom/ipc', 1.29 +] 1.30 + 1.31 +if CONFIG['MOZ_ENABLE_QT5GEOPOSITION']: 1.32 + LOCAL_INCLUDES += [ 1.33 + '/dom/system/qt', 1.34 + ] 1.35 + 1.36 +if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android': 1.37 + LOCAL_INCLUDES += [ 1.38 + '/dom/system/android', 1.39 + ] 1.40 +elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk': 1.41 + LOCAL_INCLUDES += [ 1.42 + '/dom/system/gonk', 1.43 + ] 1.44 +elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa': 1.45 + LOCAL_INCLUDES += [ 1.46 + '/dom/system/mac', 1.47 + ] 1.48 +