2013-04-01 22:36:59 +04:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 00:47:22 +04:00
|
|
|
# vim: set filetype=python:
|
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
|
2013-10-20 11:25:19 +04:00
|
|
|
FAIL_ON_WARNINGS = True
|
|
|
|
|
2013-05-01 22:05:40 +04:00
|
|
|
PROGRAM = 'xpcshell'
|
|
|
|
|
2013-10-25 03:23:05 +04:00
|
|
|
SOURCES += [
|
2013-04-24 01:54:15 +04:00
|
|
|
'xpcshell.cpp',
|
|
|
|
]
|
2013-07-03 01:09:08 +04:00
|
|
|
|
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
|
2013-10-25 03:23:05 +04:00
|
|
|
SOURCES += [
|
2013-07-03 01:09:08 +04:00
|
|
|
'xpcshellMacUtils.mm',
|
|
|
|
]
|
2013-10-20 11:25:20 +04:00
|
|
|
|
|
|
|
DEFINES['JS_THREADSAFE'] = True
|
|
|
|
|
|
|
|
if CONFIG['MOZ_SHARK']:
|
|
|
|
DEFINES['MOZ_SHARK'] = True
|
|
|
|
if CONFIG['MOZ_CALLGRIND']:
|
|
|
|
DEFINES['MOZ_CALLGRIND'] = True
|
2013-10-02 21:17:55 +04:00
|
|
|
|
2013-12-31 13:06:11 +04:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/toolkit/xre',
|
|
|
|
]
|
|
|
|
|
2014-02-24 17:30:25 +04:00
|
|
|
if CONFIG['_MSC_VER']:
|
|
|
|
# Always enter a Windows program through wmain, whether or not we're
|
|
|
|
# a console application.
|
|
|
|
WIN32_EXE_LDFLAGS += ['-ENTRY:wmainCRTStartup']
|
2014-05-30 06:54:25 +04:00
|
|
|
|
|
|
|
if CONFIG['OS_ARCH'] == 'WINNT':
|
|
|
|
RCINCLUDE = 'xpcshell.rc'
|