2016-07-14 19:16:42 +03:00
|
|
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 00:47:20 +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-04-09 12:43:43 +03:00
|
|
|
with Files('**'):
|
|
|
|
BUG_COMPONENT = ('Core', 'Window Management')
|
|
|
|
|
2016-04-29 22:28:29 +03:00
|
|
|
TEST_DIRS += ['test']
|
|
|
|
|
2014-08-20 21:27:17 +04:00
|
|
|
XPIDL_SOURCES += [
|
|
|
|
'nsIDialogParamBlock.idl',
|
|
|
|
'nsIPromptFactory.idl',
|
|
|
|
'nsIPromptService.idl',
|
|
|
|
'nsIWindowWatcher.idl',
|
|
|
|
'nsPIPromptService.idl',
|
|
|
|
'nsPIWindowWatcher.idl',
|
|
|
|
]
|
|
|
|
|
|
|
|
XPIDL_MODULE = 'windowwatcher'
|
|
|
|
|
|
|
|
EXPORTS += [
|
|
|
|
'nsPromptUtils.h',
|
|
|
|
]
|
|
|
|
|
|
|
|
UNIFIED_SOURCES += [
|
|
|
|
'nsAutoWindowStateHelper.cpp',
|
|
|
|
'nsWindowWatcher.cpp',
|
|
|
|
]
|
|
|
|
|
|
|
|
EXPORTS += [
|
|
|
|
'nsWindowWatcher.h',
|
|
|
|
]
|
|
|
|
|
|
|
|
if CONFIG['MOZ_XUL']:
|
|
|
|
UNIFIED_SOURCES += [
|
|
|
|
'nsDialogParamBlock.cpp',
|
|
|
|
]
|
|
|
|
|
|
|
|
FINAL_LIBRARY = 'xul'
|
|
|
|
# For nsJSUtils
|
|
|
|
LOCAL_INCLUDES += [
|
2016-03-07 19:09:52 +03:00
|
|
|
'/docshell/base',
|
2014-08-20 21:27:17 +04:00
|
|
|
'/dom/base',
|
|
|
|
]
|
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']
|
2016-07-05 19:00:07 +03:00
|
|
|
|
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|