2013-04-01 22:36:59 +04:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 01:20:01 +04: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':
|
2014-05-21 15:49:57 +04:00
|
|
|
DIRS += ['gtk']
|
2013-02-26 01:20:01 +04:00
|
|
|
|
2013-04-12 12:23:10 +04:00
|
|
|
DIRS += ['locales']
|
2013-07-01 19:34:30 +04:00
|
|
|
|
2013-06-12 00:38:22 +04:00
|
|
|
EXTRA_COMPONENTS += [
|
|
|
|
'CommandLineHandler.js',
|
2013-10-24 03:05:43 +04:00
|
|
|
'components.manifest',
|
2013-06-12 00:38:22 +04:00
|
|
|
'ContentPermission.js',
|
|
|
|
'DirectoryProvider.js',
|
2013-09-27 22:38:14 +04:00
|
|
|
'PaymentUIGlue.js',
|
2013-06-12 00:38:22 +04:00
|
|
|
]
|
|
|
|
|
2013-07-01 19:34:30 +04:00
|
|
|
EXTRA_JS_MODULES += [
|
2013-09-11 04:59:04 +04:00
|
|
|
'RemoteDebugger.jsm',
|
2013-07-01 19:34:30 +04:00
|
|
|
'Startup.jsm',
|
2014-03-16 01:37:37 +04:00
|
|
|
'WebappManager.jsm',
|
2013-07-01 19:34:30 +04:00
|
|
|
'WebappRT.jsm',
|
2013-10-24 03:05:43 +04:00
|
|
|
'WebRTCHandler.jsm',
|
2013-07-01 19:34:30 +04:00
|
|
|
]
|
2013-10-09 17:16:18 +04:00
|
|
|
|
|
|
|
MOCHITEST_WEBAPPRT_CHROME_MANIFESTS += ['test/chrome/webapprt.ini']
|
|
|
|
MOCHITEST_MANIFESTS += ['test/content/mochitest.ini']
|
|
|
|
|
2013-10-21 22:10:04 +04:00
|
|
|
# Place webapprt resources in a separate app dir
|
|
|
|
DIST_SUBDIR = 'webapprt'
|
|
|
|
export('DIST_SUBDIR')
|
2013-11-27 17:55:07 +04: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 11:18:11 +04:00
|
|
|
|
2014-05-21 15:49:57 +04:00
|
|
|
JAR_MANIFESTS += ['jar.mn']
|