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