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