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']
|
|
|
|
|
2013-06-10 05:36:26 -07:00
|
|
|
if toolkit in ('qt', 'gtk2', 'gtk3'):
|
2013-02-25 12:47:20 -08:00
|
|
|
DIRS += ['unix']
|
|
|
|
elif toolkit == 'windows':
|
|
|
|
DIRS += ['windows']
|
|
|
|
elif toolkit == 'android':
|
|
|
|
DIRS += ['android']
|
|
|
|
|
|
|
|
if CONFIG['MOZ_B2G_RIL']:
|
|
|
|
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-03-19 11:47:00 -07:00
|
|
|
MODULE = 'dom'
|
|
|
|
|
2013-04-16 12:24:43 -07:00
|
|
|
EXPORTS += [
|
|
|
|
'nsDeviceSensors.h',
|
|
|
|
]
|
|
|
|
|
|
|
|
if CONFIG['MOZ_GAMEPAD']:
|
|
|
|
EXPORTS.mozilla.dom = [
|
|
|
|
'GamepadService.h',
|
|
|
|
]
|
2013-04-23 14:54:15 -07:00
|
|
|
CPP_SOURCES += [
|
|
|
|
'GamepadService.cpp',
|
|
|
|
]
|
2013-04-16 12:24:43 -07:00
|
|
|
|
|
|
|
EXPORTS.mozilla += [
|
|
|
|
'OSFileConstants.h',
|
|
|
|
]
|
|
|
|
|
2013-04-23 14:54:15 -07:00
|
|
|
CPP_SOURCES += [
|
|
|
|
'OSFileConstants.cpp',
|
|
|
|
'nsDeviceSensors.cpp',
|
|
|
|
]
|
|
|
|
|