1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/xulrunner/stub/moz.build Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,41 @@ 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 +# The value of XULRUNNER_STUB_NAME is generated by configure to allow XULRunner 1.11 +# apps to override it using the --with-xulrunner-stub-name=<appname> argument. 1.12 +# If this configure argument is not present then the default name is 1.13 +# 'xulrunner-stub'. 1.14 +PROGRAM = CONFIG['XULRUNNER_STUB_NAME'] 1.15 + 1.16 +SOURCES += [ 1.17 + 'nsXULStub.cpp', 1.18 +] 1.19 + 1.20 +if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa': 1.21 + FINAL_TARGET = 'dist/XUL.framework/Versions/%(MOZILLA_VERSION)s' % CONFIG 1.22 + 1.23 +DEFINES['XPCOM_GLUE'] = True 1.24 + 1.25 +LOCAL_INCLUDES += [ 1.26 + '/xpcom/base', 1.27 + '/xpcom/build', 1.28 +] 1.29 + 1.30 + 1.31 +# Statically link against the RTL on windows 1.32 +USE_STATIC_LIBS = True 1.33 + 1.34 +if CONFIG['OS_ARCH'] == 'WINNT': 1.35 + LOCAL_INCLUDES += ['/toolkit/xre'] 1.36 + 1.37 +if CONFIG['_MSC_VER']: 1.38 + WIN32_EXE_LDFLAGS += ['-ENTRY:wmainCRTStartup'] 1.39 + 1.40 +if CONFIG['OS_ARCH'] == 'WINNT': 1.41 + DEFINES['MOZ_XULRUNNER'] = True 1.42 + RCINCLUDE = 'xulrunner-stub.rc' 1.43 + 1.44 +DISABLE_STL_WRAPPING = True