embedding/components/windowwatcher/moz.build
author Birunthan Mohanathas <birunthan@mohanathas.com>
Wed, 20 Aug 2014 10:27:17 -0700
changeset 210357 057489bb1a6934499c2f1b6048702867ae59ba84
parent 126869 5f4f68f0041964124afe3ee7012de446c946c2df
child 280013 c646a88160d7b65f755f4dcfa5dec8626a77bcd5
permissions -rw-r--r--
Bug 1054703 - Part 7: Flatten embedding/components/windowwatcher/{public,src}/ into parent directory. r=bsmedberg

# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
# 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/.

XPIDL_SOURCES += [
    'nsIDialogParamBlock.idl',
    'nsIPromptFactory.idl',
    'nsIPromptService.idl',
    'nsIPromptService2.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',
    ]

FAIL_ON_WARNINGS = True

FINAL_LIBRARY = 'xul'
# For nsJSUtils
LOCAL_INCLUDES += [
    '/dom/base',
]