Bug 1639230: Remove vendor prefix for printing with webdriver r=jgraham,webdriver...
[gecko.git] / dom / promise / moz.build
blob3758801f9890b463d00262837d850dd8fcdc6b2a
1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 with Files("**"):
8     BUG_COMPONENT = ("Core", "DOM: Core & HTML")
10 EXPORTS.mozilla.dom += [
11     'Promise-inl.h',
12     'Promise.h',
13     'PromiseDebugging.h',
14     'PromiseNativeHandler.h',
15     'PromiseWorkerProxy.h',
18 UNIFIED_SOURCES += [
19     'Promise.cpp',
20     'PromiseDebugging.cpp',
21     'PromiseNativeHandler.cpp',
24 LOCAL_INCLUDES += [
25     '../base',
26     '../ipc',
27     '/js/xpconnect/src',
30 include('/ipc/chromium/chromium-config.mozbuild')
32 FINAL_LIBRARY = 'xul'
34 MOCHITEST_MANIFESTS += ['tests/mochitest.ini']
36 MOCHITEST_CHROME_MANIFESTS += ['tests/chrome.ini']
38 XPCSHELL_TESTS_MANIFESTS += ['tests/unit/xpcshell.ini']
40 if CONFIG['CC_TYPE'] in ('clang', 'gcc'):
41     CXXFLAGS += ['-Wno-error=shadow']