|
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/. |
|
6 |
|
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'] |
|
13 |
|
14 DIRS += ['locales'] |
|
15 |
|
16 EXTRA_COMPONENTS += [ |
|
17 'CommandLineHandler.js', |
|
18 'components.manifest', |
|
19 'ContentPermission.js', |
|
20 'DirectoryProvider.js', |
|
21 'PaymentUIGlue.js', |
|
22 ] |
|
23 |
|
24 EXTRA_JS_MODULES += [ |
|
25 'RemoteDebugger.jsm', |
|
26 'Startup.jsm', |
|
27 'WebappManager.jsm', |
|
28 'WebappRT.jsm', |
|
29 'WebRTCHandler.jsm', |
|
30 ] |
|
31 |
|
32 MOCHITEST_WEBAPPRT_CHROME_MANIFESTS += ['test/chrome/webapprt.ini'] |
|
33 MOCHITEST_MANIFESTS += ['test/content/mochitest.ini'] |
|
34 |
|
35 # Place webapprt resources in a separate app dir |
|
36 DIST_SUBDIR = 'webapprt' |
|
37 export('DIST_SUBDIR') |
|
38 |
|
39 if CONFIG['MOZ_DEBUG']: |
|
40 DEFINES['MOZ_DEBUG'] = 1 |
|
41 |
|
42 if CONFIG['MOZILLA_OFFICIAL']: |
|
43 DEFINES['MOZILLA_OFFICIAL'] = True |
|
44 |
|
45 DEFINES['GRE_MILESTONE'] = CONFIG['GRE_MILESTONE'] |
|
46 DEFINES['MOZ_APP_BASENAME'] = CONFIG['MOZ_APP_BASENAME'] |
|
47 |
|
48 JAR_MANIFESTS += ['jar.mn'] |