2013-04-01 11:36:59 -07:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 12:47:22 -08: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 00:25:19 -07:00
|
|
|
FAIL_ON_WARNINGS = True
|
|
|
|
|
2013-03-19 11:47:00 -07:00
|
|
|
MODULE = 'xpcshell'
|
|
|
|
|
2013-05-01 11:05:40 -07:00
|
|
|
PROGRAM = 'xpcshell'
|
|
|
|
|
2013-04-23 14:54:15 -07:00
|
|
|
CPP_SOURCES += [
|
|
|
|
'xpcshell.cpp',
|
|
|
|
]
|
2013-07-02 14:09:08 -07:00
|
|
|
|
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
|
|
|
|
CMMSRCS += [
|
|
|
|
'xpcshellMacUtils.mm',
|
|
|
|
]
|
2013-10-20 00:25:20 -07:00
|
|
|
|
|
|
|
DEFINES['JS_THREADSAFE'] = True
|
|
|
|
|
|
|
|
if CONFIG['MOZ_SHARK']:
|
|
|
|
DEFINES['MOZ_SHARK'] = True
|
|
|
|
if CONFIG['MOZ_CALLGRIND']:
|
|
|
|
DEFINES['MOZ_CALLGRIND'] = True
|
|
|
|
if CONFIG['MOZ_VTUNE']:
|
|
|
|
DEFINES['MOZ_VTUNE'] = True
|
2013-10-02 10:17:55 -07:00
|
|
|
|
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|