Bumping manifests a=b2g-bump
[gecko.git] / webapprt / moz.build
blob11773910f1bdd7bce97d0fe4d530dbe21e3924bf
1 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 if CONFIG['OS_ARCH'] == 'WINNT':
8     DIRS += ['win']
9 elif CONFIG['OS_ARCH'] == 'Darwin':
10     DIRS += ['mac']
11 elif CONFIG['MOZ_ENABLE_GTK']:
12     DIRS += ['gtk']
14 DIRS += [
15     'locales',
16     'themes',
19 EXTRA_COMPONENTS += [
20     'CommandLineHandler.js',
21     'components.manifest',
22     'ContentPermission.js',
23     'DirectoryProvider.js',
24     'PaymentUIGlue.js',
27 EXTRA_JS_MODULES += [
28     'DownloadView.jsm',
29     'RemoteDebugger.jsm',
30     'Startup.jsm',
31     'WebappManager.jsm',
32     'WebappRT.jsm',
33     'WebRTCHandler.jsm',
36 MOCHITEST_WEBAPPRT_CHROME_MANIFESTS += [
37     'test/chrome/downloads/webapprt.ini',
38     'test/chrome/webapprt.ini',
40 MOCHITEST_MANIFESTS += ['test/content/mochitest.ini']
42 # Place webapprt resources in a separate app dir
43 DIST_SUBDIR = 'webapprt'
44 export('DIST_SUBDIR')
46 if CONFIG['MOZ_DEBUG']:
47     DEFINES['MOZ_DEBUG'] = 1
49 if CONFIG['MOZILLA_OFFICIAL']:
50     DEFINES['MOZILLA_OFFICIAL'] = True
52 DEFINES['GRE_MILESTONE'] = CONFIG['GRE_MILESTONE']
53 DEFINES['MOZ_APP_BASENAME'] = CONFIG['MOZ_APP_BASENAME']
55 JAR_MANIFESTS += ['jar.mn']