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/.
|
|
|
|
|
|
|
|
toolkit = CONFIG['MOZ_WIDGET_TOOLKIT']
|
|
|
|
|
2014-02-20 18:09:02 -08:00
|
|
|
if toolkit in ('qt'):
|
|
|
|
DIRS += ['qt']
|
2013-02-25 12:47:20 -08:00
|
|
|
elif toolkit == 'windows':
|
|
|
|
DIRS += ['windows']
|
2013-07-01 06:43:17 -07:00
|
|
|
elif toolkit == 'cocoa':
|
|
|
|
DIRS += ['mac']
|
2013-02-25 12:47:20 -08:00
|
|
|
elif toolkit == 'android':
|
|
|
|
DIRS += ['android']
|
2013-10-29 01:12:45 -07:00
|
|
|
elif toolkit == 'gonk':
|
2013-02-25 12:47:20 -08:00
|
|
|
DIRS += ['gonk']
|
|
|
|
|
|
|
|
TEST_DIRS += ['tests']
|
2013-03-12 10:17:46 -07:00
|
|
|
|
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'nsIOSFileConstantsService.idl',
|
|
|
|
]
|
|
|
|
|
2013-03-11 22:00:00 -07:00
|
|
|
XPIDL_MODULE = 'dom_system'
|
|
|
|
|
2013-04-16 12:24:43 -07:00
|
|
|
EXPORTS += [
|
|
|
|
'nsDeviceSensors.h',
|
|
|
|
]
|
|
|
|
|
|
|
|
EXPORTS.mozilla += [
|
|
|
|
'OSFileConstants.h',
|
|
|
|
]
|
|
|
|
|
2013-11-26 08:38:52 -08:00
|
|
|
UNIFIED_SOURCES += [
|
2013-04-23 14:54:15 -07:00
|
|
|
'nsDeviceSensors.cpp',
|
2013-10-23 16:05:43 -07:00
|
|
|
'OSFileConstants.cpp',
|
2013-04-23 14:54:15 -07:00
|
|
|
]
|
|
|
|
|
2014-02-25 16:06:01 -08:00
|
|
|
EXTRA_COMPONENTS += [
|
|
|
|
'NetworkGeolocationProvider.js',
|
|
|
|
'NetworkGeolocationProvider.manifest',
|
|
|
|
]
|
2013-06-11 13:38:22 -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')
|
|
|
|
|
2013-11-18 18:47:14 -08:00
|
|
|
FINAL_LIBRARY = 'gklayout'
|
2013-11-11 00:04:11 -08:00
|
|
|
# We fire the nsDOMDeviceAcceleration
|
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/dom/base',
|
|
|
|
'/dom/bindings',
|
|
|
|
'/js/xpconnect/loader',
|
|
|
|
]
|
|
|
|
|
|
|
|
DEFINES['DLL_PREFIX'] = '"%s"' % CONFIG['DLL_PREFIX']
|
|
|
|
DEFINES['DLL_SUFFIX'] = '"%s"' % CONFIG['DLL_SUFFIX']
|