2016-07-14 19:16:42 +03:00
|
|
|
# -*- Mode: python; 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-11-28 17:47:03 +04:00
|
|
|
UNIFIED_SOURCES += [
|
2014-11-20 02:54:34 +03:00
|
|
|
'CPOWTimer.cpp',
|
2013-07-03 11:24:32 +04:00
|
|
|
'JavaScriptChild.cpp',
|
|
|
|
'JavaScriptParent.cpp',
|
|
|
|
'JavaScriptShared.cpp',
|
2014-05-17 03:40:36 +04:00
|
|
|
'WrapperAnswer.cpp',
|
2014-05-17 03:40:36 +04:00
|
|
|
'WrapperOwner.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
]
|
|
|
|
|
2013-07-01 17:56:28 +04:00
|
|
|
IPDL_SOURCES += [
|
|
|
|
'JavaScriptTypes.ipdlh',
|
|
|
|
'PJavaScript.ipdl',
|
|
|
|
]
|
2013-08-22 10:55:59 +04:00
|
|
|
|
2013-10-02 21:17:55 +04:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|
2013-11-19 06:47:14 +04:00
|
|
|
FINAL_LIBRARY = 'xul'
|
2013-11-27 17:55:07 +04:00
|
|
|
|
|
|
|
DEFINES['BIN_SUFFIX'] = '"%s"' % CONFIG['BIN_SUFFIX']
|
2013-12-31 13:06:11 +04:00
|
|
|
|
2015-01-27 00:32:18 +03:00
|
|
|
EXPORTS.mozilla.jsipc = [
|
|
|
|
'CpowHolder.h',
|
|
|
|
'CrossProcessObjectWrappers.h',
|
|
|
|
]
|
|
|
|
|
2013-12-31 13:06:11 +04:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/dom/base',
|
|
|
|
'/js/ipc',
|
2015-03-31 13:40:52 +03:00
|
|
|
'/js/src',
|
2013-12-31 13:06:11 +04:00
|
|
|
'/js/xpconnect/src',
|
2014-08-06 08:43:36 +04:00
|
|
|
'/js/xpconnect/wrappers',
|
2013-12-31 13:06:11 +04:00
|
|
|
]
|
|
|
|
|
2017-12-08 00:09:15 +03:00
|
|
|
if CONFIG['CC_TYPE'] in ('clang', 'gcc'):
|
2016-05-11 10:00:01 +03:00
|
|
|
CXXFLAGS += ['-Wno-shadow']
|