1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/webapprt/moz.build Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,48 @@ 1.4 +# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- 1.5 +# vim: set filetype=python: 1.6 +# This Source Code Form is subject to the terms of the Mozilla Public 1.7 +# License, v. 2.0. If a copy of the MPL was not distributed with this 1.8 +# file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.9 + 1.10 +if CONFIG['OS_ARCH'] == 'WINNT': 1.11 + DIRS += ['win'] 1.12 +elif CONFIG['OS_ARCH'] == 'Darwin': 1.13 + DIRS += ['mac'] 1.14 +elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gtk2': 1.15 + DIRS += ['gtk2'] 1.16 + 1.17 +DIRS += ['locales'] 1.18 + 1.19 +EXTRA_COMPONENTS += [ 1.20 + 'CommandLineHandler.js', 1.21 + 'components.manifest', 1.22 + 'ContentPermission.js', 1.23 + 'DirectoryProvider.js', 1.24 + 'PaymentUIGlue.js', 1.25 +] 1.26 + 1.27 +EXTRA_JS_MODULES += [ 1.28 + 'RemoteDebugger.jsm', 1.29 + 'Startup.jsm', 1.30 + 'WebappManager.jsm', 1.31 + 'WebappRT.jsm', 1.32 + 'WebRTCHandler.jsm', 1.33 +] 1.34 + 1.35 +MOCHITEST_WEBAPPRT_CHROME_MANIFESTS += ['test/chrome/webapprt.ini'] 1.36 +MOCHITEST_MANIFESTS += ['test/content/mochitest.ini'] 1.37 + 1.38 +# Place webapprt resources in a separate app dir 1.39 +DIST_SUBDIR = 'webapprt' 1.40 +export('DIST_SUBDIR') 1.41 + 1.42 +if CONFIG['MOZ_DEBUG']: 1.43 + DEFINES['MOZ_DEBUG'] = 1 1.44 + 1.45 +if CONFIG['MOZILLA_OFFICIAL']: 1.46 + DEFINES['MOZILLA_OFFICIAL'] = True 1.47 + 1.48 +DEFINES['GRE_MILESTONE'] = CONFIG['GRE_MILESTONE'] 1.49 +DEFINES['MOZ_APP_BASENAME'] = CONFIG['MOZ_APP_BASENAME'] 1.50 + 1.51 +JAR_MANIFESTS += ['jar.mn'] 1.52 \ No newline at end of file