dom/xbl/moz.build
author Eugen Sawin <esawin@mozilla.com>
Mon, 02 Dec 2019 23:11:32 +0000
changeset 563512 7fd12a78625c6f1725f64a42d7f4f8dbfeff7177
parent 556709 454b9be1b61388183b0c5b55d780507d845858dd
permissions -rw-r--r--
Bug 1592752 - [1.0] Conditionally check for storage clearing based on status of LSNG. r=snorp, a=test-only It looks like there is going to be a period of LSNG being disabled on some channels for a while. Making the test conditional on the pref will make it pass in all situations and would allow us to keep the test enabled. It doesn't help with the fact, that on some version we're clearing storage despite the flag not being set, but since it's clearing more, rather than less, it's at least not as critical in terms of privacy. Differential Revision: https://phabricator.services.mozilla.com/D55526

# -*- 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/.

with Files("**"):
    BUG_COMPONENT = ("Core", "XBL")

EXPORTS += [
    'nsBindingManager.h',
    'nsXBLBinding.h',
    'nsXBLPrototypeHandler.h',
    'nsXBLService.h',
]

EXPORTS.mozilla.dom += [
    'XBLChildrenElement.h',
]

UNIFIED_SOURCES += [
    'nsBindingManager.cpp',
    'nsXBLBinding.cpp',
    'nsXBLContentSink.cpp',
    'nsXBLDocumentInfo.cpp',
    'nsXBLEventHandler.cpp',
    'nsXBLProtoImpl.cpp',
    'nsXBLProtoImplField.cpp',
    'nsXBLProtoImplMethod.cpp',
    'nsXBLProtoImplProperty.cpp',
    'nsXBLPrototypeBinding.cpp',
    'nsXBLPrototypeHandler.cpp',
    'nsXBLSerialize.cpp',
    'nsXBLService.cpp',
    'XBLChildrenElement.cpp',
]

LOCAL_INCLUDES += [
    '/dom/base',
    '/dom/html',
    '/dom/xml',
    '/dom/xul',
    '/layout/style',
]

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

FINAL_LIBRARY = 'xul'

MOCHITEST_MANIFESTS += ['test/mochitest.ini']
MOCHITEST_CHROME_MANIFESTS += ['test/chrome.ini']

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