dom/reporting/moz.build
author Andrea Marchesini <amarchesini@mozilla.com>
Sat, 01 Dec 2018 21:26:09 +0100
changeset 505576 b8e709a8076fa6a5dfd68a045993e2650e124bf6
parent 505575 c435d7c0173e6b9bf699d80e370a657bdff248ed
child 505578 ad2c155ce3518b4304161897a850620aa8912291
permissions -rw-r--r--
Bug 1508310 - Implement Report-to header support - part 2 - Header parser gtest, r=smaug

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

EXPORTS.mozilla.dom = [
    'DeprecationReportBody.h',
    'FeaturePolicyViolationReportBody.h',
    'Report.h',
    'ReportBody.h',
    'ReportingHeader.h',
    'ReportingObserver.h',
    'ReportingUtils.h',
    'TestingDeprecatedInterface.h',
]

UNIFIED_SOURCES += [
    'DeprecationReportBody.cpp',
    'FeaturePolicyViolationReportBody.cpp',
    'Report.cpp',
    'ReportBody.cpp',
    'ReportingHeader.cpp',
    'ReportingObserver.cpp',
    'ReportingUtils.cpp',
    'TestingDeprecatedInterface.cpp',
]

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

with Files('**'):
    BUG_COMPONENT = ('DOM', 'Security')

FINAL_LIBRARY = 'xul'

MOCHITEST_MANIFESTS += ['tests/mochitest.ini']

TEST_DIRS += [ 'tests/gtest' ]