2013-04-01 18:36:59 +00:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 21:20:01 +00: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/.
|
|
|
|
|
|
|
|
if CONFIG['OS_ARCH'] == 'WINNT':
|
|
|
|
DIRS += ['win']
|
|
|
|
elif CONFIG['OS_ARCH'] == 'Darwin':
|
|
|
|
DIRS += ['mac']
|
|
|
|
elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gtk2':
|
|
|
|
DIRS += ['gtk2']
|
|
|
|
|
2013-04-12 08:23:10 +00:00
|
|
|
DIRS += ['locales']
|
2013-07-01 15:34:30 +00:00
|
|
|
|
2013-06-11 20:38:22 +00:00
|
|
|
EXTRA_COMPONENTS += [
|
|
|
|
'CommandLineHandler.js',
|
2013-10-23 23:05:43 +00:00
|
|
|
'components.manifest',
|
2013-06-11 20:38:22 +00:00
|
|
|
'ContentPermission.js',
|
|
|
|
'DirectoryProvider.js',
|
2013-09-27 18:38:14 +00:00
|
|
|
'PaymentUIGlue.js',
|
2013-06-11 20:38:22 +00:00
|
|
|
]
|
|
|
|
|
2013-07-01 15:34:30 +00:00
|
|
|
EXTRA_JS_MODULES += [
|
2013-09-11 00:59:04 +00:00
|
|
|
'RemoteDebugger.jsm',
|
2013-07-01 15:34:30 +00:00
|
|
|
'Startup.jsm',
|
|
|
|
'WebappRT.jsm',
|
|
|
|
'WebappsHandler.jsm',
|
2013-10-23 23:05:43 +00:00
|
|
|
'WebRTCHandler.jsm',
|
2013-07-01 15:34:30 +00:00
|
|
|
]
|
2013-10-09 13:16:18 +00:00
|
|
|
|
|
|
|
MOCHITEST_WEBAPPRT_CHROME_MANIFESTS += ['test/chrome/webapprt.ini']
|
|
|
|
MOCHITEST_MANIFESTS += ['test/content/mochitest.ini']
|
|
|
|
|
2013-10-21 18:10:04 +00:00
|
|
|
# Place webapprt resources in a separate app dir
|
|
|
|
DIST_SUBDIR = 'webapprt'
|
|
|
|
export('DIST_SUBDIR')
|
2013-11-27 13:55:07 +00:00
|
|
|
|
|
|
|
if CONFIG['MOZ_DEBUG']:
|
|
|
|
DEFINES['MOZ_DEBUG'] = 1
|
|
|
|
|
|
|
|
if CONFIG['MOZILLA_OFFICIAL']:
|
|
|
|
DEFINES['MOZILLA_OFFICIAL'] = True
|
|
|
|
|
|
|
|
DEFINES['GRE_MILESTONE'] = CONFIG['GRE_MILESTONE']
|
|
|
|
DEFINES['MOZ_APP_BASENAME'] = CONFIG['MOZ_APP_BASENAME']
|
2013-12-10 07:18:11 +00:00
|
|
|
|
|
|
|
JAR_MANIFESTS += ['jar.mn']
|