2016-07-14 19:16:42 +03:00
|
|
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-06-12 05:41:21 +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/.
|
|
|
|
|
2017-03-01 16:20:25 +03:00
|
|
|
with Files("**"):
|
2019-03-18 02:13:22 +03:00
|
|
|
BUG_COMPONENT = ("Core", "DOM: Core & HTML")
|
2017-03-01 16:20:25 +03:00
|
|
|
|
2013-06-12 05:41:21 +04:00
|
|
|
EXPORTS.mozilla.dom += [
|
2018-08-18 19:43:22 +03:00
|
|
|
'Promise-inl.h',
|
2013-07-12 00:40:36 +04:00
|
|
|
'Promise.h',
|
2014-07-02 08:19:48 +04:00
|
|
|
'PromiseDebugging.h',
|
2014-02-24 17:56:54 +04:00
|
|
|
'PromiseNativeHandler.h',
|
|
|
|
'PromiseWorkerProxy.h',
|
2013-06-12 05:41:21 +04:00
|
|
|
]
|
|
|
|
|
2014-07-02 08:19:48 +04:00
|
|
|
UNIFIED_SOURCES += [
|
2013-07-12 00:40:36 +04:00
|
|
|
'Promise.cpp',
|
2016-02-10 01:40:31 +03:00
|
|
|
'PromiseDebugging.cpp',
|
2019-09-20 07:09:46 +03:00
|
|
|
'PromiseNativeHandler.cpp',
|
2013-06-12 05:41:21 +04:00
|
|
|
]
|
2013-08-22 10:55:59 +04:00
|
|
|
|
2013-09-13 20:25:21 +04:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'../base',
|
2015-04-10 18:27:57 +03:00
|
|
|
'../ipc',
|
2019-03-26 22:34:29 +03:00
|
|
|
'/js/xpconnect/src',
|
2013-09-13 20:25:21 +04:00
|
|
|
]
|
2013-11-19 06:47:14 +04:00
|
|
|
|
2015-04-10 18:27:57 +03:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|
2014-07-23 03:37:51 +04:00
|
|
|
FINAL_LIBRARY = 'xul'
|
2014-07-26 10:17:24 +04:00
|
|
|
|
|
|
|
MOCHITEST_MANIFESTS += ['tests/mochitest.ini']
|
2014-10-20 06:27:36 +04:00
|
|
|
|
|
|
|
MOCHITEST_CHROME_MANIFESTS += ['tests/chrome.ini']
|
2015-05-19 13:21:28 +03:00
|
|
|
|
|
|
|
XPCSHELL_TESTS_MANIFESTS += ['tests/unit/xpcshell.ini']
|
2016-05-11 10:00:01 +03: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-error=shadow']
|