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/.
|
|
|
|
|
2015-08-29 02:41:02 +03:00
|
|
|
with Files('**'):
|
|
|
|
BUG_COMPONENT = ('Firefox', 'Webapp Runtime')
|
|
|
|
|
2013-02-26 01:20:01 +04:00
|
|
|
if CONFIG['OS_ARCH'] == 'WINNT':
|
|
|
|
DIRS += ['win']
|
|
|
|
elif CONFIG['OS_ARCH'] == 'Darwin':
|
|
|
|
DIRS += ['mac']
|
2014-05-21 15:50:03 +04:00
|
|
|
elif CONFIG['MOZ_ENABLE_GTK']:
|
2014-05-21 15:49:57 +04:00
|
|
|
DIRS += ['gtk']
|
2013-02-26 01:20:01 +04:00
|
|
|
|
2014-08-19 16:50:00 +04:00
|
|
|
DIRS += [
|
|
|
|
'locales',
|
|
|
|
'themes',
|
|
|
|
]
|
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 += [
|
2014-08-19 16:50:00 +04:00
|
|
|
'DownloadView.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
|
|
|
|
2014-08-19 16:50:00 +04:00
|
|
|
MOCHITEST_WEBAPPRT_CHROME_MANIFESTS += [
|
|
|
|
'test/chrome/downloads/webapprt.ini',
|
|
|
|
'test/chrome/webapprt.ini',
|
|
|
|
]
|
2014-11-13 14:30:00 +03:00
|
|
|
MOCHITEST_WEBAPPRT_CONTENT_MANIFESTS += ['test/content/webapprt.ini']
|
2013-10-09 17:16:18 +04:00
|
|
|
|
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
|
|
|
|
|
|
|
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']
|
2015-01-20 21:07:03 +03:00
|
|
|
|
2015-11-28 03:42:40 +03:00
|
|
|
JS_PREFERENCE_PP_FILES += [
|
2015-01-20 21:07:03 +03:00
|
|
|
'prefs.js',
|
|
|
|
]
|
2015-10-28 07:57:27 +03:00
|
|
|
|
2015-11-27 03:09:07 +03:00
|
|
|
FINAL_TARGET_PP_FILES += [
|
2015-10-28 07:57:27 +03:00
|
|
|
'webapprt.ini',
|
|
|
|
]
|
2016-02-09 08:36:07 +03:00
|
|
|
|
|
|
|
DEFINES['TOPOBJDIR'] = TOPOBJDIR
|