Bug 948389 - Replace mozilla-banner.gif with a plain blue image in 405577-1.html...
[gecko.git] / webapprt / moz.build
blob0f298755d10ab6c05a37b219f4f33825cb42ddc6
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_WIDGET_TOOLKIT'] == 'gtk2':
12     DIRS += ['gtk2']
14 DIRS += ['locales']
16 EXTRA_COMPONENTS += [
17     'CommandLineHandler.js',
18     'components.manifest',
19     'ContentPermission.js',
20     'DirectoryProvider.js',
21     'PaymentUIGlue.js',
24 EXTRA_JS_MODULES += [
25     'RemoteDebugger.jsm',
26     'Startup.jsm',
27     'WebappRT.jsm',
28     'WebappsHandler.jsm',
29     'WebRTCHandler.jsm',
32 MOCHITEST_WEBAPPRT_CHROME_MANIFESTS += ['test/chrome/webapprt.ini']
33 MOCHITEST_MANIFESTS += ['test/content/mochitest.ini']
35 # Place webapprt resources in a separate app dir
36 DIST_SUBDIR = 'webapprt'
37 export('DIST_SUBDIR')
39 if CONFIG['MOZ_DEBUG']:
40     DEFINES['MOZ_DEBUG'] = 1
42 if CONFIG['MOZILLA_OFFICIAL']:
43     DEFINES['MOZILLA_OFFICIAL'] = True
45 DEFINES['GRE_MILESTONE'] = CONFIG['GRE_MILESTONE']
46 DEFINES['MOZ_APP_BASENAME'] = CONFIG['MOZ_APP_BASENAME']