moz.build (1520B)
1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*- 2 # vim: set filetype=python: 3 # This Source Code Form is subject to the terms of the Mozilla Public 4 # License, v. 2.0. If a copy of the MPL was not distributed with this 5 # file, You can obtain one at http://mozilla.org/MPL/2.0/. 6 7 EXPORTS.mozilla.dom = [ 8 "CrashReport.h", 9 "CSPViolationReportBody.h", 10 "DeprecationReportBody.h", 11 "EndpointForReportChild.h", 12 "EndpointForReportParent.h", 13 "FeaturePolicyViolationReportBody.h", 14 "Report.h", 15 "ReportBody.h", 16 "ReportDeliver.h", 17 "ReportingHeader.h", 18 "ReportingObserver.h", 19 "ReportingUtils.h", 20 "TestingDeprecatedInterface.h", 21 "TestReportBody.h", 22 "TestReportGenerator.h", 23 ] 24 25 UNIFIED_SOURCES += [ 26 "CrashReport.cpp", 27 "CSPViolationReportBody.cpp", 28 "DeprecationReportBody.cpp", 29 "EndpointForReportChild.cpp", 30 "EndpointForReportParent.cpp", 31 "FeaturePolicyViolationReportBody.cpp", 32 "Report.cpp", 33 "ReportBody.cpp", 34 "ReportDeliver.cpp", 35 "ReportingHeader.cpp", 36 "ReportingObserver.cpp", 37 "ReportingUtils.cpp", 38 "TestingDeprecatedInterface.cpp", 39 "TestReportBody.cpp", 40 "TestReportGenerator.cpp", 41 ] 42 43 IPDL_SOURCES += [ 44 "PEndpointForReport.ipdl", 45 ] 46 47 include("/ipc/chromium/chromium-config.mozbuild") 48 49 with Files("**"): 50 BUG_COMPONENT = ("Core", "DOM: Security") 51 52 FINAL_LIBRARY = "xul" 53 54 MOCHITEST_MANIFESTS += ["tests/mochitest.toml"] 55 BROWSER_CHROME_MANIFESTS += ["tests/browser.toml"] 56 57 TEST_DIRS += ["tests/gtest"]