michael@0: # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- michael@0: # vim: set filetype=python: michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: if CONFIG['OS_ARCH'] == 'WINNT': michael@0: DIRS += ['win'] michael@0: elif CONFIG['OS_ARCH'] == 'Darwin': michael@0: DIRS += ['mac'] michael@0: elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gtk2': michael@0: DIRS += ['gtk2'] michael@0: michael@0: DIRS += ['locales'] michael@0: michael@0: EXTRA_COMPONENTS += [ michael@0: 'CommandLineHandler.js', michael@0: 'components.manifest', michael@0: 'ContentPermission.js', michael@0: 'DirectoryProvider.js', michael@0: 'PaymentUIGlue.js', michael@0: ] michael@0: michael@0: EXTRA_JS_MODULES += [ michael@0: 'RemoteDebugger.jsm', michael@0: 'Startup.jsm', michael@0: 'WebappManager.jsm', michael@0: 'WebappRT.jsm', michael@0: 'WebRTCHandler.jsm', michael@0: ] michael@0: michael@0: MOCHITEST_WEBAPPRT_CHROME_MANIFESTS += ['test/chrome/webapprt.ini'] michael@0: MOCHITEST_MANIFESTS += ['test/content/mochitest.ini'] michael@0: michael@0: # Place webapprt resources in a separate app dir michael@0: DIST_SUBDIR = 'webapprt' michael@0: export('DIST_SUBDIR') michael@0: michael@0: if CONFIG['MOZ_DEBUG']: michael@0: DEFINES['MOZ_DEBUG'] = 1 michael@0: michael@0: if CONFIG['MOZILLA_OFFICIAL']: michael@0: DEFINES['MOZILLA_OFFICIAL'] = True michael@0: michael@0: DEFINES['GRE_MILESTONE'] = CONFIG['GRE_MILESTONE'] michael@0: DEFINES['MOZ_APP_BASENAME'] = CONFIG['MOZ_APP_BASENAME'] michael@0: michael@0: JAR_MANIFESTS += ['jar.mn']