webapprt/moz.build

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     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',
    22 ]
    24 EXTRA_JS_MODULES += [
    25     'RemoteDebugger.jsm',
    26     'Startup.jsm',
    27     'WebappManager.jsm',
    28     'WebappRT.jsm',
    29     'WebRTCHandler.jsm',
    30 ]
    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']
    48 JAR_MANIFESTS += ['jar.mn']

mercurial