dom/webbrowserpersist/moz.build
author Julian Descottes <jdescottes@mozilla.com>
Fri, 18 Jan 2019 09:58:15 +0000
changeset 454417 3b442a1b227d70bb7c3d28b763588a8962e52ea8
parent 430282 a89f17d30427745d1755ad123babc2fbfde73a97
child 464713 f74e07af9897218f5af09cc0188e753e74ecb58d
permissions -rw-r--r--
Bug 1500378 - Migrate browser_addons_debug_webextension_nobg to new aboutdebugging;r=daisuke Differential Revision: https://phabricator.services.mozilla.com/D16917

# -*- Mode: python; 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/.

# moved from embedding/components/webbrowserpersist Jan 13, 2017
with Files("**"):
    BUG_COMPONENT = ("Core", "DOM")

XPIDL_SOURCES += [
    'nsIWebBrowserPersist.idl',
    'nsIWebBrowserPersistDocument.idl',
]

XPIDL_MODULE = 'webbrowserpersist'

IPDL_SOURCES += [
    'PWebBrowserPersistDocument.ipdl',
    'PWebBrowserPersistResources.ipdl',
    'PWebBrowserPersistSerialize.ipdl',
]

UNIFIED_SOURCES += [
    'nsWebBrowserPersist.cpp',
    'WebBrowserPersistDocumentChild.cpp',
    'WebBrowserPersistDocumentParent.cpp',
    'WebBrowserPersistLocalDocument.cpp',
    'WebBrowserPersistRemoteDocument.cpp',
    'WebBrowserPersistResourcesChild.cpp',
    'WebBrowserPersistResourcesParent.cpp',
    'WebBrowserPersistSerializeChild.cpp',
    'WebBrowserPersistSerializeParent.cpp',
]

EXPORTS.mozilla += [
    'WebBrowserPersistDocumentChild.h',
    'WebBrowserPersistDocumentParent.h',
    'WebBrowserPersistLocalDocument.h',
]

include('/ipc/chromium/chromium-config.mozbuild')

FINAL_LIBRARY = 'xul'
LOCAL_INCLUDES += [
    '/dom/base',
    '/dom/html',
]

if CONFIG['CC_TYPE'] in ('clang', 'gcc'):
    CXXFLAGS += ['-Wno-error=shadow']