webapprt/moz.build

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

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

mercurial